public abstract class ElementMutationBuilder extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.apache.hadoop.io.Text |
EMPTY_TEXT |
static org.apache.accumulo.core.data.Value |
EMPTY_VALUE |
| Modifier | Constructor and Description |
|---|---|
protected |
ElementMutationBuilder(org.apache.hadoop.fs.FileSystem fileSystem,
VertexiumSerializer vertexiumSerializer,
long maxStreamingPropertyValueTableDataSize,
String dataDir) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyDeleteMetadataToMutation(org.apache.accumulo.core.data.Mutation m,
PropertyDeleteMutation propertyDeleteMutation) |
void |
addPropertyDeleteToMutation(org.apache.accumulo.core.data.Mutation m,
Property property) |
void |
addPropertyDeleteToMutation(org.apache.accumulo.core.data.Mutation m,
PropertyDeleteMutation propertyDelete) |
void |
addPropertyMetadataToMutation(org.apache.accumulo.core.data.Mutation m,
Property property) |
void |
addPropertySoftDeleteToMutation(org.apache.accumulo.core.data.Mutation m,
Property property) |
void |
addPropertySoftDeleteToMutation(org.apache.accumulo.core.data.Mutation m,
PropertySoftDeleteMutation propertySoftDelete) |
void |
addPropertyToMutation(AccumuloGraph graph,
org.apache.accumulo.core.data.Mutation m,
String rowKey,
Property property) |
void |
alterEdgeLabel(Edge edge,
String newEdgeLabel) |
boolean |
alterEdgeVertexInVertex(org.apache.accumulo.core.data.Mutation vertexInMutation,
Edge edge,
Visibility newVisibility) |
boolean |
alterEdgeVertexOutVertex(org.apache.accumulo.core.data.Mutation vertexOutMutation,
Edge edge,
Visibility newVisibility) |
boolean |
alterElementVisibility(org.apache.accumulo.core.data.Mutation m,
AccumuloElement element,
Visibility newVisibility) |
Iterable<KeyValuePair> |
getEdgeTableKeyValuePairsEdge(AccumuloEdge edge) |
Iterable<KeyValuePair> |
getKeyValuePairsForVertex(AccumuloVertex vertex) |
protected abstract NameSubstitutionStrategy |
getNameSubstitutionStrategy() |
Iterable<KeyValuePair> |
getVertexTableKeyValuePairsEdge(AccumuloEdge edge) |
protected abstract void |
saveDataMutation(org.apache.accumulo.core.data.Mutation dataMutation) |
void |
saveEdgeBuilder(AccumuloGraph graph,
EdgeBuilderBase edgeBuilder,
long timestamp) |
protected abstract void |
saveEdgeMutation(org.apache.accumulo.core.data.Mutation m) |
void |
saveExtendedDataMarkers(String elementId,
ElementType elementType,
Iterable<ExtendedDataMutation> extendedData) |
protected abstract void |
saveExtendedDataMutation(ElementType elementType,
org.apache.accumulo.core.data.Mutation m) |
protected StreamingPropertyValueRef |
saveStreamingPropertyValue(String rowKey,
Property property,
StreamingPropertyValue propertyValue) |
void |
saveVertexBuilder(AccumuloGraph graph,
VertexBuilder vertexBuilder,
long timestamp) |
protected abstract void |
saveVertexMutation(org.apache.accumulo.core.data.Mutation m) |
public static final org.apache.hadoop.io.Text EMPTY_TEXT
public static final org.apache.accumulo.core.data.Value EMPTY_VALUE
protected ElementMutationBuilder(org.apache.hadoop.fs.FileSystem fileSystem,
VertexiumSerializer vertexiumSerializer,
long maxStreamingPropertyValueTableDataSize,
String dataDir)
public void saveVertexBuilder(AccumuloGraph graph, VertexBuilder vertexBuilder, long timestamp)
protected abstract void saveExtendedDataMutation(ElementType elementType, org.apache.accumulo.core.data.Mutation m)
protected abstract void saveVertexMutation(org.apache.accumulo.core.data.Mutation m)
public void saveExtendedDataMarkers(String elementId, ElementType elementType, Iterable<ExtendedDataMutation> extendedData)
public Iterable<KeyValuePair> getKeyValuePairsForVertex(AccumuloVertex vertex)
public Iterable<KeyValuePair> getEdgeTableKeyValuePairsEdge(AccumuloEdge edge)
public Iterable<KeyValuePair> getVertexTableKeyValuePairsEdge(AccumuloEdge edge)
public void saveEdgeBuilder(AccumuloGraph graph, EdgeBuilderBase edgeBuilder, long timestamp)
protected abstract void saveEdgeMutation(org.apache.accumulo.core.data.Mutation m)
public boolean alterElementVisibility(org.apache.accumulo.core.data.Mutation m,
AccumuloElement element,
Visibility newVisibility)
public boolean alterEdgeVertexOutVertex(org.apache.accumulo.core.data.Mutation vertexOutMutation,
Edge edge,
Visibility newVisibility)
public boolean alterEdgeVertexInVertex(org.apache.accumulo.core.data.Mutation vertexInMutation,
Edge edge,
Visibility newVisibility)
public void addPropertyToMutation(AccumuloGraph graph, org.apache.accumulo.core.data.Mutation m, String rowKey, Property property)
protected abstract NameSubstitutionStrategy getNameSubstitutionStrategy()
public void addPropertyDeleteToMutation(org.apache.accumulo.core.data.Mutation m,
PropertyDeleteMutation propertyDelete)
public void addPropertyMetadataToMutation(org.apache.accumulo.core.data.Mutation m,
Property property)
public void addPropertyDeleteMetadataToMutation(org.apache.accumulo.core.data.Mutation m,
PropertyDeleteMutation propertyDeleteMutation)
protected StreamingPropertyValueRef saveStreamingPropertyValue(String rowKey, Property property, StreamingPropertyValue propertyValue)
public void addPropertyDeleteToMutation(org.apache.accumulo.core.data.Mutation m,
Property property)
public void addPropertySoftDeleteToMutation(org.apache.accumulo.core.data.Mutation m,
Property property)
public void addPropertySoftDeleteToMutation(org.apache.accumulo.core.data.Mutation m,
PropertySoftDeleteMutation propertySoftDelete)
protected abstract void saveDataMutation(org.apache.accumulo.core.data.Mutation dataMutation)
Copyright © 2014–2017. All rights reserved.