public class EmptyGraph extends AbstractGraphGenerator<LongValue,NullValue,NullValue>
parallelism
Constructor and Description |
---|
EmptyGraph(ExecutionEnvironment env,
long vertexCount)
The
Graph containing no edges. |
Modifier and Type | Method and Description |
---|---|
Graph<LongValue,NullValue,NullValue> |
generate()
Generates the configured graph.
|
setParallelism
public EmptyGraph(ExecutionEnvironment env, long vertexCount)
Graph
containing no edges.env
- the Flink execution environmentvertexCount
- number of verticespublic Graph<LongValue,NullValue,NullValue> generate()
GraphGenerator
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.