public class RDBMSLuceneVertexAutoIndex extends LuceneVertexAutoIndex
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| Constructor and Description |
|---|
RDBMSLuceneVertexAutoIndex(java.lang.String indexName, OraclePropertyGraph oraclePropertyGraph, com.tinkerpop.blueprints.Parameter<java.lang.String,java.lang.Object>[] indexParameters, boolean erase)
Constructs a new RDBMSLuceneVertexAutoIndex object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
closeConnectionsArray()
Closes the connection array.
|
java.lang.Object[] |
getConnectionsArray()
Gets the connection array.
|
java.lang.Iterable<com.tinkerpop.blueprints.Vertex>[] |
getElementsFromPG(java.lang.String[] keys, java.lang.Object[] connArray, int partitionId)
Gets an Iterable<Vertex> of vertices from the associated property graph, matching the specified keys.
|
OracleDirectory |
getOracleDirectory()
Gets the Oracle Directory storing all index data.
|
OraclePool[] |
getOraclePool(java.util.Map<java.lang.String,java.lang.Object> indexParams)
Get the Oracle Pool associated to the specified index parameters
|
int |
getPartitionsNumber()
Gets the number of HASH partitions of the vertices table for the associated property graph.
|
void |
refreshIndex(long lStartSCN, long lEndSCN)
Auto-refresh an index based on all insert/deletes between the specified start and end SCN.
|
void |
reindexElementsPartitioned(java.lang.String[] keys)
Re-index all elements over a non-partitioned graph.
|
get, get, getDocIdentifier, getPartitioned, getPartitionedclose, containsIndexedKey, getIndexedKeys, indexElements, put, put, reindexElements, reindexElementsPartitionedadd, appendDatatypesSuffixToKey, appendDatatypesSuffixToValue, buildSearchTerm, buildSearchTerm, buildSearchTermObject, clearIndex, commit, count, count, count, dropIndex, get, get, getDirectory, getDirectoryName, getGraphName, getIndexClass, getIndexName, getIndexParameters, getOracleIndexParameters, getOracleSearcherManager, getOracleSearcherManager, getParameters, getPartitioned, getSearcherFactory, getTotalShards, isAutoIndex, query, query, remove, remove, remove, remove, removeAll, removeAllequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontainsIndexedKey, get, getIndexedKeys, indexElements, reindexElements, reindexElementsPartitionedadd, buildSearchTerm, buildSearchTerm, clearIndex, close, commit, count, count, dropIndex, getDirectoryName, getGraphName, getIndexClass, getOracleIndexParameters, getParameters, getPartitioned, getTotalShards, query, remove, removeAll
public RDBMSLuceneVertexAutoIndex(java.lang.String indexName,
OraclePropertyGraph oraclePropertyGraph,
com.tinkerpop.blueprints.Parameter<java.lang.String,java.lang.Object>[] indexParameters,
boolean erase)
indexName - the name of the indexoraclePropertyGraph - 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 void closeConnectionsArray()
closeConnectionsArray in interface OracleAutoIndex<com.tinkerpop.blueprints.Vertex>closeConnectionsArray in class LuceneAutoIndex<com.tinkerpop.blueprints.Vertex>
public java.lang.Object[] getConnectionsArray()
throws java.sql.SQLException
getConnectionsArray in interface OracleAutoIndex<com.tinkerpop.blueprints.Vertex>getConnectionsArray in class LuceneAutoIndex<com.tinkerpop.blueprints.Vertex>java.sql.SQLException
public java.lang.Iterable<com.tinkerpop.blueprints.Vertex>[] getElementsFromPG(java.lang.String[] keys,
java.lang.Object[] connArray,
int partitionId)
getElementsFromPG in interface OracleAutoIndex<com.tinkerpop.blueprints.Vertex>getElementsFromPG in class LuceneAutoIndex<com.tinkerpop.blueprints.Vertex>keys - a list of the keys to be queried over the property graph.connArray - a Connection array used for concurrent querying inside the Oracle property graph.partitionId - the starting partition used for querying.public OracleDirectory getOracleDirectory()
getOracleDirectory in class LuceneIndex<com.tinkerpop.blueprints.Vertex>OracleDirectory object.public OraclePool[] getOraclePool(java.util.Map<java.lang.String,java.lang.Object> indexParams)
OraclePool object.public int getPartitionsNumber()
getPartitionsNumber in interface OracleAutoIndex<com.tinkerpop.blueprints.Vertex>getPartitionsNumber in class LuceneAutoIndex<com.tinkerpop.blueprints.Vertex>
public void refreshIndex(long lStartSCN,
long lEndSCN)
refreshIndex in interface OracleIndex<com.tinkerpop.blueprints.Vertex>refreshIndex in class LuceneIndex<com.tinkerpop.blueprints.Vertex>lStartSCN - start SCN value. A NULL value will be treated as MINVALUE to the underlying Oracle Database.lEndSCN - end SCN value. A NULL value will be treated as MAXVALUE to the underlying Oracle Database.public void reindexElementsPartitioned(java.lang.String[] keys)
reindexElementsPartitioned in interface OracleAutoIndex<com.tinkerpop.blueprints.Vertex>reindexElementsPartitioned in class LuceneAutoIndex<com.tinkerpop.blueprints.Vertex>keys - an array of indexed keysCopyright © 2017, 2018 Oracle and/or its affiliates. All Rights Reserved.