public class EmptyGraph extends GraphGeneratorBase<LongValue,NullValue,NullValue>
Modifier and Type | Field and Description |
---|---|
static int |
MINIMUM_VERTEX_COUNT |
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 static final int MINIMUM_VERTEX_COUNT
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–2021 The Apache Software Foundation. All rights reserved.