K
- key typeVV
- vertex value typeEV
- edge value typeT
- the return typepublic abstract class AbstractGraphAnalytic<K,VV,EV,T> extends Object implements GraphAnalytic<K,VV,EV,T>
GraphAnalytic
.Modifier and Type | Field and Description |
---|---|
protected ExecutionEnvironment |
env |
Constructor and Description |
---|
AbstractGraphAnalytic() |
Modifier and Type | Method and Description |
---|---|
T |
execute()
Execute the program and return the result.
|
T |
execute(String jobName)
Execute the program and return the result.
|
GraphAnalytic<K,VV,EV,T> |
run(Graph<K,VV,EV> input)
All
GraphAnalytic processing must be terminated by an
OutputFormat . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getResult
protected ExecutionEnvironment env
public GraphAnalytic<K,VV,EV,T> run(Graph<K,VV,EV> input) throws Exception
GraphAnalytic
GraphAnalytic
processing must be terminated by an
OutputFormat
. Rather than obtained via accumulators rather than
returned by a DataSet
.public T execute() throws Exception
GraphAnalytic
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.