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>
public class EdgeModifierImpl<VID> extends GraphChangeSetImpl<VID> implements EdgeModifier<VID>
-
-
Constructor Summary
Constructors Constructor Description EdgeModifierImpl(GraphChangeSetImpl<VID> base, java.lang.Object id)EdgeModifierImpl(GraphChangeSetImpl<VID> base, java.lang.Object id, boolean isIgnored)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetId()Gets the id of the element (vertex or edge) this builder belongs tobooleanisIgnored()Whether this edge builder ignores method callstrueor if it performs calls as usualfalse.EdgeModifier<VID>setLabel(java.lang.String label)Sets the new value of the labelEdgeModifier<VID>setProperty(java.lang.String key, java.lang.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, removeEdge, removeEdge, removeVertex, resetEdge, resetEdge, resetVertex, resetVertex, setAddExistingEdgePolicy, setAddExistingVertexPolicy, setInvalidChangePolicy, setRequiredConversionPolicy, toString, updateEdge, updateEdge, updateVertex
-
Methods inherited from class oracle.pgx.api.GraphBuilderImpl
addEdge, addEdge, addEdge, addVertex, build, build, buildAsync, buildAsync, getConfigParameter, getSession, setConfigParameter, setDataSourceVersion
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface oracle.pgx.api.GraphBuilder
addEdge, addEdge, build, build, buildAsync, buildAsync, getConfigParameter, setConfigParameter, setDataSourceVersion
-
Methods 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, setRetainEdgeIds, setRetainIds, setRetainVertexIds, updateEdge, updateEdge, updateVertex
-
-
-
-
Constructor Detail
-
EdgeModifierImpl
public EdgeModifierImpl(GraphChangeSetImpl<VID> base, java.lang.Object id)
-
EdgeModifierImpl
public EdgeModifierImpl(GraphChangeSetImpl<VID> base, java.lang.Object id, boolean isIgnored)
-
-
Method Detail
-
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
public EdgeModifier<VID> setProperty(java.lang.String key, java.lang.Object value)
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
public EdgeModifier<VID> setLabel(java.lang.String label)
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
-
-