K
- graph ID typeVV
- vertex value typeEV
- edge value typepublic interface Driver<K,VV,EV> extends Parameterized
GraphAlgorithm
s and/or
GraphAnalytic
s.
It is preferable to include multiple, overlapping algorithms/analytics in
the same driver both for simplicity and since this examples module
demonstrates Flink capabilities rather than absolute performance.Modifier and Type | Method and Description |
---|---|
String |
getLongDescription()
A multi-line description, presented in the algorithm usage.
|
String |
getShortDescription()
A one-line description, presented in the algorithm listing.
|
void |
plan(Graph<K,VV,EV> graph)
"Run" algorithms and analytics on the input graph.
|
configure, getName, getUsage
String getShortDescription()
String getLongDescription()
void plan(Graph<K,VV,EV> graph) throws Exception
graph
- input graphException
- on errorCopyright © 2014–2018 The Apache Software Foundation. All rights reserved.