public interface KeyIndexableGraph extends Graph
| Modifier and Type | Method and Description |
|---|---|
<T extends Element> |
createKeyIndex(String key,
Class<T> elementClass,
Parameter... indexParameters)
Create an automatic indexing structure for indexing provided key for element class.
|
<T extends Element> |
dropKeyIndex(String key,
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.
|
addEdge, addVertex, getEdge, getEdges, getEdges, getFeatures, getVertex, getVertices, getVertices, query, removeEdge, removeVertex, shutdown<T extends Element> void dropKeyIndex(String key, Class<T> elementClass)
T - the element class specificationkey - the key to drop the index forelementClass - the element class that the index is for<T extends Element> void createKeyIndex(String key, Class<T> elementClass, Parameter... indexParameters)
T - the element class specificationkey - the key to create the index forelementClass - the element class that the index is forindexParameters - a collection of parameters for the underlying index implementation<T extends Element> Set<String> getIndexedKeys(Class<T> elementClass)
T - the element class specificationelementClass - the element class that the index is forCopyright © 2010-2014. All Rights Reserved.