K - graph ID typeVV - vertex value typeEV - edge value typepublic class AverageClusteringCoefficient<K extends Comparable<K> & org.apache.flink.types.CopyableValue<K>,VV,EV> extends GraphAnalyticBase<K,VV,EV,AverageClusteringCoefficient.Result>
| Modifier and Type | Class and Description |
|---|---|
static class |
AverageClusteringCoefficient.Result
Wraps global clustering coefficient metrics.
|
env, parallelism| Constructor and Description |
|---|
AverageClusteringCoefficient() |
| Modifier and Type | Method and Description |
|---|---|
AverageClusteringCoefficient.Result |
getResult()
This method must be called after the program has executed.
|
AverageClusteringCoefficient<K,VV,EV> |
run(Graph<K,VV,EV> input)
All
GraphAnalytic processing must be terminated by an
OutputFormat. |
execute, execute, setParallelismpublic AverageClusteringCoefficient<K,VV,EV> run(Graph<K,VV,EV> input) throws Exception
GraphAnalyticGraphAnalytic processing must be terminated by an
OutputFormat. Rather than obtained via accumulators rather than
returned by a DataSet.run in interface GraphAnalytic<K extends Comparable<K> & org.apache.flink.types.CopyableValue<K>,VV,EV,AverageClusteringCoefficient.Result>run in class GraphAnalyticBase<K extends Comparable<K> & org.apache.flink.types.CopyableValue<K>,VV,EV,AverageClusteringCoefficient.Result>input - input graphExceptionpublic AverageClusteringCoefficient.Result getResult()
GraphAnalyticCopyright © 2014–2019 The Apache Software Foundation. All rights reserved.