Class OCellBTreeMultiValueIndexEngine
java.lang.Object
com.orientechnologies.orient.core.index.engine.v1.OCellBTreeMultiValueIndexEngine
- All Implemented Interfaces:
OBaseIndexEngine,OMultiValueIndexEngine,OV1IndexEngine,OCellBTreeIndexEngine
public final class OCellBTreeMultiValueIndexEngine
extends Object
implements OMultiValueIndexEngine, OCellBTreeIndexEngine
-
Field Summary
FieldsFields inherited from interface com.orientechnologies.orient.core.index.engine.v1.OCellBTreeIndexEngine
VERSIONFields inherited from interface com.orientechnologies.orient.core.index.engine.OV1IndexEngine
API_VERSION -
Constructor Summary
ConstructorsConstructorDescriptionOCellBTreeMultiValueIndexEngine(int id, String name, OAbstractPaginatedStorage storage, int version) -
Method Summary
Modifier and TypeMethodDescriptionbooleanAcquires exclusive lock in the active atomic operation running on the current thread for this index engine.voidclear(OAtomicOperation atomicOperation) voidclose()voidcreate(OAtomicOperation atomicOperation, IndexEngineData data) voiddelete(OAtomicOperation atomicOperation) descStream(IndexEngineValuesTransformer valuesTransformer) voidflush()intgetId()getIndexNameByKey(Object key) getName()intbooleanvoidinit(OIndexMetadata metadata) iterateEntriesBetween(Object rangeFrom, boolean fromInclusive, Object rangeTo, boolean toInclusive, boolean ascSortOrder, IndexEngineValuesTransformer transformer) iterateEntriesMajor(Object fromKey, boolean isInclusive, boolean ascSortOrder, IndexEngineValuesTransformer transformer) iterateEntriesMinor(Object toKey, boolean isInclusive, boolean ascSortOrder, IndexEngineValuesTransformer transformer) voidload(IndexEngineData data) voidput(OAtomicOperation atomicOperation, Object key, ORID value) booleanremove(OAtomicOperation atomicOperation, Object key) booleanremove(OAtomicOperation atomicOperation, Object key, ORID value) longsize(IndexEngineValuesTransformer transformer) stream(IndexEngineValuesTransformer valuesTransformer) voidbooleanvalidatedPut(OAtomicOperation atomicOperation, Object key, ORID value, IndexEngineValidator<Object, ORID> validator) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.orientechnologies.orient.core.index.engine.OBaseIndexEngine
applyTxChanges, hasRidBagTreesSupportMethods inherited from interface com.orientechnologies.orient.core.index.engine.OMultiValueIndexEngine
isMultiValueMethods inherited from interface com.orientechnologies.orient.core.index.engine.OV1IndexEngine
getEngineAPIVersion
-
Field Details
-
DATA_FILE_EXTENSION
- See Also:
-
M_CONTAINER_EXTENSION
- See Also:
-
-
Constructor Details
-
OCellBTreeMultiValueIndexEngine
public OCellBTreeMultiValueIndexEngine(int id, String name, OAbstractPaginatedStorage storage, int version)
-
-
Method Details
-
getId
public int getId()- Specified by:
getIdin interfaceOBaseIndexEngine
-
init
- Specified by:
initin interfaceOBaseIndexEngine
-
flush
public void flush()- Specified by:
flushin interfaceOBaseIndexEngine
-
getName
- Specified by:
getNamein interfaceOBaseIndexEngine
-
create
- Specified by:
createin interfaceOBaseIndexEngine- Throws:
IOException
-
delete
- Specified by:
deletein interfaceOBaseIndexEngine
-
load
- Specified by:
loadin interfaceOBaseIndexEngine
-
remove
- Specified by:
removein interfaceOBaseIndexEngine
-
remove
- Specified by:
removein interfaceOBaseIndexEngine- Specified by:
removein interfaceOMultiValueIndexEngine
-
clear
- Specified by:
clearin interfaceOBaseIndexEngine
-
close
public void close()- Specified by:
closein interfaceOBaseIndexEngine
-
get
- Specified by:
getin interfaceOV1IndexEngine
-
stream
- Specified by:
streamin interfaceOBaseIndexEngine
-
descStream
- Specified by:
descStreamin interfaceOBaseIndexEngine
-
keyStream
- Specified by:
keyStreamin interfaceOBaseIndexEngine
-
validatedPut
public boolean validatedPut(OAtomicOperation atomicOperation, Object key, ORID value, IndexEngineValidator<Object, ORID> validator) - Specified by:
validatedPutin interfaceOBaseIndexEngine
-
put
- Specified by:
putin interfaceOBaseIndexEngine- Specified by:
putin interfaceOV1IndexEngine
-
iterateEntriesBetween
public Stream<ORawPair<Object,ORID>> iterateEntriesBetween(Object rangeFrom, boolean fromInclusive, Object rangeTo, boolean toInclusive, boolean ascSortOrder, IndexEngineValuesTransformer transformer) - Specified by:
iterateEntriesBetweenin interfaceOBaseIndexEngine
-
iterateEntriesMajor
public Stream<ORawPair<Object,ORID>> iterateEntriesMajor(Object fromKey, boolean isInclusive, boolean ascSortOrder, IndexEngineValuesTransformer transformer) - Specified by:
iterateEntriesMajorin interfaceOBaseIndexEngine
-
iterateEntriesMinor
public Stream<ORawPair<Object,ORID>> iterateEntriesMinor(Object toKey, boolean isInclusive, boolean ascSortOrder, IndexEngineValuesTransformer transformer) - Specified by:
iterateEntriesMinorin interfaceOBaseIndexEngine
-
size
- Specified by:
sizein interfaceOBaseIndexEngine
-
hasRangeQuerySupport
public boolean hasRangeQuerySupport()- Specified by:
hasRangeQuerySupportin interfaceOBaseIndexEngine
-
acquireAtomicExclusiveLock
Description copied from interface:OBaseIndexEngineAcquires exclusive lock in the active atomic operation running on the current thread for this index engine.If this index engine supports a more narrow locking, for example key-based sharding, it may use the provided
keyto infer a more narrow lock scope, but that is not a requirement.- Specified by:
acquireAtomicExclusiveLockin interfaceOBaseIndexEngine- Parameters:
key- the index key to lock.- Returns:
trueif this index was locked entirely,falseif this index locking is sensitive to the providedkeyand only some subset of this index was locked.
-
getIndexNameByKey
- Specified by:
getIndexNameByKeyin interfaceOBaseIndexEngine
-
updateUniqueIndexVersion
- Specified by:
updateUniqueIndexVersionin interfaceOBaseIndexEngine
-
getUniqueIndexVersion
- Specified by:
getUniqueIndexVersionin interfaceOBaseIndexEngine
-