public abstract class EdgeBuilderBase extends ElementBuilder<Edge> implements EdgeMutation
DEFAULT_KEY| Modifier | Constructor and Description |
|---|---|
protected |
EdgeBuilderBase(String edgeId,
String label,
Visibility visibility) |
| Modifier and Type | Method and Description |
|---|---|
EdgeMutation |
alterEdgeLabel(String newEdgeLabel) |
long |
getAlterEdgeLabelTimestamp() |
String |
getEdgeId() |
abstract String |
getInVertexId() |
String |
getLabel() |
String |
getNewEdgeLabel() |
abstract String |
getOutVertexId() |
Visibility |
getVisibility() |
boolean |
hasChanges()
true, if this mutation has any changes.
|
abstract Edge |
save(Authorizations authorizations)
Save the edge along with any properties that were set to the graph.
|
addPropertyValue, addPropertyValue, addPropertyValue, deleteProperty, deleteProperty, deleteProperty, getIndexHint, getProperties, getPropertyDeletes, getPropertySoftDeletes, setIndexHint, setProperty, setProperty, softDeleteProperty, softDeleteProperty, softDeletePropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddPropertyValue, addPropertyValue, addPropertyValue, deleteProperty, deleteProperty, deleteProperty, getIndexHint, getProperties, getPropertyDeletes, getPropertySoftDeletes, setIndexHint, setProperty, setProperty, softDeleteProperty, softDeleteProperty, softDeletePropertyprotected EdgeBuilderBase(String edgeId, String label, Visibility visibility)
public String getEdgeId()
public String getLabel()
public long getAlterEdgeLabelTimestamp()
getAlterEdgeLabelTimestamp in interface EdgeMutationpublic Visibility getVisibility()
public EdgeMutation alterEdgeLabel(String newEdgeLabel)
alterEdgeLabel in interface EdgeMutationpublic String getNewEdgeLabel()
getNewEdgeLabel in interface EdgeMutationpublic abstract Edge save(Authorizations authorizations)
save in interface ElementMutation<Edge>save in class ElementBuilder<Edge>public abstract String getOutVertexId()
public abstract String getInVertexId()
public boolean hasChanges()
ElementMutationhasChanges in interface ElementMutation<Edge>hasChanges in class ElementBuilder<Edge>Copyright © 2014–2017. All rights reserved.