| Constructor and Description |
|---|
IdVertexIndex(Index<Vertex> baseIndex,
IdGraph idGraph) |
| Modifier and Type | Method and Description |
|---|---|
long |
count(String key,
Object value)
Get a count of elements with a particular key/value pair.
|
CloseableIterable<Vertex> |
get(String key,
Object value)
Get all elements that are indexed by the provided key/value.
|
Class<Vertex> |
getIndexClass()
Get the class that this index is indexing.
|
String |
getIndexName()
Get the name of the index.
|
void |
put(String key,
Object value,
Vertex element)
Index an element by a key and a value.
|
CloseableIterable<Vertex> |
query(String key,
Object query)
Get all the elements that are indexed by the provided key and specified query object.
|
void |
remove(String key,
Object value,
Vertex element)
Remove an element indexed by a particular key/value.
|
public String getIndexName()
IndexgetIndexName in interface Index<Vertex>public Class<Vertex> getIndexClass()
IndexgetIndexClass in interface Index<Vertex>public void put(String key, Object value, Vertex element)
Indexpublic CloseableIterable<Vertex> get(String key, Object value)
Indexpublic CloseableIterable<Vertex> query(String key, Object query)
Indexpublic long count(String key, Object value)
IndexCopyright © 2010-2014. All Rights Reserved.