public abstract class AccumuloElement extends ElementBase implements Serializable, HasTimestamp
| Modifier and Type | Field and Description |
|---|---|
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 |
CQ_HIDDEN |
static org.apache.accumulo.core.data.Value |
HIDDEN_VALUE |
| Modifier | Constructor and Description |
|---|---|
protected |
AccumuloElement(Graph graph,
String id,
Visibility visibility,
Iterable<Property> properties,
Iterable<PropertyRemoveMutation> propertyRemoveMutations,
Iterable<Visibility> hiddenVisibilities,
Authorizations authorizations,
long timestamp) |
| Modifier and Type | Method and Description |
|---|---|
AccumuloGraph |
getGraph() |
long |
getTimestamp() |
void |
markPropertyHidden(Property property,
Visibility visibility,
Authorizations authorizations) |
void |
markPropertyVisible(Property property,
Visibility visibility,
Authorizations authorizations) |
void |
removeProperty(String name,
Authorizations authorizations) |
void |
removeProperty(String key,
String name,
Authorizations authorizations) |
protected <TElement extends Element> |
saveExistingElementMutation(ExistingElementMutationImpl<TElement> mutation,
Authorizations authorizations) |
addHiddenVisibility, addPropertyValue, addPropertyValue, equals, getAuthorizations, getHiddenVisibilities, getId, getProperties, getProperties, getProperties, getProperty, getProperty, getProperty, getProperty, getPropertyRemoveMutations, getPropertyValue, getPropertyValue, getPropertyValue, getPropertyValue, getPropertyValues, getPropertyValues, getVisibility, hashCode, isHidden, labelToArrayOrNull, markPropertyHidden, markPropertyVisible, mergeProperties, removeHiddenVisibility, removePropertyInternal, removePropertyInternal, removePropertyInternal, setProperty, setProperty, setVisibility, toString, updatePropertiesInternalclone, finalize, getClass, notify, notifyAll, wait, wait, waitprepareMutationpublic static final org.apache.hadoop.io.Text CF_HIDDEN
public static final org.apache.hadoop.io.Text CQ_HIDDEN
public static final org.apache.accumulo.core.data.Value HIDDEN_VALUE
public static final org.apache.hadoop.io.Text CF_PROPERTY
public static final org.apache.hadoop.io.Text CF_PROPERTY_HIDDEN
public static final org.apache.hadoop.io.Text CF_PROPERTY_METADATA
protected AccumuloElement(Graph graph, String id, Visibility visibility, Iterable<Property> properties, Iterable<PropertyRemoveMutation> propertyRemoveMutations, Iterable<Visibility> hiddenVisibilities, Authorizations authorizations, long timestamp)
public void removeProperty(String key, String name, Authorizations authorizations)
removeProperty in interface ElementremoveProperty in class ElementBasepublic void removeProperty(String name, Authorizations authorizations)
removeProperty in interface ElementremoveProperty in class ElementBasepublic void markPropertyHidden(Property property, Visibility visibility, Authorizations authorizations)
markPropertyHidden in interface Elementpublic void markPropertyVisible(Property property, Visibility visibility, Authorizations authorizations)
markPropertyVisible in interface Elementpublic AccumuloGraph getGraph()
getGraph in interface ElementgetGraph in class ElementBaseprotected <TElement extends Element> void saveExistingElementMutation(ExistingElementMutationImpl<TElement> mutation, Authorizations authorizations)
public long getTimestamp()
getTimestamp in interface HasTimestampCopyright © 2014–2015. All rights reserved.