Package oracle.pgx.api.graphbuilder
Class EdgeModifierImpl<VID>
java.lang.Object
oracle.pgx.api.internal.ApiObject
oracle.pgx.api.GraphBuilderImpl<VID>
oracle.pgx.api.GraphChangeSetImpl<VID>
oracle.pgx.api.graphbuilder.EdgeModifierImpl<VID>
- All Implemented Interfaces:
EdgeBuilder<VID>,EdgeModifier<VID>,GraphBuilder<VID>,GraphChangeSet<VID>
-
Constructor Summary
ConstructorsConstructorDescriptionEdgeModifierImpl(GraphChangeSetImpl<VID> base, Object id) EdgeModifierImpl(GraphChangeSetImpl<VID> base, Object id, boolean isIgnored) -
Method Summary
Modifier and TypeMethodDescriptionlonggetId()Gets the id of the element (vertex or edge) this builder belongs tobooleanWhether this edge builder ignores method callstrueor if it performs calls as usualfalse.Sets the new value of the labelsetProperty(String key, Object value) Sets the property value of this edge with the givenkeyto the givenvalue.Methods inherited from class oracle.pgx.api.GraphChangeSetImpl
addEdge, addEdge, addEdge, addVertex, buildNewSnapshotAsync, getEdgeChangeType, getVertexChangeType, partitionedEdgeIds, partitionedVertexIds, removeEdge, removeEdge, removeVertex, resetEdge, resetEdge, resetVertex, resetVertex, setAddExistingEdgePolicy, setAddExistingVertexPolicy, setInvalidChangePolicy, setRequiredConversionPolicy, toString, updateEdge, updateEdge, updateVertexMethods inherited from class oracle.pgx.api.GraphBuilderImpl
addEdge, addEdge, addEdge, addVertex, build, build, buildAsync, buildAsync, getConfigParameter, getSession, isGraphBuilderConfigFinalized, setConfigParameter, setDataSourceVersion, setEdgeIdGenerationStrategy, setRetainEdgeIds, setRetainVertexIds, setVertexIdGenerationStrategyMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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, updateVertex
-
Constructor Details
-
EdgeModifierImpl
-
EdgeModifierImpl
-
-
Method Details
-
isIgnored
public boolean isIgnored()Description copied from interface:EdgeBuilderWhether this edge builder ignores method callstrueor if it performs calls as usualfalse. Some issues, such as incompatible changes in a ChangeSet, can be configured to be ignored. In that case, additional method calls on the returned edge builder object will be ignored.- Specified by:
isIgnoredin interfaceEdgeBuilder<VID>- Returns:
- whether method calls are ignored
-
setProperty
Description copied from interface:EdgeBuilderSets the property value of this edge with the givenkeyto the givenvalue. The first time this method is called, the type ofvaluedefines the type of the property.- Specified by:
setPropertyin interfaceEdgeBuilder<VID>- Specified by:
setPropertyin interfaceEdgeModifier<VID>- Parameters:
key- the property keyvalue- the value of the vertex property- Returns:
- this vertex builder
-
setLabel
Description copied from interface:EdgeBuilderSets the new value of the label- Specified by:
setLabelin interfaceEdgeBuilder<VID>- Specified by:
setLabelin interfaceEdgeModifier<VID>- Parameters:
label- the new value of the label- Returns:
- this edge builder
-
getId
public long getId()Description copied from interface:EdgeBuilderGets the id of the element (vertex or edge) this builder belongs to- Specified by:
getIdin interfaceEdgeBuilder<VID>- Returns:
- the id of the element
-