
public final class BinaryBTree extends ODurableComponent
| Modifier and Type | Field and Description |
|---|---|
static byte |
ALWAYS_GREATER_PREFIX |
static byte |
ALWAYS_LESS_PREFIX |
static byte |
DATA_PREFIX |
static byte |
NULL_PREFIX |
atomicOperationsManager, readCache, storage, writeCache| Constructor and Description |
|---|
BinaryBTree(int spliteratorCacheSize,
int maxKeySize,
int maxPathLength,
OAbstractPaginatedStorage storage,
String name,
String extension) |
| Modifier and Type | Method and Description |
|---|---|
Stream<ORawPair<byte[],ORID>> |
allEntries() |
void |
create(OAtomicOperation atomicOperation) |
void |
delete(OAtomicOperation atomicOperation) |
byte[] |
firstKey() |
ORID |
get(byte[] key) |
Stream<ORawPair<byte[],ORID>> |
iterateEntriesBetween(byte[] keyFrom,
boolean fromInclusive,
byte[] keyTo,
boolean toInclusive,
boolean ascSortOrder) |
Stream<ORawPair<byte[],ORID>> |
iterateEntriesMajor(byte[] key,
boolean inclusive,
boolean ascSortOrder) |
Stream<ORawPair<byte[],ORID>> |
iterateEntriesMinor(byte[] key,
boolean inclusive,
boolean ascSortOrder) |
byte[] |
lastKey() |
void |
load(String name) |
void |
put(OAtomicOperation atomicOperation,
byte[] key,
ORID value) |
ORID |
remove(OAtomicOperation atomicOperation,
byte[] key) |
long |
size() |
boolean |
validatedPut(OAtomicOperation atomicOperation,
byte[] key,
ORID value,
OBaseIndexEngine.Validator<byte[],ORID> validator) |
addFile, addPage, calculateInsideComponentOperation, deleteFile, executeInsideComponentOperation, getExtension, getFilledUpTo, getFullName, getLockName, getName, isFileExists, loadPageForRead, loadPageForRead, loadPageForWrite, openFile, releasePageFromRead, releasePageFromWrite, setName, truncateFileacquireExclusiveLock, acquireSharedLock, addUser, assertExclusiveLockHold, assertSharedLockHold, getUsers, isConcurrent, releaseExclusiveLock, releaseSharedLock, removeUser, tryAcquireExclusiveLock, tryAcquireSharedLockpublic static final byte ALWAYS_LESS_PREFIX
public static final byte DATA_PREFIX
public static final byte NULL_PREFIX
public static final byte ALWAYS_GREATER_PREFIX
public BinaryBTree(int spliteratorCacheSize,
int maxKeySize,
int maxPathLength,
OAbstractPaginatedStorage storage,
String name,
String extension)
public void create(OAtomicOperation atomicOperation)
public ORID get(byte[] key)
public boolean validatedPut(OAtomicOperation atomicOperation, byte[] key, ORID value, OBaseIndexEngine.Validator<byte[],ORID> validator)
public void put(OAtomicOperation atomicOperation, byte[] key, ORID value)
public long size()
public void delete(OAtomicOperation atomicOperation)
public void load(String name)
public ORID remove(OAtomicOperation atomicOperation, byte[] key)
public byte[] firstKey()
public byte[] lastKey()
public Stream<ORawPair<byte[],ORID>> iterateEntriesMinor(byte[] key, boolean inclusive, boolean ascSortOrder)
public Stream<ORawPair<byte[],ORID>> iterateEntriesMajor(byte[] key, boolean inclusive, boolean ascSortOrder)
Copyright © 2009–2025 OrientDB. All rights reserved.