| Constructor and Description |
|---|
Builder(int vertexCount,
int edgeCount) |
| Modifier and Type | Method and Description |
|---|---|
Schema |
build()
Construct a
GraphGenerator with this Builder's
settings. |
Schema.Builder |
setEdgeCount(int edgeCount)
Set the number of edges to create for each edge label.
|
Schema.Builder |
setEdgeLabels(int edgeLabels)
Set the total number of edge labels to create.
|
Schema.Builder |
setEdgePropKeys(int edgePropKeys)
Set the total number of distinct property keys to use for edge
properties.
|
Schema.Builder |
setMaxEdgePropVal(int m)
Set the maximum value of edge properties.
|
Schema.Builder |
setMaxVertexPropVal(int m)
Set the maximum value of vertex properties.
|
Schema.Builder |
setVertexCount(int vertexCount)
Set the number of vertices to create.
|
Schema.Builder |
setVertexPropKeys(int vertexPropKeys)
Set the total number of distinct property keys to use for vertex
properties.
|
public Schema.Builder setMaxVertexPropVal(int m)
m - maximum vertex property value, exclusivepublic Schema.Builder setMaxEdgePropVal(int m)
m - maximum edge property value, exclusivepublic Schema.Builder setVertexPropKeys(int vertexPropKeys)
vertexPropKeys - number of property keyspublic Schema.Builder setEdgePropKeys(int edgePropKeys)
edgePropKeys - number of property keyspublic Schema.Builder setEdgeLabels(int edgeLabels)
edgeLabels - number of edge labelspublic Schema.Builder setVertexCount(int vertexCount)
vertexCount - global vertex totalpublic Schema.Builder setEdgeCount(int edgeCount)
edgeCount - global edge total for each labelpublic Schema build()
GraphGenerator with this Builder's
settings.Copyright © 2012–2016. All rights reserved.