public class HBaseIndexManager extends OracleIndexManager
OraclePropertyGraph object.EDGE_CLASS_ID, VERTEX_CLASS_ID| Constructor and Description |
|---|
HBaseIndexManager(OraclePropertyGraph opg)
Creates a new HBaseIndexManager object, handling all Lucene indexes of the specified property graph.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addLuceneParametersToPut(org.apache.hadoop.hbase.client.Put p, OracleIndex index)
Adds the required Lucene Parameters to the Put operation
|
void |
addSolrParametersToPut(org.apache.hadoop.hbase.client.Put p, OracleIndex index)
Adds the required Solr Parameters to the Put operation
|
<T extends Element> |
getIndexedKeys(String indexName, Class<T> indexClass)
Gets all the keys associated to the specified auto index and stored in the index meta data table.
|
void |
getLuceneParametersFromResult(List<Parameter> parameters, org.apache.hadoop.hbase.client.Result result)
Gets the Lucene Parameters from the Result object and adds them to the List
|
void |
getSolrParametersFromResult(List<Parameter> parameters, org.apache.hadoop.hbase.client.Result result)
Gets the Solr Parameters from the Result object and adds them to the List
|
clearAndCloseIndices, clearIndices, close, closeIndices, commitIndices, containsIndexedKey, createIndex, disableEdgeAutoIndexer, disableVertexAutoIndexer, dropAllAutoIndices, dropAllIndices, dropAllManualIndices, dropIndex, dropIndices, enableEdgeAutoIndexer, enableVertexAutoIndexer, existEdgeIndex, existVertexIndex, getEdgeAutoIndexer, getEdgeAutoIndexName, getEdgeIndex, getEntityTypeAsInt, getIndices, getVertexAutoIndexer, getVertexAutoIndexName, getVertexIndex, indexAlreadyExists, isEdgeAutoIndexerEnabled, isVertexAutoIndexerEnabled, remove, removePropertyFromIndices, startAutoIndexingProperties, startAutoIndexingProperty, stopAutoIndexingProperties, stopAutoIndexingPropertypublic HBaseIndexManager(OraclePropertyGraph opg)
opg - a OraclePropertyGraph object.
public void addLuceneParametersToPut(org.apache.hadoop.hbase.client.Put p,
OracleIndex index)
p - the Put object to add the Parameters to.index - the OracleIndex object with the Parameters to add to the Put.
public void addSolrParametersToPut(org.apache.hadoop.hbase.client.Put p,
OracleIndex index)
p - the Put object to add the Parameters to.index - the OracleIndex object with the Parameters to add to the Put.public <T extends Element> List<String> getIndexedKeys(String indexName, Class<T> indexClass)
getIndexedKeys in class OracleIndexManagerindexName - the name of the auto index.indexClass - the class associated to the index (Vertex, Edge)public void getLuceneParametersFromResult(List<Parameter> parameters, org.apache.hadoop.hbase.client.Result result)
parameters - the List of Parameters to add the Parameters to.result - the Result object to get the parameters from.public void getSolrParametersFromResult(List<Parameter> parameters, org.apache.hadoop.hbase.client.Result result)
parameters - the List of Parameters to add the Parameters to.result - the Result object to get the parameters from.Copyright © 2015 Oracle and/or its affiliates. All Rights Reserved.