public interface OracleIndexableGraph extends oracle.pg.common.messages.MesgConsts, OracleMessageConstants
Modifier and Type | Field and Description |
---|---|
static boolean |
ms_bDebug |
static SimpleLog |
ms_log |
MG_ERR_USER_REQ_OP_CANCEL, ms_nfe, MSG_E_AUTO_IDX_MUST_SOLR_OR_LUCENE, MSG_E_AUTO_IDX_NOT_EXIST, MSG_ERR_ARG_CANNOT_BE_NULL, MSG_ERR_ID_CANNOT_BE_NULL, MSG_ERR_NO_ELEM_TO_BE_CONSUMED, MSG_ERR_NO_OP_SUPPORTED, MSG_IDX_KEY_NOT_NULL, MSG_IDX_KEYS_NOT_NULL, MSG_TXT_IDX_NOT_FOUND, MSG_V_AUTO_IDX_MUST_SOLR_OR_LUCENE, MSG_V_AUTO_IDX_NOT_EXIST
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
Modifier and Type | Method and Description |
---|---|
<T extends org.apache.tinkerpop.gremlin.structure.Element> |
createIndex(java.lang.String indexName,
java.lang.Class<T> indexClass,
Parameter... indexParameters)
Generates an index with a particular name, for a particular class, and of a particular type.
|
default <T extends org.apache.tinkerpop.gremlin.structure.Element> |
createKeyIndex(java.lang.String[] keys,
java.lang.Class<T> elementClass)
Creates an automatically maintained index for the given keys and element class.
|
default <T extends org.apache.tinkerpop.gremlin.structure.Element> |
createKeyIndex(java.lang.String[] keys,
java.lang.Class<T> elementClass,
Parameter... parameters)
Creates an automatically maintained index for the given keys and element class.
|
default <T extends org.apache.tinkerpop.gremlin.structure.Element> |
createKeyIndex(java.lang.String key,
java.lang.Class<T> elementClass,
Parameter... parameters)
Creates an automatic indexing structure for indexing provided key for element class.
|
default void |
dropAllAutoIndices()
Drops all existing automatic indices (vertex and edges).
|
default void |
dropAllIndices()
Drops all existing indices.
|
default void |
dropAllManualIndices()
Drops all existing manual indices (vertices and edges).
|
default void |
dropIndex(java.lang.String indexName)
Removes an index associated with the graph.
|
default <T extends org.apache.tinkerpop.gremlin.structure.Element> |
dropKeyIndex(java.lang.String[] keys,
java.lang.Class<T> elementClass)
Removes an automatic indexing structure associated with indexing provided key for element class.
|
default <T extends org.apache.tinkerpop.gremlin.structure.Element> |
dropKeyIndex(java.lang.String[] keys,
java.lang.Class<T> elementClass,
Parameter... parameters)
Removes an automatic indexing structure associated with indexing provided key for element class.
|
default <T extends org.apache.tinkerpop.gremlin.structure.Element> |
dropKeyIndex(java.lang.String key,
java.lang.Class<T> elementClass)
Removes an automatic indexing structure associated with indexing provided key for element class.
|
default org.apache.tinkerpop.gremlin.structure.util.CloseableIterator<org.apache.tinkerpop.gremlin.structure.Edge> |
edgesUsingTextSearch(java.lang.String query)
Return an iterable to all matching edges that satisfy a particular text search query.
|
default <T extends org.apache.tinkerpop.gremlin.structure.Element> |
getAutoIndex(java.lang.Class<T> indexClass)
Gets an automatic index from the graph by its name and index class.
|
default java.lang.Class<?> |
getDatatypeClassFromValueObjForTextIndex(java.lang.Object value)
Gets the data type class from the given value object.
|
OracleIndexParameters |
getDefaultIndexParameters()
Get the public default index parameters associated to this property graph.
|
default <T extends org.apache.tinkerpop.gremlin.structure.Element> |
getIndex(java.lang.String indexName,
java.lang.Class<T> indexClass)
Gets a manual index from the graph by its name and index class.
|
default <T extends org.apache.tinkerpop.gremlin.structure.Element> |
getIndexedKeys(java.lang.Class<T> elementClass)
Returns all the index keys associated with a particular element class.
|
default <T extends org.apache.tinkerpop.gremlin.structure.Element> |
getIndexParameters(java.lang.String indexName,
java.lang.Class<T> indexClass)
Gets the index parameters associated to the given text index.
|
default java.util.Iterator<OracleIndex<? extends org.apache.tinkerpop.gremlin.structure.Element>> |
getIndices()
Gets all the indices maintained by the graph.
|
OracleIndexManager |
getOracleIndexManager()
Gets the OracleIndexManager object associated to this property graph instance.
|
default boolean |
isEdgeAutoIndexEnabled(java.lang.String key)
Validates if the edge auto index is currently enabled
|
default boolean |
isVertexAutoIndexEnabled(java.lang.String key)
Validates if the vertex auto index is currently enabled
|
default void |
refreshAutoIndices()
Refreshes all automatic indices based to the most up-to-date state of the property graph.
|
void |
setDefaultIndexParameters(OracleIndexParameters indexParams)
Set the public default index parameters associated to this property graph.
|
default void |
validateIndexManager() |
default org.apache.tinkerpop.gremlin.structure.util.CloseableIterator<org.apache.tinkerpop.gremlin.structure.Vertex> |
verticesUsingTextSearch(java.lang.String query)
Return an iterable to all matching vertices that satisfy a particular text search query.
|
static final boolean ms_bDebug
static final SimpleLog ms_log
<T extends org.apache.tinkerpop.gremlin.structure.Element> OracleIndex<T> createIndex(java.lang.String indexName, java.lang.Class<T> indexClass, Parameter... indexParameters)
indexName
- the name of the indexindexClass
- >the element class that this index is indexing (can be base class)indexParameters
- a collection of parameters for the underlying index implementationdefault <T extends org.apache.tinkerpop.gremlin.structure.Element> void createKeyIndex(java.lang.String[] keys, java.lang.Class<T> elementClass)
keys
- an array of keys to create the index for.elementClass
- >the element class that the index is for.default <T extends org.apache.tinkerpop.gremlin.structure.Element> void createKeyIndex(java.lang.String[] keys, java.lang.Class<T> elementClass, Parameter... parameters)
keys
- an array of keys to create the index for.elementClass
- >the element class that the index is for.parameters
- the parameters used by the indexing structure. If the index is already defined, this parameters will not
be considered. To take into consideration the parameters for the creation of an index, first drop the
existing index and recreate.default <T extends org.apache.tinkerpop.gremlin.structure.Element> void createKeyIndex(java.lang.String key, java.lang.Class<T> elementClass, Parameter... parameters)
key
- the key to create the index for.elementClass
- >the element class that the index is for.parameters
- the parameters used by the indexing structure. If the index is already defined, this parameters will not
be considered. To take into consideration the parameters for the creation of an index, first drop the
existing index and recreate.default void dropAllAutoIndices()
default void dropAllIndices()
default void dropAllManualIndices()
default void dropIndex(java.lang.String indexName)
indexName
- the name of the index to dropdefault <T extends org.apache.tinkerpop.gremlin.structure.Element> void dropKeyIndex(java.lang.String[] keys, java.lang.Class<T> elementClass)
keys
- an array of keys to drop the index for.elementClass
- >the element class that the index is for.default <T extends org.apache.tinkerpop.gremlin.structure.Element> void dropKeyIndex(java.lang.String[] keys, java.lang.Class<T> elementClass, Parameter... parameters)
keys
- an array of keys to drop the index for.elementClass
- >the element class that the index is for.parameters
- the parameters used by the indexing structure. If the index is already defined, this parameters will not
be considered. To take into consideration the parameters for the creation of an index, first drop the
existing index and recreate.default <T extends org.apache.tinkerpop.gremlin.structure.Element> void dropKeyIndex(java.lang.String key, java.lang.Class<T> elementClass)
key
- the key to drop the index for.elementClass
- >the element class that the index is for.default org.apache.tinkerpop.gremlin.structure.util.CloseableIterator<org.apache.tinkerpop.gremlin.structure.Edge> edgesUsingTextSearch(java.lang.String query)
query
- the text query to execute. It MUST not be NULL.default <T extends org.apache.tinkerpop.gremlin.structure.Element> OracleIndex<T> getAutoIndex(java.lang.Class<T> indexClass)
indexClass
- >the element class that the index is for.default java.lang.Class<?> getDatatypeClassFromValueObjForTextIndex(java.lang.Object value)
OracleIndexParameters getDefaultIndexParameters()
OracleIndexParameters
object.default <T extends org.apache.tinkerpop.gremlin.structure.Element> OracleIndex<T> getIndex(java.lang.String indexName, java.lang.Class<T> indexClass)
indexName
- the name of the manual index to retrieve.indexClass
- >the element class that the index is for.default <T extends org.apache.tinkerpop.gremlin.structure.Element> java.util.Set<java.lang.String> getIndexedKeys(java.lang.Class<T> elementClass)
elementClass
- >the element class that the index is for.default <T extends org.apache.tinkerpop.gremlin.structure.Element> OracleIndexParameters getIndexParameters(java.lang.String indexName, java.lang.Class<T> indexClass)
indexName
- the name of the manual index to retrieve.indexClass
- >the element class that the index is for.OracleIndexParameters
object.default java.util.Iterator<OracleIndex<? extends org.apache.tinkerpop.gremlin.structure.Element>> getIndices()
OracleIndexManager getOracleIndexManager()
OracleIndexManager
object.default boolean isEdgeAutoIndexEnabled(java.lang.String key)
default boolean isVertexAutoIndexEnabled(java.lang.String key)
default void refreshAutoIndices()
void setDefaultIndexParameters(OracleIndexParameters indexParams)
indexParams
- a OracleIndexParameters
object.default void validateIndexManager()
default org.apache.tinkerpop.gremlin.structure.util.CloseableIterator<org.apache.tinkerpop.gremlin.structure.Vertex> verticesUsingTextSearch(java.lang.String query)
query
- the text query to execute. It MUST not be NULL.Copyright © 2015 - 2020 Oracle and/or its affiliates. All Rights Reserved.