public class StandardVertexLabelMaker extends Object implements VertexLabelMaker
| Constructor and Description |
|---|
StandardVertexLabelMaker(StandardTitanTx tx) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Returns the name of the to-be-build vertex label
|
VertexLabel |
make()
Creates a
VertexLabel according to the specifications of this builder. |
StandardVertexLabelMaker |
name(String name) |
StandardVertexLabelMaker |
partition()
Enables partitioning for this vertex label.
|
StandardVertexLabelMaker |
setStatic()
Makes this vertex label static, which means that vertices of this label cannot be modified outside of the transaction
in which they were created.
|
public StandardVertexLabelMaker(StandardTitanTx tx)
public StandardVertexLabelMaker name(String name)
public String getName()
VertexLabelMakergetName in interface VertexLabelMakerpublic StandardVertexLabelMaker partition()
VertexLabelMakerpartition in interface VertexLabelMakerpublic StandardVertexLabelMaker setStatic()
VertexLabelMakersetStatic in interface VertexLabelMakerpublic VertexLabel make()
VertexLabelMakerVertexLabel according to the specifications of this builder.make in interface VertexLabelMakerCopyright © 2012–2015. All rights reserved.