@Deprecated public interface OIndexManager
Modifier and Type | Method and Description |
---|---|
void |
addClusterToIndex(String clusterName,
String indexName)
Deprecated.
|
boolean |
areIndexed(String className,
Collection<String> fields)
Deprecated.
|
boolean |
areIndexed(String className,
String... fields)
Deprecated.
Manual indexes are deprecated and will be removed
|
boolean |
autoRecreateIndexesAfterCrash()
Deprecated.
|
void |
create()
Deprecated.
|
OIndex |
createIndex(String iName,
String iType,
OIndexDefinition indexDefinition,
int[] clusterIdsToIndex,
OProgressListener progressListener,
ODocument metadata)
Deprecated.
Manual indexes are deprecated and will be removed
|
OIndex |
createIndex(String iName,
String iType,
OIndexDefinition indexDefinition,
int[] clusterIdsToIndex,
OProgressListener progressListener,
ODocument metadata,
String algorithm)
Deprecated.
Manual indexes are deprecated and will be removed
|
OIndexManager |
dropIndex(String iIndexName)
Deprecated.
Manual indexes are deprecated and will be removed
|
boolean |
existsIndex(String iName)
Deprecated.
Manual indexes are deprecated and will be removed
|
OIndex |
getClassAutoShardingIndex(String className)
Deprecated.
Manual indexes are deprecated and will be removed
|
OIndex |
getClassIndex(String className,
String indexName)
Deprecated.
Manual indexes are deprecated and will be removed
|
Set<OIndex> |
getClassIndexes(String className)
Deprecated.
Manual indexes are deprecated and will be removed
|
void |
getClassIndexes(String className,
Collection<OIndex> indexes)
Deprecated.
Manual indexes are deprecated and will be removed
|
Set<OIndex> |
getClassInvolvedIndexes(String className,
Collection<String> fields)
Deprecated.
Manual indexes are deprecated and will be removed
|
Set<OIndex> |
getClassInvolvedIndexes(String className,
String... fields)
Deprecated.
Manual indexes are deprecated and will be removed
|
OIndexUnique |
getClassUniqueIndex(String className)
Deprecated.
Manual indexes are deprecated and will be removed
|
ODocument |
getConfiguration()
Deprecated.
|
String |
getDefaultClusterName()
Deprecated.
|
ODictionary<ORecord> |
getDictionary()
Deprecated.
Manual indexes are deprecated and will be removed
|
OIndex |
getIndex(String iName)
Deprecated.
Manual indexes are deprecated and will be removed
|
Collection<? extends OIndex> |
getIndexes()
Deprecated.
Manual indexes are deprecated and will be removed
|
void |
load()
Deprecated.
|
void |
recreateIndexes()
Deprecated.
Manual indexes are deprecated and will be removed
|
OIndexManager |
reload()
Deprecated.
|
void |
removeClassPropertyIndex(OIndex idx)
Deprecated.
|
void |
removeClusterFromIndex(String clusterName,
String indexName)
Deprecated.
|
<RET extends ODocumentWrapper> |
save()
Deprecated.
|
void |
setDefaultClusterName(String defaultClusterName)
Deprecated.
|
void |
waitTillIndexRestore()
Deprecated.
Manual indexes are deprecated and will be removed
|
@Deprecated void load()
IMPORTANT! Only for internal usage.
@Deprecated void create()
IMPORTANT! Only for internal usage.
@Deprecated OIndexManager reload()
@Deprecated void recreateIndexes()
@Deprecated Collection<? extends OIndex> getIndexes()
@Deprecated OIndex getIndex(String iName)
iName
- name of index@Deprecated OIndex getClassAutoShardingIndex(String className)
className
- Class name@Deprecated boolean existsIndex(String iName)
iName
- name of index.@Deprecated OIndex createIndex(String iName, String iType, OIndexDefinition indexDefinition, int[] clusterIdsToIndex, OProgressListener progressListener, ODocument metadata)
iName
- - name of indexiType
- - index type. Specified by plugged index factories.indexDefinition
- metadata that describes index structureclusterIdsToIndex
- ids of clusters that index should track for changes.progressListener
- listener to track task progress.metadata
- document with additional properties that can be used by index engine.@Deprecated OIndex createIndex(String iName, String iType, OIndexDefinition indexDefinition, int[] clusterIdsToIndex, OProgressListener progressListener, ODocument metadata, String algorithm)
May require quite a long time if big amount of data should be indexed.
iName
- name of indexiType
- index type. Specified by plugged index factories.indexDefinition
- metadata that describes index structureclusterIdsToIndex
- ids of clusters that index should track for changes.progressListener
- listener to track task progress.metadata
- document with additional properties that can be used by index engine.algorithm
- tip to an index factory what algorithm to use@Deprecated OIndexManager dropIndex(String iIndexName)
iIndexName
- the name of index to drop@Deprecated String getDefaultClusterName()
@Deprecated void setDefaultClusterName(String defaultClusterName)
IMPORTANT! Only for internal usage.
defaultClusterName
- name of new default cluster@Deprecated ODictionary<ORecord> getDictionary()
@Deprecated ODocument getConfiguration()
IMPORTANT! Only for internal usage.
@Deprecated Set<OIndex> getClassInvolvedIndexes(String className, Collection<String> fields)
All indexes sorted by their count of parameters in ascending order. If there are indexes for the given set of fields in super class they will be taken into account.
className
- name of class which is indexed.fields
- Field names.@Deprecated Set<OIndex> getClassInvolvedIndexes(String className, String... fields)
All indexes sorted by their count of parameters in ascending order. If there are indexes for the given set of fields in super class they will be taken into account.
className
- name of class which is indexed.fields
- Field names.@Deprecated boolean areIndexed(String className, Collection<String> fields)
className
- name of class which contain fields
.fields
- Field names.true
if given fields are contained as first key fields in class indexes.@Deprecated boolean areIndexed(String className, String... fields)
className
- name of class which contain fields
.fields
- Field names.true
if given fields are contained as first key fields in class indexes.areIndexed(String, java.util.Collection)
@Deprecated Set<OIndex> getClassIndexes(String className)
className
- name of class which is indexed.@Deprecated void getClassIndexes(String className, Collection<OIndex> indexes)
className
- name of class which is indexed.indexes
- Collection of indexes where to add all the indexes@Deprecated OIndexUnique getClassUniqueIndex(String className)
@Deprecated OIndex getClassIndex(String className, String indexName)
className
- name of class which is indexed.indexName
- name of index.@Deprecated void waitTillIndexRestore()
@Deprecated boolean autoRecreateIndexesAfterCrash()
IMPORTANT! Only for internal usage.
@Deprecated void addClusterToIndex(String clusterName, String indexName)
IMPORTANT! Only for internal usage.
clusterName
- cluster to add.indexName
- name of index.@Deprecated void removeClusterFromIndex(String clusterName, String indexName)
IMPORTANT! Only for internal usage.
clusterName
- cluster to remove.indexName
- name of index.@Deprecated <RET extends ODocumentWrapper> RET save()
IMPORTANT! Only for internal usage.
@Deprecated void removeClassPropertyIndex(OIndex idx)
IMPORTANT! Only for internal usage.
idx
- index to remove.Copyright © 2009–2020 OrientDB. All rights reserved.