public class ReadOnlyKeyIndexableGraph<T extends KeyIndexableGraph> extends ReadOnlyIndexableGraph<IndexableGraph> implements KeyIndexableGraph
baseGraph| Constructor and Description |
|---|
ReadOnlyKeyIndexableGraph(T baseKIGraph) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Element> |
createKeyIndex(String name,
Class<T> elementClass,
Parameter... indexParameters)
Create an automatic indexing structure for indexing provided key for element class.
|
<T extends Element> |
dropKeyIndex(String name,
Class<T> elementClass)
Remove an automatic indexing structure associated with indexing provided key for element class.
|
<T extends Element> |
getIndexedKeys(Class<T> elementClass)
Return all the index keys associated with a particular element class.
|
createIndex, dropIndex, getIndex, getIndicesaddEdge, 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 ReadOnlyKeyIndexableGraph(T baseKIGraph)
public <T extends Element> void dropKeyIndex(String name, Class<T> elementClass) throws UnsupportedOperationException
KeyIndexableGraphdropKeyIndex in interface KeyIndexableGraphT - the element class specificationname - the key to drop the index forelementClass - the element class that the index is forUnsupportedOperationExceptionpublic <T extends Element> void createKeyIndex(String name, Class<T> elementClass, Parameter... indexParameters) throws UnsupportedOperationException
KeyIndexableGraphcreateKeyIndex in interface KeyIndexableGraphT - the element class specificationname - the key to create the index forelementClass - the element class that the index is forindexParameters - a collection of parameters for the underlying index implementationUnsupportedOperationExceptionpublic <T extends Element> Set<String> getIndexedKeys(Class<T> elementClass)
KeyIndexableGraphgetIndexedKeys in interface KeyIndexableGraphT - the element class specificationelementClass - the element class that the index is forCopyright © 2010-2014. All Rights Reserved.