VID
- the vertex ID typepublic interface EdgeBuilder<VID> extends GraphBuilder<VID>
GraphBuilderImpl
.GraphBuilderImpl
Modifier and Type | Method and Description |
---|---|
long |
getId()
Gets the id of the element (vertex or edge) this builder belongs to
|
EdgeBuilder<VID> |
setLabel(java.lang.String label)
Sets the new value of the label
|
EdgeBuilder<VID> |
setProperty(java.lang.String key, java.lang.Object value)
Sets the property value of this edge with the given
key to the given value . |
addEdge, addEdge, addVertex, build, build, buildAsync, buildAsync, resetEdge, resetVertex, resetVertex
long getId()
EdgeBuilder<VID> setLabel(java.lang.String label)
label
- the new value of the labelEdgeBuilder<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 propertyCopyright © 2016, 2017 Oracle Corp. All Rights Reserved.