VID
- the vertex ID typepublic interface VertexBuilder<VID> extends GraphBuilder<VID>
GraphBuilderImpl
.GraphBuilderImpl
Modifier and Type | Method and Description |
---|---|
VertexBuilder<VID> |
addLabel(java.lang.String label)
Adds the given label to this vertex
|
VID |
getId()
Gets the id of the element (vertex or edge) this builder belongs to
|
boolean |
isIgnored()
Whether this vertex builder ignores method calls
true or if it performs calls as usual false . |
VertexBuilder<VID> |
setProperty(java.lang.String key, java.lang.Object value)
Sets the property value of this vertex with the given
key to the given value . |
addEdge, addEdge, addEdge, addEdge, addVertex, addVertex, build, build, buildAsync, buildAsync, getConfigParameter, resetEdge, resetVertex, resetVertex, setConfigParameter, setDataSourceVersion, setRetainEdgeIds, setRetainIds, setRetainVertexIds
VertexBuilder<VID> addLabel(java.lang.String label)
label
- the label to be addedVID getId()
boolean isIgnored()
true
or if it performs calls as usual false
. Some issues, such as incompatible changes in a changeset, can be configured to be ignored. In that case, additional method calls on the returned vertex builder object will be ignored.VertexBuilder<VID> setProperty(java.lang.String key, java.lang.Object value)
key
to the given value
. The first time this method is called, the type of value
defines the type of the property.key
- the property keyvalue
- the value of the vertex property