public interface OracleAutoIndex<T extends Element> extends OracleIndex<T>
EDGE_ID_PROP, EDGE_LABEL_PROP, END_NODE_ID_PROP, START_NODE_ID_PROP, TYPE_DT_BOOL, TYPE_DT_BYTE, TYPE_DT_CHAR, TYPE_DT_DATE, TYPE_DT_DOUBLE, TYPE_DT_FLOAT, TYPE_DT_INTEGER, TYPE_DT_LONG, TYPE_DT_SERIALIZABLE, TYPE_DT_SHORT, TYPE_DT_STRING, VERTEX_ID_PROP
Modifier and Type | Method and Description |
---|---|
boolean |
containsIndexedKey(String key)
Verifies if the given key is already indexed using this automatic index.
|
CloseableIterable<T> |
get(String key,
Object value,
boolean acceptWildcard)
Gets all the elements matching the specified K/V property within
the index
|
Set<String> |
getIndexedKeys()
Get the keys associated to this auto index.
|
void |
indexElements()
Index elements in a property graph with respect to the current indexed keys.
|
void |
reindexElements()
Re-index the elements of the associated property graph based on the
current indexed keys.
|
void |
reindexElementsPartitioned()
Re-index the elements of the associated property graph based on the
current indexed keys using getElementsPartitioned APIs.
|
add, buildSearchTerm, buildSearchTerm, clearIndex, close, commit, count, count, dropIndex, get, get, getDirectoryName, getDocIdentifier, getGraphName, getIndexClass, getOracleIndexParameters, getParameters, getPartitioned, getPartitioned, getPartitioned, getTotalShards, query, remove, removeAll
boolean containsIndexedKey(String key)
CloseableIterable<T> get(String key, Object value, boolean acceptWildcard)
get
in interface OracleIndex<T extends Element>
key
- the key of the K/V propertyvalue
- the value object of the K/V propertyacceptWildcard
- specifies if wild cards can be used in the value object.CloseableIterable
object.Set<String> getIndexedKeys()
void indexElements()
void reindexElements()
void reindexElementsPartitioned()
Copyright © 2016 Oracle and/or its affiliates. All Rights Reserved.