Package oracle.pgx.api
Interface VertexModifier<VID>
- All Superinterfaces:
GraphBuilder<VID>,GraphChangeSet<VID>,VertexBuilder<VID>
- All Known Implementing Classes:
VertexModifierImpl
-
Method Summary
Modifier and TypeMethodDescriptionAdds the given label to this vertexgetId()Gets the id of the element (vertex or edge) this builder belongs toremoveLabel(String label) Removes the given label from the vertex.setProperty(String key, Object value) Sets the property value of this vertex with the givenkeyto the givenvalue.Methods inherited from interface oracle.pgx.api.GraphBuilder
addEdge, addEdge, build, build, buildAsync, buildAsync, getConfigParameter, partitionedEdgeIds, partitionedVertexIds, setDataSourceVersion, setEdgeIdGenerationStrategy, setRetainEdgeIds, setRetainVertexIds, setVertexIdGenerationStrategyMethods inherited from interface oracle.pgx.api.GraphChangeSet
addEdge, addEdge, addEdge, addEdge, addVertex, addVertex, buildNewSnapshot, buildNewSnapshotAsync, getEdgeChangeType, getVertexChangeType, removeEdge, removeEdge, removeVertex, resetEdge, resetEdge, resetVertex, resetVertex, setAddExistingEdgePolicy, setAddExistingVertexPolicy, setInvalidChangePolicy, setRequiredConversionPolicy, setRetainIds, updateEdge, updateEdge, updateVertexMethods inherited from interface oracle.pgx.api.VertexBuilder
isIgnored
-
Method Details
-
removeLabel
Removes the given label from the vertex.- Parameters:
label- the label value to remove- Returns:
- this vertex modifier
-
setProperty
Description copied from interface:VertexBuilderSets the property value of this vertex with the givenkeyto the givenvalue. The first time this method is called, the type ofvaluedefines the type of the property.- Specified by:
setPropertyin interfaceVertexBuilder<VID>- Parameters:
key- the property keyvalue- the value of the vertex property- Returns:
- this vertex builder
-
addLabel
Description copied from interface:VertexBuilderAdds the given label to this vertex- Specified by:
addLabelin interfaceVertexBuilder<VID>- Parameters:
label- the label to be added- Returns:
- this vertex builder
-
getId
VID getId()Description copied from interface:VertexBuilderGets the id of the element (vertex or edge) this builder belongs to- Specified by:
getIdin interfaceVertexBuilder<VID>- Returns:
- the id of the element
-