public class NoSQLLuceneEdgeAutoIndex extends LuceneEdgeAutoIndex
EDGE_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 |
---|
NoSQLLuceneEdgeAutoIndex(String indexName, OraclePropertyGraph oraclePropertyGraph, Parameter<String,Object>[] indexParameters, boolean erase)
Constructs a new NoSQLLuceneEdgeAutoIndex 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, getPartitioned
close, containsIndexedKey, getIndexedKeys, indexElements, indexElementsPartitioned, loadIndexedKeys, put, put, reindexElements, reindexElements, reindexElements, reindexElementsNoPartitioned, reindexElementsPartitioned, reindexElementsPartitioned, reindexElementsPartitioned
add, addToDeleteCache, buildSearchTerm, buildSearchTerm, clearIndex, commit, count, count, count, deleteExistingDirectories, dropIndex, get, get, getDirectory, getDirectoryName, getGraphName, getIndexClass, getIndexName, getIndexParameters, getOracleDirectory, getOracleIndexParameters, getOracleSearcherManager, getParameters, getPartitioned, getSearcherFactory, getTotalShards, isAutoIndex, isDelBatchEmpty, isDelBatchFull, isUpdatesBatchEmpty, isUpdatesBatchFull, query, query, remove, remove, remove, remove, removeAll, removeAll
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
get
add, buildSearchTerm, buildSearchTerm, clearIndex, commit, count, count, dropIndex, getDirectoryName, getGraphName, getIndexClass, getOracleIndexParameters, getParameters, getPartitioned, getTotalShards, isDelBatchEmpty, isDelBatchFull, isUpdatesBatchEmpty, isUpdatesBatchFull, query, refreshIndex, remove, removeAll
public NoSQLLuceneEdgeAutoIndex(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 LuceneAutoIndex<Edge>
public Object[] getConnectionsArray() throws IOException
getConnectionsArray
in interface OracleAutoIndex<Edge>
getConnectionsArray
in class LuceneAutoIndex<Edge>
IOException
public Iterable<Edge>[] getElementsFromPG(String[] keys, Object[] connArray, int iStartSplitId)
getElementsFromPG
in interface OracleAutoIndex<Edge>
getElementsFromPG
in class LuceneAutoIndex<Edge>
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()
getPartitionsNumber
in interface OracleAutoIndex<Edge>
getPartitionsNumber
in class LuceneAutoIndex<Edge>
Copyright © 2015 Oracle and/or its afflilates. All Rights Reserved.