public interface Edge extends Element, EdgeElementLocation
| Modifier and Type | Field and Description |
|---|---|
static String |
IN_OR_OUT_VERTEX_ID_PROPERTY_NAME
Meta property name used for queries.
|
static String |
IN_VERTEX_ID_PROPERTY_NAME
Meta property name used for queries, sorting, and aggregations
|
static String |
IN_VERTEX_TYPE_PROPERTY_NAME
Meta property name used for queries, sorting, and aggregations
|
static String |
LABEL_PROPERTY_NAME
Meta property name used for queries, sorting, and aggregations
|
static String |
OUT_VERTEX_ID_PROPERTY_NAME
Meta property name used for queries, sorting, and aggregations
|
static String |
OUT_VERTEX_TYPE_PROPERTY_NAME
Meta property name used for queries, sorting, and aggregations
|
ID_PROPERTY_NAME| Modifier and Type | Method and Description |
|---|---|
default ElementType |
getElementType()
Get the type of the element
|
String |
getLabel()
The edge label.
|
default Vertex |
getOtherVertex(String myVertexId,
Authorizations authorizations)
Given a vertexId that represents one side of a relationship, get me the vertex of the other side.
|
default Vertex |
getOtherVertex(String myVertexId,
FetchHints fetchHints,
Authorizations authorizations)
Given a vertexId that represents one side of a relationship, get me the vertex of the other side.
|
String |
getOtherVertexId(String myVertexId)
Given a vertexId that represents one side of a relationship, get me the id of the other side.
|
default Vertex |
getVertex(Direction direction,
Authorizations authorizations)
Get the attach vertex on either side of the edge.
|
default Vertex |
getVertex(Direction direction,
FetchHints fetchHints,
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.
|
default String |
getVertexType(Direction direction,
Authorizations authorizations) |
default EdgeVertices |
getVertices(Authorizations authorizations)
Gets both in and out vertices of this edge.
|
default 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, 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, vertexstatic final String LABEL_PROPERTY_NAME
static final String OUT_VERTEX_ID_PROPERTY_NAME
static final String OUT_VERTEX_TYPE_PROPERTY_NAME
static final String IN_VERTEX_ID_PROPERTY_NAME
static final String IN_VERTEX_TYPE_PROPERTY_NAME
static final String IN_OR_OUT_VERTEX_ID_PROPERTY_NAME
String getLabel()
getLabel in interface EdgeElementLocationString getVertexId(Direction direction)
getVertexId in interface EdgeElementLocationdirection - The side of the edge to get the vertex id from (IN or OUT).default Vertex getVertex(Direction direction, Authorizations authorizations)
direction - The side of the edge to get the vertex from (IN or OUT).default String getVertexType(Direction direction, Authorizations authorizations)
default Vertex getVertex(Direction direction, FetchHints fetchHints, Authorizations authorizations)
direction - The side of the edge to get the vertex from (IN or OUT).fetchHints - Hint on what should be fetched from the datastore.String getOtherVertexId(String myVertexId)
default Vertex getOtherVertex(String myVertexId, Authorizations authorizations)
default Vertex getOtherVertex(String myVertexId, FetchHints fetchHints, Authorizations authorizations)
default EdgeVertices getVertices(Authorizations authorizations)
default EdgeVertices getVertices(FetchHints fetchHints, Authorizations authorizations)
ExistingEdgeMutation prepareMutation()
prepareMutation in interface Elementdefault ElementType getElementType()
ElementIdgetElementType in interface ElementIdCopyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.