public class EdgeModifierImpl<VID> extends GraphChangeSetImpl<VID> implements EdgeModifier<VID>
| Constructor and Description |
|---|
EdgeModifierImpl(GraphChangeSetImpl<VID> base, long id) |
EdgeModifierImpl(GraphChangeSetImpl<VID> base, long id, boolean isIgnored) |
| Modifier and Type | Method and Description |
|---|---|
long |
getId()
Gets the id of the element (vertex or edge) this builder belongs to
|
boolean |
isIgnored()
Whether this edge builder ignores method calls
true or if it performs calls as usual false. |
EdgeModifier<VID> |
setLabel(java.lang.String label)
Sets the new value of the label
|
EdgeModifier<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, buildNewSnapshotAsync, removeEdge, removeVertex, resetEdge, resetVertex, resetVertex, setAddExistingEdgePolicy, setAddExistingVertexPolicy, setInvalidChangePolicy, setRequiredConversionPolicy, toString, updateEdge, updateVertexaddEdge, addEdge, addVertex, build, build, buildAsync, buildAsync, getConfigParameter, getSession, setConfigParameterequals, getClass, hashCode, notify, notifyAll, wait, wait, waitaddEdge, addEdge, addVertex, addVertex, buildNewSnapshot, buildNewSnapshotAsync, removeEdge, removeVertex, resetEdge, resetVertex, resetVertex, setAddExistingEdgePolicy, setAddExistingVertexPolicy, setInvalidChangePolicy, setRequiredConversionPolicy, setRetainEdgeIds, setRetainIds, setRetainVertexIds, updateEdge, updateVertexaddEdge, addEdge, build, build, buildAsync, buildAsync, getConfigParameter, setConfigParameterpublic EdgeModifierImpl(GraphChangeSetImpl<VID> base, long id)
public EdgeModifierImpl(GraphChangeSetImpl<VID> base, long id, boolean isIgnored)
public long getId()
EdgeBuildergetId in interface EdgeBuilder<VID>public boolean isIgnored()
EdgeBuildertrue 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 edge builder object will be ignored.isIgnored in interface EdgeBuilder<VID>public EdgeModifier<VID> setLabel(java.lang.String label)
EdgeBuildersetLabel in interface EdgeBuilder<VID>setLabel in interface EdgeModifier<VID>label - the new value of the labelpublic EdgeModifier<VID> setProperty(java.lang.String key, java.lang.Object value)
EdgeBuilderkey to the given value. The first time this method is called, the type of value defines the type of the property.setProperty in interface EdgeBuilder<VID>setProperty in interface EdgeModifier<VID>key - the property keyvalue - the value of the vertex propertyCopyright © 2010, 2020 Oracle and/or its affiliates. All Rights Reserved.