public class WrappedIndexableGraph<T extends IndexableGraph> extends WrappedGraph<T> implements IndexableGraph, WrapperGraph<T>
baseGraph| Constructor and Description |
|---|
WrappedIndexableGraph(T baseIndexableGraph) |
| 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, addVertex, getBaseGraph, getEdge, getEdges, getEdges, getFeatures, getVertex, getVertices, getVertices, query, removeEdge, removeVertex, shutdown, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddEdge, addVertex, getEdge, getEdges, getEdges, getFeatures, getVertex, getVertices, getVertices, query, removeEdge, removeVertex, shutdowngetBaseGraphpublic WrappedIndexableGraph(T baseIndexableGraph)
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.