public class PartitionIndexableGraph<T extends IndexableGraph> extends PartitionGraph<T> implements IndexableGraph, WrapperGraph<T>
baseGraph| Constructor and Description |
|---|
PartitionIndexableGraph(T baseIndexableGraph,
String writeGraphKey,
String readWriteGraph) |
PartitionIndexableGraph(T baseIndexableGraph,
String writeGraphKey,
String writeGraph,
Set<String> readGraphs) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Element> |
createIndex(String indexName,
Class<T> indexClass,
Parameter... indexParameters)
Generate an index with a particular name for a particular class.
|
void |
dropIndex(String indexName)
Remove an index associated with the graph.
|
<T extends Element> |
getIndex(String indexName,
Class<T> indexClass)
Get an index from the graph by its name and index class.
|
Iterable<Index<? extends Element>> |
getIndices()
Get all the indices maintained by the graph.
|
addEdge, addReadPartition, addVertex, getBaseGraph, getEdge, getEdges, getEdges, getFeatures, getPartitionKey, getReadPartitions, getVertex, getVertices, getVertices, getWritePartition, isInPartition, query, removeEdge, removeReadPartition, removeVertex, setPartitionKey, setWritePartition, shutdown, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddEdge, addVertex, getEdge, getEdges, getEdges, getFeatures, getVertex, getVertices, getVertices, query, removeEdge, removeVertex, shutdowngetBaseGraphpublic PartitionIndexableGraph(T baseIndexableGraph, String writeGraphKey, String writeGraph, Set<String> readGraphs)
public void dropIndex(String indexName)
IndexableGraphdropIndex in interface IndexableGraphindexName - the name of the index to droppublic Iterable<Index<? extends Element>> getIndices()
IndexableGraphgetIndices in interface IndexableGraphpublic <T extends Element> Index<T> getIndex(String indexName, Class<T> indexClass)
IndexableGraphgetIndex in interface IndexableGraphT - the class of the elements being indexed (can be base class)indexName - the name of the index to retrieveindexClass - the class of the elements being indexed (can be base class)public <T extends Element> Index<T> createIndex(String indexName, Class<T> indexClass, Parameter... indexParameters)
IndexableGraphcreateIndex in interface IndexableGraphT - the element class that this index is indexing (can be base class)indexName - the name of the manual indexindexClass - the element class that this index is indexing (can be base class)indexParameters - a collection of parameters for the underlying index implementationCopyright © 2010-2014. All Rights Reserved.