public interface OracleAutoIndex<T extends Element> extends OracleIndex<T>
EDGE_ID_PROP, EDGE_LABEL_PROP, END_NODE_ID_PROP, m_dtValues, 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_JSON, TYPE_DT_LONG, TYPE_DT_SERIALIZABLE, TYPE_DT_SHORT, TYPE_DT_SPATIAL, TYPE_DT_STRING, TYPE_DT_URI, 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 an Iterable object with all the matching elements that have a particular key/value 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)
key
- the key to validateCloseableIterable<T> get(String key, Object value, boolean acceptWildcard)
get
in interface OracleIndex<T extends Element>
key
- the name of the property. It MUST not be NULL. If the key is not found in the index, the result will be 0.value
- the value object of the property. It can be NULL which will cause all elements with the given key to be returned.acceptWildcard
- 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 afflilates. All Rights Reserved.