K - key typeVV - vertex value typeEV - edge value typeT - the return typepublic interface GraphAnalytic<K,VV,EV,T>
GraphAnalytic is similar to a GraphAlgorithm but is terminal
and results are retrieved via accumulators. A Flink program has a single
point of execution. A GraphAnalytic defers execution to the user to
allow composing multiple analytics and algorithms into a single program.| 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.
|
T |
getResult()
This method must be called after the program has executed.
|
GraphAnalytic<K,VV,EV,T> |
run(Graph<K,VV,EV> input)
All
GraphAnalytic processing must be terminated by an
OutputFormat. |
T getResult()
T execute() throws Exception
ExceptionT execute(String jobName) throws Exception
jobName - the name to assign to the jobExceptionCopyright © 2014–2019 The Apache Software Foundation. All rights reserved.