public class GridGraph extends GeneratedGraph
GridGraph.parallelism| Constructor and Description |
|---|
GridGraph() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(org.apache.flink.api.java.utils.ParameterTool parameterTool)
Read parameter values from the command-line arguments.
|
org.apache.flink.graph.Graph<org.apache.flink.types.LongValue,org.apache.flink.types.NullValue,org.apache.flink.types.NullValue> |
create(org.apache.flink.api.java.ExecutionEnvironment env)
Create the input
Graph. |
String |
getIdentity()
A human-readable identifier summarizing the input and configuration.
|
String |
getUsage()
Human-readable format for the command-line usage string.
|
protected long |
vertexCount()
The vertex count is verified to be no greater than the capacity of the selected data type.
|
getTransformersaddParameterpublic String getUsage()
ParameterizedgetUsage in interface ParameterizedgetUsage in class ParameterizedBasepublic void configure(org.apache.flink.api.java.utils.ParameterTool parameterTool)
throws org.apache.flink.client.program.ProgramParametrizationException
Parameterizedconfigure in interface Parameterizedconfigure in class ParameterizedBaseparameterTool - parameter parserorg.apache.flink.client.program.ProgramParametrizationException - when configuration is invalidpublic String getIdentity()
Inputprotected long vertexCount()
GeneratedGraphvertexCount in class GeneratedGraphpublic org.apache.flink.graph.Graph<org.apache.flink.types.LongValue,org.apache.flink.types.NullValue,org.apache.flink.types.NullValue> create(org.apache.flink.api.java.ExecutionEnvironment env)
InputGraph.env - the ExecutionEnvironmentCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.