public class KeyIndexableGraphHelper extends Object
| Constructor and Description |
|---|
KeyIndexableGraphHelper() |
| Modifier and Type | Method and Description |
|---|---|
static long |
reIndexElements(Graph graph,
Iterable<? extends Element> elements,
Set<String> keys)
For those graphs that do no support automatic reindexing of elements when a key is provided for indexing, this method can be used to simulate that behavior.
|
public static long reIndexElements(Graph graph, Iterable<? extends Element> elements, Set<String> keys)
graph - the graph containing the provided elementselements - the elements to index into the key indiceskeys - the keys of the key indicesCopyright © 2010-2014. All Rights Reserved.