public interface IndexableGraph extends Graph
| 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, getEdge, getEdges, getEdges, getFeatures, getVertex, getVertices, getVertices, query, removeEdge, removeVertex, shutdown<T extends Element> Index<T> createIndex(String indexName, Class<T> indexClass, Parameter... indexParameters)
T - 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 implementation<T extends Element> Index<T> getIndex(String indexName, Class<T> indexClass)
T - 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)Iterable<Index<? extends Element>> getIndices()
void dropIndex(String indexName)
indexName - the name of the index to dropCopyright © 2010-2014. All Rights Reserved.