public class RDBMSOracleTextEdgeAutoIndex extends OracleTextAutoIndex<org.apache.tinkerpop.gremlin.structure.Edge>
OracleIndex.SEARCH_ENGINEEDGE_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, VERTEX_LABEL_PROP| Constructor and Description |
|---|
RDBMSOracleTextEdgeAutoIndex(java.lang.String indexName, OraclePropertyGraph opg, Parameter[] indexParameters, boolean erase)
Constructs a new RDBMSOracleTextEdgeAutoIndex object.
|
| Modifier and Type | Method and Description |
|---|---|
long |
count(java.lang.String key, java.lang.Object value, java.lang.Class dtClass, boolean acceptWildcard)
Counts all the matching elements that have a particular key/value property within the index
|
void |
dropIndex()
Clears all data stored in the index.
|
java.lang.String |
getDirectoryName()
Gets the directory name for this index.
|
java.lang.String |
getDocIdentifier()
Get index document's identifier.
|
java.util.Set<java.lang.String> |
getIndexedKeys()
Gets a list of all the indexed keys used for this automatic index.
|
int |
getPartitionsNumber()
Gets the number of HASH partitions of the edges table for the associated property graph.
|
int |
getTotalShards()
Gets the number of partitions in this index.
|
void |
reindexElements(java.lang.String key)
Re-index the elements of the associated property graph based on the specified keys.
|
buildSearchTerm, buildSearchTerm, clearIndex, close, containsIndexedKey, count, count, getGraphName, getIndexClass, getIndexName, getIndexParameters, getOracleIndexParameters, getParameters, getSearchEngineequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitget, indexElements, reindexElements, reindexElementsPartitionedadd, commit, get, get, get, getPartitioned, getPartitioned, getPartitioned, put, query, query, remove, remove, removeAllpublic RDBMSOracleTextEdgeAutoIndex(java.lang.String indexName,
OraclePropertyGraph opg,
Parameter[] indexParameters,
boolean erase)
indexName - the name of the indexopg - an OraclePropertyGraph object.indexParameters - a collection of parameters for the underlying index implementation.erase - a boolean specifying if the index should be cleared at the beginning.public long count(java.lang.String key,
java.lang.Object value,
java.lang.Class dtClass,
boolean acceptWildcard)
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 edges with the given key to be returned.dtClass - the class representing the datatype of the property value. This can be used to cast the property value to a different datatype. For example, if the value is "3.01" and dtValue is Float.Class, then this value will be treated as a 3.01f.acceptWildcard - specifies if wild cards can be used in the value object. the indexCloseableIterator object.public void dropIndex()
public java.lang.String getDirectoryName()
public java.lang.String getDocIdentifier()
public final java.util.Set<java.lang.String> getIndexedKeys()
public int getPartitionsNumber()
public int getTotalShards()
public final void reindexElements(java.lang.String key)
key - the key to use for re-indexing.