public final class OCellBTreeSingleValue<K> extends ODurableComponent
Modifier and Type | Class and Description |
---|---|
static interface |
OCellBTreeSingleValue.OSBTreeCursor<K,V> |
class |
OCellBTreeSingleValue.OSBTreeFullKeyCursor |
static interface |
OCellBTreeSingleValue.OSBTreeKeyCursor<K> |
atomicOperationsManager, readCache, storage, writeCache
Constructor and Description |
---|
OCellBTreeSingleValue(String name,
String dataFileExtension,
String nullFileExtension,
OAbstractPaginatedStorage storage) |
Modifier and Type | Method and Description |
---|---|
void |
acquireAtomicExclusiveLock()
Acquires exclusive lock in the active atomic operation running on the current thread for this SB-tree.
|
void |
clear(OAtomicOperation atomicOperation) |
void |
close() |
void |
create(OAtomicOperation atomicOperation,
OBinarySerializer<K> keySerializer,
OType[] keyTypes,
int keySize,
OEncryption encryption) |
void |
delete(OAtomicOperation atomicOperation) |
void |
deleteWithoutLoad(OAtomicOperation atomicOperation) |
K |
firstKey() |
ORID |
get(K key) |
OCellBTreeSingleValue.OSBTreeCursor<K,ORID> |
iterateEntriesBetween(K keyFrom,
boolean fromInclusive,
K keyTo,
boolean toInclusive,
boolean ascSortOrder) |
OCellBTreeSingleValue.OSBTreeCursor<K,ORID> |
iterateEntriesMajor(K key,
boolean inclusive,
boolean ascSortOrder) |
OCellBTreeSingleValue.OSBTreeCursor<K,ORID> |
iterateEntriesMinor(K key,
boolean inclusive,
boolean ascSortOrder) |
OCellBTreeSingleValue.OSBTreeKeyCursor<K> |
keyCursor() |
K |
lastKey() |
void |
load(String name,
int keySize,
OType[] keyTypes,
OBinarySerializer<K> keySerializer,
OEncryption encryption) |
void |
put(OAtomicOperation atomicOperation,
K key,
ORID value) |
ORID |
remove(OAtomicOperation atomicOperation,
K key) |
long |
size() |
boolean |
validatedPut(OAtomicOperation atomicOperation,
K key,
ORID value,
OBaseIndexEngine.Validator<K,ORID> validator) |
addFile, addPage, calculateInsideComponentOperation, deleteFile, executeInsideComponentOperation, getExtension, getFilledUpTo, getFullName, getLockName, getName, isFileExists, loadPageForRead, loadPageForRead, loadPageForWrite, openFile, pinPage, releasePageFromRead, releasePageFromWrite, setName, truncateFile, tryExecuteInsideComponentOperation
acquireExclusiveLock, acquireSharedLock, addUser, assertExclusiveLockHold, assertSharedLockHold, getUsers, isConcurrent, releaseExclusiveLock, releaseSharedLock, removeUser, tryAcquireExclusiveLock, tryAcquireSharedLock
public OCellBTreeSingleValue(String name, String dataFileExtension, String nullFileExtension, OAbstractPaginatedStorage storage)
public void create(OAtomicOperation atomicOperation, OBinarySerializer<K> keySerializer, OType[] keyTypes, int keySize, OEncryption encryption)
public void put(OAtomicOperation atomicOperation, K key, ORID value)
public boolean validatedPut(OAtomicOperation atomicOperation, K key, ORID value, OBaseIndexEngine.Validator<K,ORID> validator)
public void close()
public void clear(OAtomicOperation atomicOperation)
public void delete(OAtomicOperation atomicOperation)
public void deleteWithoutLoad(OAtomicOperation atomicOperation)
public void load(String name, int keySize, OType[] keyTypes, OBinarySerializer<K> keySerializer, OEncryption encryption)
public long size()
public ORID remove(OAtomicOperation atomicOperation, K key)
public OCellBTreeSingleValue.OSBTreeCursor<K,ORID> iterateEntriesMinor(K key, boolean inclusive, boolean ascSortOrder)
public OCellBTreeSingleValue.OSBTreeCursor<K,ORID> iterateEntriesMajor(K key, boolean inclusive, boolean ascSortOrder)
public K firstKey()
public K lastKey()
public OCellBTreeSingleValue.OSBTreeKeyCursor<K> keyCursor()
public OCellBTreeSingleValue.OSBTreeCursor<K,ORID> iterateEntriesBetween(K keyFrom, boolean fromInclusive, K keyTo, boolean toInclusive, boolean ascSortOrder)
public void acquireAtomicExclusiveLock()
Copyright © 2009–2020 OrientDB. All rights reserved.