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(String indexName,
OraclePropertyGraph oraclePropertyGraph,
Parameter<String,Object>[] indexParameters,
boolean erase)
Constructs a new RDBMSLuceneVertexAutoIndex object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
closeConnectionsArray()
Closes the connection array.
|
Object[] |
getConnectionsArray()
Gets the connection array.
|
Iterable<Vertex>[] |
getElementsFromPG(String[] keys,
Object[] connArray,
int partitionId)
Gets an Iterable
|
OracleDirectory |
getOracleDirectory()
Gets the Oracle Directory storing all index data.
|
OraclePool[] |
getOraclePool(Map<String,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(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, removeAllpublic RDBMSLuceneVertexAutoIndex(String indexName, OraclePropertyGraph oraclePropertyGraph, Parameter<String,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<Vertex>closeConnectionsArray in class LuceneAutoIndex<Vertex>public Object[] getConnectionsArray() throws SQLException
getConnectionsArray in interface OracleAutoIndex<Vertex>getConnectionsArray in class LuceneAutoIndex<Vertex>SQLExceptionpublic Iterable<Vertex>[] getElementsFromPG(String[] keys, Object[] connArray, int partitionId)
getElementsFromPG in interface OracleAutoIndex<Vertex>getElementsFromPG in class LuceneAutoIndex<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<Vertex>OracleDirectory object.public OraclePool[] getOraclePool(Map<String,Object> indexParams)
OraclePool object.public int getPartitionsNumber()
getPartitionsNumber in interface OracleAutoIndex<Vertex>getPartitionsNumber in class LuceneAutoIndex<Vertex>public void refreshIndex(long lStartSCN,
long lEndSCN)
refreshIndex in interface OracleIndex<Vertex>refreshIndex in class LuceneIndex<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(String[] keys)
reindexElementsPartitioned in interface OracleAutoIndex<Vertex>reindexElementsPartitioned in class LuceneAutoIndex<Vertex>keys - an array of indexed keysCopyright © 2017 Oracle and/or its affiliates. All Rights Reserved.