public class NoSQLSolrEdgeAutoIndex extends SolrEdgeAutoIndex
EDGE_ID_PROP, TYPE_DT_BOOL, TYPE_DT_DATE, TYPE_DT_DOUBLE, TYPE_DT_FLOAT, TYPE_DT_INTEGER, TYPE_DT_SERIALIZABLE, TYPE_DT_STRING, VERSION_PROP, VERTEX_ID_PROPEDGE_ID_PROP, EDGE_LABEL_PROP, END_NODE_ID_PROP, START_NODE_ID_PROP, TYPE_DT_BOOL, TYPE_DT_DATE, TYPE_DT_DOUBLE, TYPE_DT_FLOAT, TYPE_DT_INTEGER, TYPE_DT_SERIALIZABLE, TYPE_DT_STRING, VERTEX_ID_PROP| Constructor and Description |
|---|
NoSQLSolrEdgeAutoIndex(String indexName, OraclePropertyGraph oraclePropertyGraph, Parameter<String,Object>[] indexParameters, boolean erase)
Constructs a new NoSQLSolrEdgeAutoIndex object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
closeConnectionsArray()
Closes the connection array.
|
Object[] |
getConnectionsArray()
Gets the connection array.
|
Iterable<Edge>[] |
getElementsFromPG(String[] keys, Object[] connArray, int iStartSplitId)
Gets an Iterable<Edge> of edges from the associated property graph, matching the specified keys.
|
int |
getPartitionsNumber()
Gets the number of partitions of the edges table for the associated property graph.
|
get, getDocIdentifier, getElementsFromPG, getElementsFromPG, getElementsFromPG, getPartitionedclose, containsIndexedKey, getIndexedKeys, indexElements, indexElementsPartitioned, loadIndexedKeys, put, reindexElements, reindexElements, reindexElements, reindexElementsNoPartitioned, reindexElementsPartitioned, reindexElementsPartitioned, reindexElementsPartitionedadd, add, buildSearchTerm, buildSearchTerm, clearIndex, commit, count, count, count, dropIndex, get, get, getCloudSolrServer, getDirectoryName, getGraphName, getIndexClass, getIndexName, getIndexParameters, getOracleIndexParameters, getParameters, getPartitioned, getShardsNames, getTotalShards, getTotalShards, isDelBatchEmpty, isDelBatchFull, isUpdatesBatchEmpty, isUpdatesBatchFull, put, query, query, remove, remove, remove, remove, removeAllequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetadd, buildSearchTerm, buildSearchTerm, clearIndex, commit, count, count, dropIndex, getDirectoryName, getGraphName, getIndexClass, getOracleIndexParameters, getParameters, getPartitioned, getTotalShards, isDelBatchEmpty, isDelBatchFull, isUpdatesBatchEmpty, isUpdatesBatchFull, query, refreshIndex, remove, removeAllpublic NoSQLSolrEdgeAutoIndex(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<Edge>closeConnectionsArray in class SolrAutoIndex<Edge>public Object[] getConnectionsArray() throws IOException
getConnectionsArray in interface OracleAutoIndex<Edge>getConnectionsArray in class SolrAutoIndex<Edge>IOExceptionpublic Iterable<Edge>[] getElementsFromPG(String[] keys, Object[] connArray, int iStartSplitId)
keys - an array of the keys to be queried over the property graph.connArray - an array used for concurrent querying inside the Oracle property graph. Each element of this array must be an instance of KVStoreConfigiStartSplitId - the starting split used for querying.public int getPartitionsNumber()
Copyright © 2015 Oracle and/or its afflilates. All Rights Reserved.