K- graph ID type
VV- vertex value type
EV- edge value type
public class EdgeMetrics<K extends Comparable<K>,VV,EV> extends GraphAnalyticBase<K,VV,EV,EdgeMetrics.Result>
|Modifier and Type||Class and Description|
Wraps edge metrics.
|Constructor and Description|
|Modifier and Type||Method and Description|
This method must be called after the program has executed.
execute, execute, setParallelism
public EdgeMetrics<K,VV,EV> run(Graph<K,VV,EV> input) throws Exception
GraphAnalyticprocessing must be terminated by an
OutputFormat. Rather than obtained via accumulators rather than returned by a
GraphAnalytic<K extends Comparable<K>,VV,EV,EdgeMetrics.Result>
GraphAnalyticBase<K extends Comparable<K>,VV,EV,EdgeMetrics.Result>
input- input graph
public EdgeMetrics.Result getResult()
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.