public class AccumuloGraph extends GraphBaseWithSearchIndex implements Traceable
| Modifier and Type | Field and Description |
|---|---|
static Integer |
ALL_VERSIONS |
protected ElementMutationBuilder |
elementMutationBuilder |
static int |
SINGLE_VERSION |
METADATA_ID_GENERATOR_CLASSNAMEMETADATA_DEFINE_PROPERTY_PREFIX, QUERY_LOGGER| Modifier | Constructor and Description |
|---|---|
protected |
AccumuloGraph(AccumuloGraphConfiguration config,
org.apache.accumulo.core.client.Connector connector) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
_addMutations(org.apache.accumulo.core.client.BatchWriter writer,
org.apache.accumulo.core.data.Mutation... mutations) |
static Visibility |
accumuloVisibilityToVisibility(org.apache.accumulo.core.security.ColumnVisibility columnVisibility) |
static Visibility |
accumuloVisibilityToVisibility(String columnVisibilityString) |
static Visibility |
accumuloVisibilityToVisibility(org.apache.hadoop.io.Text columnVisibility) |
protected void |
addMutations(Element element,
org.apache.accumulo.core.data.Mutation... mutations) |
protected void |
addMutations(VertexiumObjectType objectType,
org.apache.accumulo.core.data.Mutation... mutations) |
void |
alterEdgeLabel(AccumuloEdge edge,
String newEdgeLabel) |
static AccumuloGraph |
create(AccumuloGraphConfiguration config) |
static AccumuloGraph |
create(Map config) |
Authorizations |
createAuthorizations(String... auths) |
org.apache.accumulo.core.client.ScannerBase |
createBatchScanner(String tableName,
Collection<org.apache.accumulo.core.data.Range> ranges,
Authorizations authorizations) |
org.apache.accumulo.core.client.ScannerBase |
createBatchScanner(String tableName,
Collection<org.apache.accumulo.core.data.Range> ranges,
org.apache.accumulo.core.security.Authorizations accumuloAuthorizations) |
protected org.apache.accumulo.core.client.ScannerBase |
createEdgeScanner(FetchHints fetchHints,
Integer maxVersions,
Long startTime,
Long endTime,
Collection<org.apache.accumulo.core.data.Range> ranges,
Authorizations authorizations) |
protected org.apache.accumulo.core.client.ScannerBase |
createEdgeScanner(FetchHints fetchHints,
Integer maxVersions,
Long startTime,
Long endTime,
org.apache.accumulo.core.data.Range range,
Authorizations authorizations) |
protected org.apache.accumulo.core.client.ScannerBase |
createVertexScanner(FetchHints fetchHints,
Integer maxVersions,
Long startTime,
Long endTime,
Collection<org.apache.accumulo.core.data.Range> ranges,
Authorizations authorizations) |
protected org.apache.accumulo.core.client.ScannerBase |
createVertexScanner(FetchHints fetchHints,
Integer maxVersions,
Long startTime,
Long endTime,
org.apache.accumulo.core.data.Range range,
Authorizations authorizations) |
void |
deleteEdge(Edge edge,
Authorizations authorizations) |
void |
deleteExtendedDataRow(ExtendedDataRowId rowId,
Authorizations authorizations) |
void |
deleteVertex(Vertex vertex,
Authorizations authorizations) |
void |
drop() |
protected static void |
ensureRowDeletingIteratorIsAttached(org.apache.accumulo.core.client.Connector connector,
String tableName) |
protected static void |
ensureTableExists(org.apache.accumulo.core.client.Connector connector,
String tableName,
Integer maxVersions,
String hdfsContextClasspath,
boolean createTable) |
Iterable<String> |
filterEdgeIdsByAuthorization(Iterable<String> edgeIds,
String authorizationToMatch,
EnumSet<ElementFilter> filters,
Authorizations authorizations) |
Iterable<String> |
filterVertexIdsByAuthorization(Iterable<String> vertexIds,
String authorizationToMatch,
EnumSet<ElementFilter> filters,
Authorizations authorizations) |
Iterable<Path> |
findPaths(FindPathOptions options,
Authorizations authorizations) |
Iterable<String> |
findRelatedEdgeIds(Iterable<String> vertexIds,
Long endTime,
Authorizations authorizations) |
Iterable<RelatedEdge> |
findRelatedEdgeSummary(Iterable<String> vertexIds,
Long endTime,
Authorizations authorizations) |
void |
flush() |
void |
flushGraph() |
static Iterable<org.apache.hadoop.io.Text> |
getColumnFamiliesToFetch(ElementType elementType,
FetchHints fetchHints) |
AccumuloGraphConfiguration |
getConfiguration() |
org.apache.accumulo.core.client.Connector |
getConnector() |
String |
getDataTableName() |
static String |
getDataTableName(String tableNamePrefix) |
org.apache.accumulo.core.client.BatchWriter |
getDataWriter() |
Edge |
getEdge(String edgeId,
FetchHints fetchHints,
Long endTime,
Authorizations authorizations) |
long |
getEdgeCount(Authorizations authorizations) |
CloseableIterable<Edge> |
getEdges(FetchHints fetchHints,
Long endTime,
Authorizations authorizations) |
CloseableIterable<Edge> |
getEdges(Iterable<String> ids,
FetchHints fetchHints,
Long endTime,
Authorizations authorizations) |
Iterable<Edge> |
getEdgesInRange(Range idRange,
FetchHints fetchHints,
Long endTime,
Authorizations authorizations) |
protected CloseableIterable<Edge> |
getEdgesInRange(org.apache.accumulo.core.trace.Span trace,
org.apache.accumulo.core.data.Range range,
FetchHints fetchHints,
Long endTime,
Authorizations authorizations) |
protected CloseableIterable<Edge> |
getEdgesInRange(org.apache.accumulo.core.trace.Span trace,
String startId,
String endId,
FetchHints fetchHints,
Long timestamp,
Authorizations authorizations) |
String |
getEdgesTableName() |
static String |
getEdgesTableName(String tableNamePrefix) |
org.apache.accumulo.core.client.BatchWriter |
getEdgesWriter() |
Iterable<ExtendedDataRow> |
getExtendedData(ElementType elementType,
String elementId,
String tableName,
Authorizations authorizations) |
Iterable<ExtendedDataRow> |
getExtendedData(Iterable<ExtendedDataRowId> ids,
Authorizations authorizations) |
Iterable<ExtendedDataRow> |
getExtendedDataInRange(ElementType elementType,
Range elementIdRange,
Authorizations authorizations) |
Iterable<ExtendedDataRow> |
getExtendedDataInRange(Range extendedDataRowKeyRange,
Authorizations authorizations) |
String |
getExtendedDataTableName() |
static String |
getExtendedDataTableName(String tableNamePrefix) |
org.apache.accumulo.core.client.BatchWriter |
getExtendedDataWriter() |
AccumuloGraphLogger |
getGraphLogger() |
protected GraphMetadataStore |
getGraphMetadataStore() |
Iterable<HistoricalPropertyValue> |
getHistoricalPropertyValues(Element element,
String key,
String name,
Visibility visibility,
Long startTime,
Long endTime,
Authorizations authorizations) |
String |
getHistoryEdgesTableName() |
static String |
getHistoryEdgesTableName(String tableNamePrefix) |
org.apache.accumulo.core.client.BatchWriter |
getHistoryEdgesWriter() |
String |
getHistoryTableNameFromElementType(ElementType elementType) |
String |
getHistoryVerticesTableName() |
static String |
getHistoryVerticesTableName(String tableNamePrefix) |
org.apache.accumulo.core.client.BatchWriter |
getHistoryVerticesWriter() |
org.apache.accumulo.core.client.BatchWriter |
getHistoryWriterFromElementType(VertexiumObjectType objectType) |
Iterable<GraphMetadataEntry> |
getMetadataInRange(org.apache.accumulo.core.data.Range range) |
String |
getMetadataTableName() |
static String |
getMetadataTableName(String tableNamePrefix) |
protected org.apache.accumulo.core.client.BatchWriter |
getMetadataWriter() |
AccumuloNameSubstitutionStrategy |
getNameSubstitutionStrategy() |
List<InputStream> |
getStreamingPropertyValueInputStreams(List<StreamingPropertyValue> streamingPropertyValues) |
StreamingPropertyValueStorageStrategy |
getStreamingPropertyValueStorageStrategy() |
String |
getTableNameFromElementType(ElementType elementType) |
protected Class<?> |
getValueType(Object value) |
Vertex |
getVertex(String vertexId,
FetchHints fetchHints,
Long endTime,
Authorizations authorizations) |
long |
getVertexCount(Authorizations authorizations) |
VertexiumSerializer |
getVertexiumSerializer() |
Iterable<Vertex> |
getVertices(FetchHints fetchHints,
Long endTime,
Authorizations authorizations) |
CloseableIterable<Vertex> |
getVertices(Iterable<String> ids,
FetchHints fetchHints,
Long endTime,
Authorizations authorizations) |
Iterable<Vertex> |
getVerticesInRange(Range idRange,
FetchHints fetchHints,
Long endTime,
Authorizations authorizations) |
protected CloseableIterable<Vertex> |
getVerticesInRange(org.apache.accumulo.core.trace.Span trace,
org.apache.accumulo.core.data.Range range,
FetchHints fetchHints,
Long endTime,
Authorizations authorizations) |
String |
getVerticesTableName() |
static String |
getVerticesTableName(String tableNamePrefix) |
Iterable<Vertex> |
getVerticesWithPrefix(String vertexIdPrefix,
FetchHints fetchHints,
Long endTime,
Authorizations authorizations) |
org.apache.accumulo.core.client.BatchWriter |
getVerticesWriter() |
org.apache.accumulo.core.client.BatchWriter |
getWriterFromElementType(VertexiumObjectType objectType) |
boolean |
isVisibilityValid(Visibility visibility,
Authorizations authorizations) |
Iterable<Range> |
listDataTableSplits() |
Iterable<Range> |
listEdgesTableSplits() |
Iterable<Range> |
listExtendedDataTableSplits() |
Iterable<Range> |
listHistoryEdgesTableSplits() |
Iterable<Range> |
listHistoryVerticesTableSplits() |
Iterable<Range> |
listVerticesTableSplits() |
void |
markEdgeHidden(Edge edge,
Visibility visibility,
Authorizations authorizations) |
void |
markEdgeVisible(Edge edge,
Visibility visibility,
Authorizations authorizations) |
void |
markPropertyHidden(AccumuloElement element,
Property property,
Long timestamp,
Visibility visibility,
Authorizations authorizations) |
void |
markPropertyVisible(AccumuloElement element,
Property property,
Long timestamp,
Visibility visibility,
Authorizations authorizations) |
void |
markVertexHidden(Vertex vertex,
Visibility visibility,
Authorizations authorizations) |
void |
markVertexVisible(Vertex vertex,
Visibility visibility,
Authorizations authorizations) |
AccumuloEdgeBuilderByVertexId |
prepareEdge(String edgeId,
String outVertexId,
String inVertexId,
String label,
Long timestamp,
Visibility visibility) |
EdgeBuilder |
prepareEdge(String edgeId,
Vertex outVertex,
Vertex inVertex,
String label,
Long timestamp,
Visibility visibility) |
AccumuloVertexBuilder |
prepareVertex(String vertexId,
Long timestamp,
Visibility visibility) |
protected void |
setup() |
protected void |
setupGraphMetadata() |
protected void |
setupGraphMetadata(GraphMetadataEntry graphMetadataEntry) |
void |
shutdown() |
void |
softDeleteEdge(Edge edge,
Long timestamp,
Authorizations authorizations) |
void |
softDeleteVertex(Vertex vertex,
Long timestamp,
Authorizations authorizations) |
org.apache.accumulo.core.security.Authorizations |
toAccumuloAuthorizations(Authorizations authorizations) |
IteratorFetchHints |
toIteratorFetchHints(FetchHints fetchHints) |
void |
traceOff() |
void |
traceOn(String description) |
void |
traceOn(String description,
Map<String,String> data) |
void |
truncate() |
static org.apache.accumulo.core.security.ColumnVisibility |
visibilityToAccumuloVisibility(String visibilityString) |
static org.apache.accumulo.core.security.ColumnVisibility |
visibilityToAccumuloVisibility(Visibility visibility) |
getDefaultFetchHints, getIdGenerator, getSearchIndex, getSearchIndexSecurityGranularity, getVertexPropertyCountByValue, isFieldBoostSupported, isQuerySimilarToTextSupported, query, query, query, query, querySimilarTo, reindex, reindexVertices, saveElementMutationsaddEdge, addEdge, addEdge, addEdge, addGraphEventListener, addToPropertyDefinitionCache, addVertex, addVertex, addVertices, createAuthorizations, createAuthorizations, createAuthorizations, defineProperty, deleteAllExtendedDataForElement, deleteEdge, deleteVertex, doEdgesExist, doEdgesExist, doesEdgeExist, doesVertexExist, doVerticesExist, ensurePropertyDefined, findPaths, findPaths, findPaths, findPaths, findPathsRecursive, findPathsSetIntersection, findRelatedEdgeIds, findRelatedEdgeIdsForVertices, findRelatedEdges, findRelatedEdges, findRelatedEdgeSummary, findRelatedEdgeSummaryForVertices, fireGraphEvent, getAllExtendedData, getEdge, getEdge, getEdges, getEdges, getEdges, getEdges, getEdgesInRange, getEdgesInRange, getExtendedData, getMetadata, getMetadata, getMetadataWithPrefix, getPropertyDefinition, getPropertyDefinitions, getVertex, getVertex, getVertices, getVertices, getVertices, getVertices, getVerticesInOrder, getVerticesInOrder, getVerticesInRange, getVerticesInRange, getVerticesWithPrefix, getVerticesWithPrefix, hasEventListeners, isPropertyDefined, prepareEdge, prepareEdge, prepareEdge, prepareEdge, prepareVertex, prepareVertex, prepareVertex, savePropertyDefinition, setMetadata, softDeleteEdge, softDeleteEdge, softDeleteEdge, softDeleteVertex, softDeleteVertex, softDeleteVertex, visit, visitEdges, visitElements, visitVerticesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddEdge, addEdge, addEdge, addEdge, addGraphEventListener, addVertex, addVertex, addVertices, createAuthorizations, createAuthorizations, createAuthorizations, defineProperty, deleteEdge, deleteVertex, doEdgesExist, doEdgesExist, doesEdgeExist, doesVertexExist, doVerticesExist, findPaths, findPaths, findPaths, findPaths, findRelatedEdgeIds, findRelatedEdgeIdsForVertices, findRelatedEdges, findRelatedEdges, findRelatedEdgeSummary, findRelatedEdgeSummaryForVertices, getEdge, getEdge, getEdges, getEdges, getEdges, getEdges, getEdgesInRange, getEdgesInRange, getExtendedData, getMetadata, getMetadata, getMetadataWithPrefix, getPropertyDefinition, getPropertyDefinitions, getVertex, getVertex, getVertices, getVertices, getVertices, getVertices, getVerticesInOrder, getVerticesInOrder, getVerticesInRange, getVerticesInRange, getVerticesWithPrefix, getVerticesWithPrefix, isPropertyDefined, prepareEdge, prepareEdge, prepareEdge, prepareEdge, prepareVertex, prepareVertex, prepareVertex, savePropertyDefinition, setMetadata, softDeleteEdge, softDeleteEdge, softDeleteEdge, softDeleteVertex, softDeleteVertex, softDeleteVertex, visit, visitEdges, visitElements, visitVerticespublic static final int SINGLE_VERSION
public static final Integer ALL_VERSIONS
protected final ElementMutationBuilder elementMutationBuilder
protected AccumuloGraph(AccumuloGraphConfiguration config, org.apache.accumulo.core.client.Connector connector)
public static AccumuloGraph create(AccumuloGraphConfiguration config)
protected void setup()
setup in class GraphBaseWithSearchIndexprotected void setupGraphMetadata()
setupGraphMetadata in class GraphBaseWithSearchIndexprotected void setupGraphMetadata(GraphMetadataEntry graphMetadataEntry)
setupGraphMetadata in class GraphBaseWithSearchIndexprotected static void ensureTableExists(org.apache.accumulo.core.client.Connector connector,
String tableName,
Integer maxVersions,
String hdfsContextClasspath,
boolean createTable)
protected static void ensureRowDeletingIteratorIsAttached(org.apache.accumulo.core.client.Connector connector,
String tableName)
public static AccumuloGraph create(Map config)
public AccumuloVertexBuilder prepareVertex(String vertexId, Long timestamp, Visibility visibility)
prepareVertex in interface GraphprepareVertex in class GraphBaseWithSearchIndexprotected void addMutations(Element element, org.apache.accumulo.core.data.Mutation... mutations)
protected void addMutations(VertexiumObjectType objectType, org.apache.accumulo.core.data.Mutation... mutations)
protected void _addMutations(org.apache.accumulo.core.client.BatchWriter writer,
org.apache.accumulo.core.data.Mutation... mutations)
public org.apache.accumulo.core.client.BatchWriter getVerticesWriter()
public org.apache.accumulo.core.client.BatchWriter getHistoryVerticesWriter()
public org.apache.accumulo.core.client.BatchWriter getEdgesWriter()
public org.apache.accumulo.core.client.BatchWriter getHistoryEdgesWriter()
public org.apache.accumulo.core.client.BatchWriter getExtendedDataWriter()
public org.apache.accumulo.core.client.BatchWriter getDataWriter()
public org.apache.accumulo.core.client.BatchWriter getWriterFromElementType(VertexiumObjectType objectType)
public org.apache.accumulo.core.client.BatchWriter getHistoryWriterFromElementType(VertexiumObjectType objectType)
protected org.apache.accumulo.core.client.BatchWriter getMetadataWriter()
public Iterable<Vertex> getVertices(FetchHints fetchHints, Long endTime, Authorizations authorizations) throws VertexiumException
getVertices in interface GraphgetVertices in class GraphBaseWithSearchIndexVertexiumExceptionpublic void deleteVertex(Vertex vertex, Authorizations authorizations)
deleteVertex in interface GraphdeleteVertex in class GraphBaseWithSearchIndexpublic void softDeleteVertex(Vertex vertex, Long timestamp, Authorizations authorizations)
softDeleteVertex in interface GraphsoftDeleteVertex in class GraphBaseWithSearchIndexpublic void markVertexHidden(Vertex vertex, Visibility visibility, Authorizations authorizations)
markVertexHidden in interface GraphmarkVertexHidden in class GraphBaseWithSearchIndexpublic void markVertexVisible(Vertex vertex, Visibility visibility, Authorizations authorizations)
markVertexVisible in interface GraphmarkVertexVisible in class GraphBaseWithSearchIndexpublic AccumuloEdgeBuilderByVertexId prepareEdge(String edgeId, String outVertexId, String inVertexId, String label, Long timestamp, Visibility visibility)
prepareEdge in interface GraphprepareEdge in class GraphBaseWithSearchIndexpublic EdgeBuilder prepareEdge(String edgeId, Vertex outVertex, Vertex inVertex, String label, Long timestamp, Visibility visibility)
prepareEdge in interface GraphprepareEdge in class GraphBaseWithSearchIndexpublic AccumuloNameSubstitutionStrategy getNameSubstitutionStrategy()
public Iterable<HistoricalPropertyValue> getHistoricalPropertyValues(Element element, String key, String name, Visibility visibility, Long startTime, Long endTime, Authorizations authorizations)
public List<InputStream> getStreamingPropertyValueInputStreams(List<StreamingPropertyValue> streamingPropertyValues)
getStreamingPropertyValueInputStreams in interface GraphgetStreamingPropertyValueInputStreams in class GraphBasepublic Iterable<ExtendedDataRow> getExtendedData(Iterable<ExtendedDataRowId> ids, Authorizations authorizations)
getExtendedData in interface GraphgetExtendedData in class GraphBasepublic Iterable<ExtendedDataRow> getExtendedData(ElementType elementType, String elementId, String tableName, Authorizations authorizations)
getExtendedData in interface GraphgetExtendedData in class GraphBasepublic Iterable<ExtendedDataRow> getExtendedDataInRange(ElementType elementType, Range elementIdRange, Authorizations authorizations)
getExtendedDataInRange in interface GraphgetExtendedDataInRange in class GraphBasepublic Iterable<ExtendedDataRow> getExtendedDataInRange(Range extendedDataRowKeyRange, Authorizations authorizations)
public CloseableIterable<Edge> getEdges(FetchHints fetchHints, Long endTime, Authorizations authorizations)
getEdges in interface GraphgetEdges in class GraphBaseWithSearchIndexpublic void deleteEdge(Edge edge, Authorizations authorizations)
deleteEdge in interface GraphdeleteEdge in class GraphBaseWithSearchIndexpublic void deleteExtendedDataRow(ExtendedDataRowId rowId, Authorizations authorizations)
deleteExtendedDataRow in interface GraphdeleteExtendedDataRow in class GraphBasepublic void softDeleteEdge(Edge edge, Long timestamp, Authorizations authorizations)
softDeleteEdge in interface GraphsoftDeleteEdge in class GraphBaseWithSearchIndexpublic void markEdgeHidden(Edge edge, Visibility visibility, Authorizations authorizations)
markEdgeHidden in interface GraphmarkEdgeHidden in class GraphBaseWithSearchIndexpublic void markEdgeVisible(Edge edge, Visibility visibility, Authorizations authorizations)
markEdgeVisible in interface GraphmarkEdgeVisible in class GraphBaseWithSearchIndexpublic Authorizations createAuthorizations(String... auths)
createAuthorizations in interface GraphcreateAuthorizations in class GraphBaseWithSearchIndexpublic void markPropertyHidden(AccumuloElement element, Property property, Long timestamp, Visibility visibility, Authorizations authorizations)
public void markPropertyVisible(AccumuloElement element, Property property, Long timestamp, Visibility visibility, Authorizations authorizations)
public void flushGraph()
flushGraph in interface GraphWithSearchIndexpublic void flush()
flush in interface Graphflush in class GraphBaseWithSearchIndexpublic void shutdown()
shutdown in interface Graphshutdown in class GraphBaseWithSearchIndexpublic VertexiumSerializer getVertexiumSerializer()
public AccumuloGraphConfiguration getConfiguration()
getConfiguration in class GraphBaseWithSearchIndexpublic Vertex getVertex(String vertexId, FetchHints fetchHints, Long endTime, Authorizations authorizations) throws VertexiumException
getVertex in interface GraphgetVertex in class GraphBaseVertexiumExceptionpublic Iterable<Vertex> getVerticesWithPrefix(String vertexIdPrefix, FetchHints fetchHints, Long endTime, Authorizations authorizations)
getVerticesWithPrefix in interface GraphgetVerticesWithPrefix in class GraphBasepublic Iterable<Vertex> getVerticesInRange(Range idRange, FetchHints fetchHints, Long endTime, Authorizations authorizations)
getVerticesInRange in interface GraphgetVerticesInRange in class GraphBaseprotected org.apache.accumulo.core.client.ScannerBase createVertexScanner(FetchHints fetchHints, Integer maxVersions, Long startTime, Long endTime, org.apache.accumulo.core.data.Range range, Authorizations authorizations) throws VertexiumException
VertexiumExceptionprotected org.apache.accumulo.core.client.ScannerBase createEdgeScanner(FetchHints fetchHints, Integer maxVersions, Long startTime, Long endTime, org.apache.accumulo.core.data.Range range, Authorizations authorizations) throws VertexiumException
VertexiumExceptionpublic IteratorFetchHints toIteratorFetchHints(FetchHints fetchHints)
protected org.apache.accumulo.core.client.ScannerBase createVertexScanner(FetchHints fetchHints, Integer maxVersions, Long startTime, Long endTime, Collection<org.apache.accumulo.core.data.Range> ranges, Authorizations authorizations) throws VertexiumException
VertexiumExceptionprotected org.apache.accumulo.core.client.ScannerBase createEdgeScanner(FetchHints fetchHints, Integer maxVersions, Long startTime, Long endTime, Collection<org.apache.accumulo.core.data.Range> ranges, Authorizations authorizations) throws VertexiumException
VertexiumExceptionpublic org.apache.accumulo.core.client.ScannerBase createBatchScanner(String tableName, Collection<org.apache.accumulo.core.data.Range> ranges, Authorizations authorizations) throws org.apache.accumulo.core.client.TableNotFoundException
org.apache.accumulo.core.client.TableNotFoundExceptionpublic org.apache.accumulo.core.client.ScannerBase createBatchScanner(String tableName, Collection<org.apache.accumulo.core.data.Range> ranges, org.apache.accumulo.core.security.Authorizations accumuloAuthorizations) throws org.apache.accumulo.core.client.TableNotFoundException
org.apache.accumulo.core.client.TableNotFoundExceptionpublic static Iterable<org.apache.hadoop.io.Text> getColumnFamiliesToFetch(ElementType elementType, FetchHints fetchHints)
public String getTableNameFromElementType(ElementType elementType)
public String getHistoryTableNameFromElementType(ElementType elementType)
public org.apache.accumulo.core.security.Authorizations toAccumuloAuthorizations(Authorizations authorizations)
public Edge getEdge(String edgeId, FetchHints fetchHints, Long endTime, Authorizations authorizations)
public static org.apache.accumulo.core.security.ColumnVisibility visibilityToAccumuloVisibility(Visibility visibility)
public static org.apache.accumulo.core.security.ColumnVisibility visibilityToAccumuloVisibility(String visibilityString)
public static Visibility accumuloVisibilityToVisibility(org.apache.accumulo.core.security.ColumnVisibility columnVisibility)
public static Visibility accumuloVisibilityToVisibility(org.apache.hadoop.io.Text columnVisibility)
public static Visibility accumuloVisibilityToVisibility(String columnVisibilityString)
public static String getHistoryVerticesTableName(String tableNamePrefix)
public String getVerticesTableName()
public String getHistoryVerticesTableName()
public String getEdgesTableName()
public String getHistoryEdgesTableName()
public String getExtendedDataTableName()
public String getDataTableName()
public String getMetadataTableName()
public StreamingPropertyValueStorageStrategy getStreamingPropertyValueStorageStrategy()
public AccumuloGraphLogger getGraphLogger()
public org.apache.accumulo.core.client.Connector getConnector()
public void alterEdgeLabel(AccumuloEdge edge, String newEdgeLabel)
public boolean isVisibilityValid(Visibility visibility, Authorizations authorizations)
isVisibilityValid in interface GraphisVisibilityValid in class GraphBaseWithSearchIndexpublic void truncate()
truncate in interface Graphtruncate in class GraphBaseWithSearchIndexpublic void drop()
drop in interface Graphdrop in class GraphBaseWithSearchIndexpublic Iterable<String> findRelatedEdgeIds(Iterable<String> vertexIds, Long endTime, Authorizations authorizations)
findRelatedEdgeIds in interface GraphfindRelatedEdgeIds in class GraphBasepublic Iterable<RelatedEdge> findRelatedEdgeSummary(Iterable<String> vertexIds, Long endTime, Authorizations authorizations)
findRelatedEdgeSummary in interface GraphfindRelatedEdgeSummary in class GraphBasepublic Iterable<Path> findPaths(FindPathOptions options, Authorizations authorizations)
public Iterable<String> filterEdgeIdsByAuthorization(Iterable<String> edgeIds, String authorizationToMatch, EnumSet<ElementFilter> filters, Authorizations authorizations)
filterEdgeIdsByAuthorization in interface GraphfilterEdgeIdsByAuthorization in class GraphBasepublic Iterable<String> filterVertexIdsByAuthorization(Iterable<String> vertexIds, String authorizationToMatch, EnumSet<ElementFilter> filters, Authorizations authorizations)
filterVertexIdsByAuthorization in interface GraphfilterVertexIdsByAuthorization in class GraphBasepublic Iterable<GraphMetadataEntry> getMetadataInRange(org.apache.accumulo.core.data.Range range)
protected GraphMetadataStore getGraphMetadataStore()
getGraphMetadataStore in class GraphBaseWithSearchIndexprotected CloseableIterable<Vertex> getVerticesInRange(org.apache.accumulo.core.trace.Span trace, org.apache.accumulo.core.data.Range range, FetchHints fetchHints, Long endTime, Authorizations authorizations)
public CloseableIterable<Vertex> getVertices(Iterable<String> ids, FetchHints fetchHints, Long endTime, Authorizations authorizations)
getVertices in interface GraphgetVertices in class GraphBasepublic CloseableIterable<Edge> getEdges(Iterable<String> ids, FetchHints fetchHints, Long endTime, Authorizations authorizations)
public Iterable<Edge> getEdgesInRange(Range idRange, FetchHints fetchHints, Long endTime, Authorizations authorizations)
getEdgesInRange in interface GraphgetEdgesInRange in class GraphBaseprotected CloseableIterable<Edge> getEdgesInRange(org.apache.accumulo.core.trace.Span trace, String startId, String endId, FetchHints fetchHints, Long timestamp, Authorizations authorizations) throws VertexiumException
VertexiumExceptionprotected CloseableIterable<Edge> getEdgesInRange(org.apache.accumulo.core.trace.Span trace, org.apache.accumulo.core.data.Range range, FetchHints fetchHints, Long endTime, Authorizations authorizations) throws VertexiumException
VertexiumExceptionpublic long getVertexCount(Authorizations authorizations)
getVertexCount in interface GraphgetVertexCount in class GraphBasepublic long getEdgeCount(Authorizations authorizations)
getEdgeCount in interface GraphgetEdgeCount in class GraphBaseprotected Class<?> getValueType(Object value)
getValueType in class GraphBaseCopyright © 2014–2018. All rights reserved.