public class AccumuloEdge extends AccumuloElement implements Edge
| Modifier and Type | Field and Description |
|---|---|
static org.apache.hadoop.io.Text |
CF_IN_VERTEX |
static org.apache.hadoop.io.Text |
CF_OUT_VERTEX |
static org.apache.hadoop.io.Text |
CF_SIGNAL |
CF_EXTENDED_DATA, CF_HIDDEN, CF_PROPERTY, CF_PROPERTY_HIDDEN, CF_PROPERTY_METADATA, CF_PROPERTY_SOFT_DELETE, CF_SOFT_DELETE, CQ_HIDDEN, CQ_SOFT_DELETE, DELETE_ROW_COLUMN_FAMILY, DELETE_ROW_COLUMN_QUALIFIER, HIDDEN_VALUE, HIDDEN_VALUE_DELETED, METADATA_COLUMN_FAMILY, METADATA_COLUMN_QUALIFIER, SOFT_DELETE_VALUELABEL_PROPERTY_NAMEID_PROPERTY_NAME| Constructor and Description |
|---|
AccumuloEdge(Graph 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,
EnumSet<FetchHint> fetchHints,
Authorizations authorizations) |
| Modifier and Type | Method and Description |
|---|---|
static Edge |
createFromIteratorValue(AccumuloGraph graph,
org.apache.accumulo.core.data.Key key,
org.apache.accumulo.core.data.Value value,
EnumSet<FetchHint> fetchHints,
Authorizations authorizations) |
String |
getLabel() |
Vertex |
getOtherVertex(String myVertexId,
Authorizations authorizations) |
Vertex |
getOtherVertex(String myVertexId,
EnumSet<FetchHint> fetchHints,
Authorizations authorizations) |
String |
getOtherVertexId(String myVertexId) |
Vertex |
getVertex(Direction direction,
Authorizations authorizations) |
Vertex |
getVertex(Direction direction,
EnumSet<FetchHint> fetchHints,
Authorizations authorizations) |
String |
getVertexId(Direction direction) |
EdgeVertices |
getVertices(Authorizations authorizations) |
EdgeVertices |
getVertices(EnumSet<FetchHint> fetchHints,
Authorizations authorizations) |
ExistingEdgeMutation |
prepareMutation() |
deleteProperties, deleteProperty, deleteProperty, getExtendedData, getGraph, getHistoricalPropertyValues, markPropertyHidden, markPropertyVisible, saveExistingElementMutation, setVisibility, softDeleteProperties, softDeleteProperty, softDeletePropertyaddPropertyInternal, addPropertyValue, addPropertyValue, equals, getAuthorizations, getEdgeLabelProperty, getExtendedDataTableNames, getFetchHints, getHiddenVisibilities, getHistoricalPropertyValues, getHistoricalPropertyValues, getHistoricalPropertyValues, getId, getIdProperty, getProperties, getProperties, getProperties, getProperty, getProperty, getProperty, getProperty, getPropertyDeleteMutations, getPropertySoftDeleteMutations, getPropertyValue, getPropertyValue, getPropertyValue, getPropertyValue, getPropertyValues, getPropertyValues, getTimestamp, getVisibility, hashCode, isHidden, markPropertyHidden, markPropertyHidden, markPropertyHidden, markPropertyVisible, markPropertyVisible, markPropertyVisible, mergeProperties, removePropertyInternal, removePropertyInternal, removePropertyInternal, setProperty, setProperty, softDeletePropertyInternal, softDeletePropertyInternal, toString, updatePropertiesInternalclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddPropertyValue, addPropertyValue, compareTo, deleteProperties, deleteProperty, deleteProperty, getAuthorizations, getExtendedData, getExtendedDataTableNames, getFetchHints, getGraph, getHiddenVisibilities, getHistoricalPropertyValues, getHistoricalPropertyValues, getHistoricalPropertyValues, getHistoricalPropertyValues, getId, getTimestamp, getVisibility, isHidden, markPropertyHidden, markPropertyHidden, markPropertyHidden, markPropertyHidden, markPropertyVisible, markPropertyVisible, markPropertyVisible, markPropertyVisible, mergeProperties, setProperty, setProperty, softDeleteProperties, softDeleteProperty, softDeletePropertygetProperties, getProperties, getProperties, getProperty, getProperty, getProperty, getProperty, getPropertyValue, getPropertyValue, getPropertyValue, getPropertyValue, getPropertyValues, getPropertyValuesgetTimestamppublic static final org.apache.hadoop.io.Text CF_SIGNAL
public static final org.apache.hadoop.io.Text CF_OUT_VERTEX
public static final org.apache.hadoop.io.Text CF_IN_VERTEX
public AccumuloEdge(Graph 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, EnumSet<FetchHint> fetchHints, Authorizations authorizations)
public static Edge createFromIteratorValue(AccumuloGraph graph, org.apache.accumulo.core.data.Key key, org.apache.accumulo.core.data.Value value, EnumSet<FetchHint> fetchHints, Authorizations authorizations)
public String getVertexId(Direction direction)
getVertexId in interface Edgepublic Vertex getVertex(Direction direction, Authorizations authorizations)
public String getOtherVertexId(String myVertexId)
getOtherVertexId in interface Edgepublic Vertex getOtherVertex(String myVertexId, Authorizations authorizations)
getOtherVertex in interface Edgepublic Vertex getOtherVertex(String myVertexId, EnumSet<FetchHint> fetchHints, Authorizations authorizations)
getOtherVertex in interface Edgepublic EdgeVertices getVertices(Authorizations authorizations)
getVertices in interface Edgepublic EdgeVertices getVertices(EnumSet<FetchHint> fetchHints, Authorizations authorizations)
getVertices in interface Edgepublic Vertex getVertex(Direction direction, EnumSet<FetchHint> fetchHints, Authorizations authorizations)
public ExistingEdgeMutation prepareMutation()
prepareMutation in interface EdgeprepareMutation in interface ElementprepareMutation in class AccumuloElementCopyright © 2014–2017. All rights reserved.