public class RDBMSSolrVertexAutoIndex extends SolrVertexAutoIndex
EDGE_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, VERSION_PROP, VERTEX_ID_PROPEDGE_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 |
|---|
RDBMSSolrVertexAutoIndex(String indexName,
OraclePropertyGraph oraclePropertyGraph,
Parameter<String,Object>[] indexParameters,
boolean erase)
Constructs a new RDBMSSolrVertexAutoIndex 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
|
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, reindexElements, reindexElementsPartitionedadd, add, appendDatatypesSuffixToKey, appendDatatypesSuffixToValue, buildSearchTerm, buildSearchTerm, clearIndex, commit, commit, count, count, count, dropIndex, get, get, getCloudSolrServer, getDirectoryName, getGraphName, getIndexClass, getIndexName, getIndexParameters, getOracleIndexParameters, getParameters, getPartitioned, getShardsNames, getTotalShards, getTotalShards, put, query, query, remove, remove, remove, remove, 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 RDBMSSolrVertexAutoIndex(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 SolrAutoIndex<Vertex>public Object[] getConnectionsArray() throws SQLException
getConnectionsArray in interface OracleAutoIndex<Vertex>getConnectionsArray in class SolrAutoIndex<Vertex>SQLExceptionpublic Iterable<Vertex>[] getElementsFromPG(String[] keys, Object[] connArray, int partitionId)
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 int getPartitionsNumber()
public void refreshIndex(long lStartSCN,
long lEndSCN)
refreshIndex in interface OracleIndex<Vertex>refreshIndex in class SolrIndex<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 SolrAutoIndex<Vertex>keys - an array of indexed keysCopyright © 2017 Oracle and/or its affiliates. All Rights Reserved.