public class EventIndexableGraph<T extends IndexableGraph> extends EventGraph<T> implements IndexableGraph, WrapperGraph<T>
baseGraph, graphChangedListeners, trigger| Constructor and Description |
|---|
EventIndexableGraph(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 name)
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, addListener, addVertex, getBaseGraph, getEdge, getEdges, getEdges, getFeatures, getListenerIterator, getTrigger, getVertex, getVertices, getVertices, onEdgeAdded, onEdgeRemoved, onVertexAdded, onVertexRemoved, query, removeAllListeners, removeEdge, removeListener, removeVertex, shutdown, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddEdge, addVertex, getEdge, getEdges, getEdges, getFeatures, getVertex, getVertices, getVertices, query, removeEdge, removeVertex, shutdowngetBaseGraphpublic EventIndexableGraph(T baseIndexableGraph)
public void dropIndex(String name)
IndexableGraphdropIndex in interface IndexableGraphname - the name of the index to droppublic <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 implementationpublic <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 Iterable<Index<? extends Element>> getIndices()
IndexableGraphgetIndices in interface IndexableGraphCopyright © 2010-2014. All Rights Reserved.