public class InMemoryEdge extends InMemoryElement<InMemoryEdge> implements Edge
IN_OR_OUT_VERTEX_ID_PROPERTY_NAME, IN_VERTEX_ID_PROPERTY_NAME, IN_VERTEX_TYPE_PROPERTY_NAME, LABEL_PROPERTY_NAME, OUT_VERTEX_ID_PROPERTY_NAME, OUT_VERTEX_TYPE_PROPERTY_NAMEID_PROPERTY_NAME| Constructor and Description |
|---|
InMemoryEdge(InMemoryGraph graph,
String id,
InMemoryTableEdge inMemoryTableElement,
FetchHints fetchHints,
Long endTime,
Authorizations authorizations) |
| Modifier and Type | Method and Description |
|---|---|
String |
getLabel()
The edge label.
|
String |
getOtherVertexId(String myVertexId)
Given a vertexId that represents one side of a relationship, get me the id of the other side.
|
Vertex |
getVertex(Direction direction,
Authorizations authorizations)
Get the attach vertex on either side of the edge.
|
String |
getVertexId(Direction direction)
Get the attach vertex id on either side of the edge.
|
EdgeVertices |
getVertices(FetchHints fetchHints,
Authorizations authorizations)
Gets both in and out vertices of this edge.
|
ExistingEdgeMutation |
prepareMutation()
Prepares a mutation to allow changing multiple property values at the same time.
|
addPropertyValue, canRead, deleteProperty, extendedData, getAuthorizations, getEndTime, getExtendedData, getExtendedDataTableNames, getFetchHints, getGraph, getHiddenVisibilities, getHistoricalPropertyValues, getId, getInMemoryTableElement, getProperties, getPropertyValue, getPropertyValue, getTimestamp, getVisibility, isHidden, markPropertyHidden, markPropertyVisible, markPropertyVisible, saveExistingElementMutation, setInMemoryTableElement, softDeleteProperty, softDeleteProperty, updatePropertiesInternalequals, getEdgeLabelProperty, getElementIdProperty, getElementTypeProperty, getIdProperty, getInOrOutVertexIdProperty, getInVertexIdProperty, getOutVertexIdProperty, getProperties, getProperties, getProperty, getProperty, getReservedProperty, getRowIdProperty, getTableNameProperty, hashCode, internalGetProperties, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetElementType, getOtherVertex, getOtherVertex, getVertex, getVertexType, getVerticesaddPropertyValue, addPropertyValue, compareTo, deleteProperties, deleteProperty, deleteProperty, deleteProperty, getAuthorizations, getEndTime, getExtendedData, getExtendedData, getExtendedData, getExtendedData, getExtendedDataTableNames, getFetchHints, getGraph, getHiddenVisibilities, getHistoricalPropertyValues, getHistoricalPropertyValues, getHistoricalPropertyValues, getHistoricalPropertyValues, getTimestamp, getVisibility, isHidden, markPropertyHidden, markPropertyHidden, markPropertyHidden, markPropertyHidden, markPropertyVisible, markPropertyVisible, markPropertyVisible, markPropertyVisible, setProperty, setProperty, softDeleteProperties, softDeleteProperty, softDeletePropertygetId, getProperties, getProperties, getProperties, getProperty, getProperty, getProperty, getProperty, getPropertyValue, getPropertyValue, getPropertyValue, getPropertyValue, getPropertyValues, getPropertyValuesedge, vertexpublic InMemoryEdge(InMemoryGraph graph, String id, InMemoryTableEdge inMemoryTableElement, FetchHints fetchHints, Long endTime, Authorizations authorizations)
public String getLabel()
EdgegetLabel in interface EdgegetLabel in interface EdgeElementLocationpublic String getVertexId(Direction direction)
EdgegetVertexId in interface EdgegetVertexId in interface EdgeElementLocationdirection - The side of the edge to get the vertex id from (IN or OUT).public Vertex getVertex(Direction direction, Authorizations authorizations)
Edgepublic String getOtherVertexId(String myVertexId)
EdgegetOtherVertexId in interface Edgepublic EdgeVertices getVertices(FetchHints fetchHints, Authorizations authorizations)
EdgegetVertices in interface Edgepublic ExistingEdgeMutation prepareMutation()
ElementprepareMutation in interface EdgeprepareMutation in interface ElementprepareMutation in class InMemoryElement<InMemoryEdge>Copyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.