public class OIndexManagerRemote extends OIndexManagerAbstract
classPropertyIndex, CONFIG_INDEXES, defaultClusterName, DICTIONARY_NAME, indexes, manualClusterName
document
Constructor and Description |
---|
OIndexManagerRemote(OStorage storage) |
addClusterToIndex, areIndexed, areIndexed, close, create, create, existsIndex, getClassAutoShardingIndex, getClassIndex, getClassIndexes, getClassIndexes, getClassInvolvedIndexes, getClassInvolvedIndexes, getClassRawIndexes, getClassUniqueIndex, getConfiguration, getDatabase, getDefaultClusterName, getDictionary, getIndex, getIndexes, getRawIndex, load, load, reload, removeClusterFromIndex, save, setDefaultClusterName
reload, save
equals, getDocument, hashCode, load, reload, toString
public OIndexManagerRemote(OStorage storage)
public OIndex createIndex(ODatabaseDocumentInternal database, String iName, String iType, OIndexDefinition iIndexDefinition, int[] iClusterIdsToIndex, OProgressListener progressListener, ODocument metadata, String engine)
createIndex
in class OIndexManagerAbstract
public OIndex createIndex(ODatabaseDocumentInternal database, String iName, String iType, OIndexDefinition indexDefinition, int[] clusterIdsToIndex, OProgressListener progressListener, ODocument metadata)
createIndex
in class OIndexManagerAbstract
public void dropIndex(ODatabaseDocumentInternal database, String iIndexName)
dropIndex
in class OIndexManagerAbstract
public ODocument toStream()
toStream
in class ODocumentWrapper
public void recreateIndexes()
public void recreateIndexes(ODatabaseDocumentInternal database)
recreateIndexes
in class OIndexManagerAbstract
public void waitTillIndexRestore()
waitTillIndexRestore
in class OIndexManagerAbstract
public boolean autoRecreateIndexesAfterCrash(ODatabaseDocumentInternal database)
autoRecreateIndexesAfterCrash
in class OIndexManagerAbstract
public boolean autoRecreateIndexesAfterCrash()
public void removeClassPropertyIndex(OIndex idx)
removeClassPropertyIndex
in class OIndexManagerAbstract
protected OIndex getRemoteIndexInstance(boolean isMultiValueIndex, String type, String name, String algorithm, Set<String> clustersToIndex, OIndexDefinition indexDefinition, ORID identity, ODocument configuration)
protected void fromStream()
fromStream
in class ODocumentWrapperNoClass
public OIndex preProcessBeforeReturn(ODatabaseDocumentInternal database, OIndex index)
preProcessBeforeReturn
in class OIndexManagerAbstract
protected void acquireExclusiveLock()
acquireExclusiveLock
in class OIndexManagerAbstract
protected void releaseExclusiveLock()
releaseExclusiveLock
in class OIndexManagerAbstract
public void fromStream(ODocument iDocument)
fromStream
in class ODocumentWrapperNoClass
public void update(ODocument indexManager)
protected OStorage getStorage()
getStorage
in class OIndexManagerAbstract
Copyright © 2009–2020 OrientDB. All rights reserved.