public abstract class AccumuloElement extends ElementBase implements Serializable, HasTimestamp
| Modifier and Type | Field and Description |
|---|---|
static org.apache.hadoop.io.Text |
CF_EXTENDED_DATA |
static org.apache.hadoop.io.Text |
CF_HIDDEN |
static org.apache.hadoop.io.Text |
CF_PROPERTY |
static org.apache.hadoop.io.Text |
CF_PROPERTY_HIDDEN |
static org.apache.hadoop.io.Text |
CF_PROPERTY_METADATA |
static org.apache.hadoop.io.Text |
CF_PROPERTY_SOFT_DELETE |
static org.apache.hadoop.io.Text |
CF_SOFT_DELETE |
static org.apache.hadoop.io.Text |
CQ_HIDDEN |
static org.apache.hadoop.io.Text |
CQ_SOFT_DELETE |
static org.apache.hadoop.io.Text |
DELETE_ROW_COLUMN_FAMILY |
static org.apache.hadoop.io.Text |
DELETE_ROW_COLUMN_QUALIFIER |
static org.apache.accumulo.core.data.Value |
HIDDEN_VALUE |
static org.apache.accumulo.core.data.Value |
HIDDEN_VALUE_DELETED |
static org.apache.hadoop.io.Text |
METADATA_COLUMN_FAMILY |
static org.apache.hadoop.io.Text |
METADATA_COLUMN_QUALIFIER |
static org.apache.accumulo.core.data.Value |
SOFT_DELETE_VALUE |
ID_PROPERTY_NAME| Modifier | Constructor and Description |
|---|---|
protected |
AccumuloElement(Graph graph,
String id,
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) |
getEdgeLabelProperty, getIdProperty, getInOrOutVertexIdProperty, getInVertexIdProperty, getOutVertexIdProperty, getProperties, getProperty, getPropertyclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddPropertyValue, addPropertyValue, compareTo, deleteProperties, deleteProperty, getHistoricalPropertyValues, getHistoricalPropertyValues, getHistoricalPropertyValues, isHidden, markPropertyHidden, markPropertyHidden, markPropertyHidden, markPropertyVisible, markPropertyVisible, markPropertyVisible, setProperty, setProperty, softDeleteProperties, softDeletePropertygetPropertyValue, getPropertyValue, getPropertyValues, getPropertyValuespublic static final org.apache.hadoop.io.Text CF_PROPERTY
public static final org.apache.hadoop.io.Text CF_PROPERTY_METADATA
public static final org.apache.hadoop.io.Text CF_PROPERTY_SOFT_DELETE
public static final org.apache.hadoop.io.Text CF_EXTENDED_DATA
public static final org.apache.accumulo.core.data.Value SOFT_DELETE_VALUE
public static final org.apache.accumulo.core.data.Value HIDDEN_VALUE
public static final org.apache.hadoop.io.Text CF_PROPERTY_HIDDEN
public static final org.apache.accumulo.core.data.Value HIDDEN_VALUE_DELETED
public static final org.apache.hadoop.io.Text DELETE_ROW_COLUMN_FAMILY
public static final org.apache.hadoop.io.Text DELETE_ROW_COLUMN_QUALIFIER
public static final org.apache.hadoop.io.Text CF_SOFT_DELETE
public static final org.apache.hadoop.io.Text CQ_SOFT_DELETE
public static final org.apache.hadoop.io.Text CF_HIDDEN
public static final org.apache.hadoop.io.Text CQ_HIDDEN
public static final org.apache.hadoop.io.Text METADATA_COLUMN_FAMILY
public static final org.apache.hadoop.io.Text METADATA_COLUMN_QUALIFIER
protected AccumuloElement(Graph graph, String id, 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 void deleteProperty(String key, String name, Visibility visibility, Authorizations authorizations)
deleteProperty in interface Elementpublic void softDeleteProperty(String key, String name, Visibility visibility, Authorizations authorizations)
softDeleteProperty in interface Elementpublic void markPropertyHidden(Property property, Long timestamp, Visibility visibility, Authorizations authorizations)
markPropertyHidden in interface Elementpublic void markPropertyVisible(Property property, Long timestamp, Visibility visibility, Authorizations authorizations)
markPropertyVisible in interface Elementpublic AccumuloGraph getGraph()
protected <TElement extends Element> void saveExistingElementMutation(ExistingElementMutation<TElement> mutation, Authorizations authorizations)
public Iterable<HistoricalPropertyValue> getHistoricalPropertyValues(String key, String name, Visibility visibility, Long startTime, Long endTime, Authorizations authorizations)
getHistoricalPropertyValues in interface Elementpublic abstract <T extends Element> ExistingElementMutation<T> prepareMutation()
prepareMutation in interface Elementpublic QueryableIterable<ExtendedDataRow> getExtendedData(String tableName)
getExtendedData in interface Elementpublic Property getProperty(String key, String name)
getProperty in interface VertexiumObjectpublic Property getProperty(String name)
getProperty in interface VertexiumObjectpublic Object getPropertyValue(String name, int index)
getPropertyValue in interface VertexiumObjectpublic Object getPropertyValue(String key, String name, int index)
getPropertyValue in interface VertexiumObjectpublic String getId()
getId in interface ElementgetId in interface VertexiumObjectpublic Visibility getVisibility()
getVisibility in interface Elementpublic long getTimestamp()
getTimestamp in interface ElementgetTimestamp in interface HasTimestampprotected void setVisibility(Visibility visibility)
public Iterable<Property> getProperties()
getProperties in interface VertexiumObjectpublic Iterable<PropertyDeleteMutation> getPropertyDeleteMutations()
public Iterable<PropertySoftDeleteMutation> getPropertySoftDeleteMutations()
public Iterable<Property> getProperties(String key, String name)
getProperties in interface VertexiumObjectgetProperties in class ElementBaseprotected void updatePropertiesInternal(Iterable<Property> properties, Iterable<PropertyDeleteMutation> propertyDeleteMutations, Iterable<PropertySoftDeleteMutation> propertySoftDeleteMutations)
protected void removePropertyInternal(String key, String name, Visibility visibility)
protected void addPropertyInternal(Property property)
public Authorizations getAuthorizations()
getAuthorizations in interface Elementpublic Iterable<Visibility> getHiddenVisibilities()
getHiddenVisibilities in interface Elementpublic com.google.common.collect.ImmutableSet<String> getExtendedDataTableNames()
getExtendedDataTableNames in interface Elementpublic FetchHints getFetchHints()
getFetchHints in interface Elementprotected Iterable<Property> internalGetProperties(String name)
internalGetProperties in class ElementBaseCopyright © 2014–2018. All rights reserved.