public class RDBMSIndexManager extends OracleIndexManager implements MesgConsts
OraclePropertyGraph
object.EDGE_CLASS_ID, VERTEX_CLASS_ID
ERR_ARG_CANNOT_BE_NULL, ERR_CODE_NOT_IN_LIST, ERR_DOP_CONSTRAINT, ERR_E_AUTO_IDX_MUST_SOLR_OR_LUCENE, ERR_E_AUTO_IDX_NOT_EXIST, ERR_E_DS_MUSTBE_FILE_OR_IS, ERR_E_MAX_LINE_CONSTRAINT, ERR_EDGE_DIR_NOT_BOTH, ERR_EDGE_WORK_TBL_NOT_CLEAN, ERR_GRAPH_NAME_CANT_BENULL, ERR_HIT_EXCEPTION, ERR_HIT_INTERRUPT, ERR_HIT_IO, ERR_HIT_OPGE, ERR_HIT_PARSEE, ERR_ID_CANNOT_BE_NULL, ERR_IDX_KEY_CANNOT_BE_NULL, ERR_IDX_KEY_NOT_NULL, ERR_IDX_KEYS_NOT_NULL, ERR_IN_DS_EDGE_CANTBE_NULL, ERR_IN_DS_VERT_CANTBE_NULL, ERR_IN_E_FLAT_DOESNT_EXIST, ERR_IN_V_FLAT_DOESNT_EXIST, ERR_INPUT_LIST_NOT_NULL, ERR_INPUT_NOT_NULL, ERR_INVALID_CHANGE_ACTION, ERR_INVALID_NUM_FIELDS, ERR_INVALID_NUM_NOARG, ERR_INVALID_NUMBER, ERR_INVALID_VAL, ERR_KEY_CANNOT_BE_ID, ERR_KEY_CANNOT_BE_NULL, ERR_KEY_CANNOT_BE_NULL_EMPTY, ERR_KEY_NOT_SET_TO, ERR_NO_ELEM_TO_BE_CONSUMED, ERR_NO_OP_SUPPORTED, ERR_NOT_IMPLEMENTED_YET, ERR_NOT_ORACLE_V_E, ERR_NUM_PART_CONSTRAINT, ERR_OFFSET_CONSTRAINT, ERR_OFFSET_E_MUST_BE_POS, ERR_OFFSET_V_MUST_BE_POS, ERR_OPT_FLAG_EDGE_INVALID, ERR_OPT_FLAG_VERT_INVALID, ERR_ORA_TEXT_INVALID_KEY, ERR_ORA_TEXT_ONLY_AUTO, ERR_OUTPUT_LIST_NOT_NULL, ERR_PG_ALREADY_EXISTS, ERR_PG_NOT_EMPTY, ERR_PG_NOT_NULL, ERR_SIZE_MUST_BE_POS, ERR_TIMEOUT_TAB_CREATION, ERR_TXT_IDX_NOT_FOUND, ERR_TYPE_ID_NOT_RECO, ERR_UNSUPPORTED_VAL_TYP, ERR_USER_REQ_OP_CANCEL, ERR_V_AUTO_IDX_MUST_SOLR_OR_LUCENE, ERR_V_AUTO_IDX_NOT_EXIST, ERR_V_DS_MUSTBE_FILE_OR_IS, ERR_V_MAX_LINE_CONSTRAINT, ERR_VALUE_CANNOT_BE_NULL, INFO_EMP_K_NO_P_VAL, INFO_NUL_K_NO_P_VAL, TYPE_DT_BOOL, TYPE_DT_BYTE, TYPE_DT_CHAR, TYPE_DT_DATE, TYPE_DT_DOUBLE, TYPE_DT_EMPTY, TYPE_DT_FLOAT, TYPE_DT_INTEGER, TYPE_DT_JSON, TYPE_DT_LONG, TYPE_DT_SERI, TYPE_DT_SHORT, TYPE_DT_SPATIAL, TYPE_DT_STRING, TYPE_DT_URI
Constructor and Description |
---|
RDBMSIndexManager(OraclePropertyGraph opg)
Creates a new RDBMSIndexManager object, handling external indexes associated to the specified property graph.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes this index manager object.
|
void |
commitIndices()
Commits all open indices.
|
<T extends com.tinkerpop.blueprints.Element> |
containsIndexedKeyFromDB(java.lang.String key, java.lang.String indexName, java.lang.Class<T> indexClass)
Verifies if the auto index contains the specified index key.
|
void |
dropIndexMetadata()
Drops all indices handled by this index manager.
|
<T extends com.tinkerpop.blueprints.Element> |
getIndexedKeys(java.lang.String indexName, java.lang.Class<T> indexClass)
Gets all the keys associated to the specified auto index and stored in the index meta data table.
|
java.lang.String |
getIndexTabName()
Gets the name of the table defined to store all external index meta data.
|
void |
initStatements()
This method initializes a set of SQL statements
|
void |
refreshIndices(long lStartSCN, long lEndSCN)
Refresh all stored indices
|
<T extends com.tinkerpop.blueprints.Element> |
stopAutoIndexingProperty(java.lang.String key, java.lang.Class<T> elementClass)
Removes the specified key to the properties used for auto indexing.
|
clearAndCloseIndices, clearIndices, closeIndices, containsIndexedKey, createIndex, disableEdgeAutoIndexer, disableVertexAutoIndexer, dropAllAutoIndices, dropAllIndices, dropAllManualIndices, dropIndex, dropIndex, dropIndices, enableEdgeAutoIndexer, enableVertexAutoIndexer, existEdgeIndex, existVertexIndex, getEdgeAutoIndexName, getEdgeIndex, getEntityTypeAsInt, getIndices, getVertexAutoIndexName, getVertexIndex, indexAlreadyExists, isEdgeAutoIndexerEnabled, isVertexAutoIndexerEnabled, refreshAllIndicesCache, refreshAutoIndices, refreshEdgeAutoIndexCache, refreshEdgeIndicesCache, refreshIndicesCache, refreshManualIndicesCache, refreshVertexAutoIndexCache, refreshVertexIndicesCache, remove, remove, removePropertyFromIndices, startAutoIndexingProperties, startAutoIndexingProperty, stopAutoIndexingProperties
public RDBMSIndexManager(OraclePropertyGraph opg)
opg
- a OraclePropertyGraph
object.public final void close()
close
in class OracleIndexManager
public void commitIndices()
commitIndices
in class OracleIndexManager
public <T extends com.tinkerpop.blueprints.Element> boolean containsIndexedKeyFromDB(java.lang.String key, java.lang.String indexName, java.lang.Class<T> indexClass)
indexName
- the name of the auto index.key
- the key to validate.public void dropIndexMetadata()
public <T extends com.tinkerpop.blueprints.Element> java.util.List<java.lang.String> getIndexedKeys(java.lang.String indexName, java.lang.Class<T> indexClass)
getIndexedKeys
in class OracleIndexManager
indexName
- the name of the auto index.indexClass
- the class associated to the index (Vertex, Edge)public java.lang.String getIndexTabName()
public void initStatements()
public void refreshIndices(long lStartSCN, long lEndSCN)
public <T extends com.tinkerpop.blueprints.Element> void stopAutoIndexingProperty(java.lang.String key, java.lang.Class<T> elementClass)
stopAutoIndexingProperty
in class OracleIndexManager
key
- the key which will be used to generate the indexelementClass
- the class of the auto index.Copyright © 2017, 2018 Oracle and/or its affiliates. All Rights Reserved.