public class StorableEdge extends StorableElement implements Edge
| Modifier and Type | Field and Description |
|---|---|
static String |
CF_IN_VERTEX |
static String |
CF_OUT_VERTEX |
static String |
CF_SIGNAL |
protected String |
inVertexId |
protected String |
label |
protected String |
newEdgeLabel |
protected String |
outVertexId |
authorizations, CF_EXTENDED_DATA, CF_HIDDEN, CF_PROPERTY, CF_PROPERTY_HIDDEN, CF_PROPERTY_METADATA, CF_PROPERTY_SOFT_DELETE, CF_PROPERTY_VISIBLE, CF_SOFT_DELETE, CQ_HIDDEN, CQ_SOFT_DELETE, DELETE_ROW_COLUMN_FAMILY, DELETE_ROW_COLUMN_QUALIFIER, extendedDataTableNames, fetchHints, graph, HIDDEN_VALUE, HIDDEN_VALUE_DELETED, hiddenPropertyMarkers, hiddenVisibilities, id, METADATA_COLUMN_FAMILY, METADATA_COLUMN_QUALIFIER, properties, propertyDeleteMutations, propertySoftDeleteMutations, SOFT_DELETE_VALUE, softDeletedProperties, softDeleteTimestamp, storableProperties, storablePropertyMetadatas, timestamp, visibility, visiblePropertyMarkersIN_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 |
|---|
StorableEdge(StorableGraph graph,
String id,
String outVertexId,
String inVertexId,
String label,
String newEdgeLabel,
Visibility visibility,
Iterable<Property> properties,
Iterable<PropertyDeleteMutation> propertyDeleteMutations,
Iterable<PropertySoftDeleteMutation> propertySoftDeleteMutations,
Iterable<Visibility> hiddenVisibilities,
com.google.common.collect.ImmutableSet<String> extendedDataTableNames,
long timestamp,
FetchHints fetchHints,
Authorizations authorizations) |
| Modifier and Type | Method and Description |
|---|---|
String |
getLabel()
The edge label.
|
String |
getNewEdgeLabel() |
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.
|
ExistingEdgeMutation |
prepareMutation()
Prepares a mutation to allow changing multiple property values at the same time.
|
protected void |
setLabel(String label) |
addPropertyInternal, deleteProperty, equals, getAuthorizations, getExtendedData, getExtendedDataTableNames, getFetchHints, getGraph, getHiddenVisibilities, getHistoricalPropertyValues, getId, getProperties, getProperties, getProperty, getPropertyDeleteMutations, getPropertySoftDeleteMutations, getPropertyValue, getPropertyValue, getTimestamp, getVisibility, hashCode, internalGetProperties, markPropertyHidden, markPropertyVisible, removePropertyInternal, saveExistingElementMutation, setVisibility, softDeleteProperties, softDeleteProperty, toString, updatePropertiesInternalgetEdgeLabelProperty, getElementIdProperty, getElementTypeProperty, getIdProperty, getInOrOutVertexIdProperty, getInVertexIdProperty, getOutVertexIdProperty, getProperties, getProperty, getProperty, getReservedProperty, getRowIdProperty, getTableNamePropertyclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetElementType, getOtherVertex, getOtherVertex, getVertex, getVertexType, getVertices, 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 static final String CF_SIGNAL
public static final String CF_OUT_VERTEX
public static final String CF_IN_VERTEX
protected String outVertexId
protected String inVertexId
protected String label
protected String newEdgeLabel
public StorableEdge(StorableGraph graph, String id, String outVertexId, String inVertexId, String label, String newEdgeLabel, Visibility visibility, Iterable<Property> properties, Iterable<PropertyDeleteMutation> propertyDeleteMutations, Iterable<PropertySoftDeleteMutation> propertySoftDeleteMutations, Iterable<Visibility> hiddenVisibilities, com.google.common.collect.ImmutableSet<String> extendedDataTableNames, long timestamp, FetchHints fetchHints, Authorizations authorizations)
public String getNewEdgeLabel()
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 ExistingEdgeMutation prepareMutation()
ElementprepareMutation in interface EdgeprepareMutation in interface ElementprepareMutation in class StorableElementprotected void setLabel(String label)
Copyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.