public interface OHashTable<K,V>
Modifier and Type | Interface and Description |
---|---|
static class |
OHashTable.BucketPath |
static class |
OHashTable.BucketSplitResult |
static class |
OHashTable.Entry<K,V> |
static class |
OHashTable.KeyHashCodeComparator<K> |
static class |
OHashTable.NodeSplitResult |
static class |
OHashTable.RawEntry |
Modifier and Type | Method and Description |
---|---|
void |
acquireAtomicExclusiveLock()
Acquires exclusive lock in the active atomic operation running on the current thread for this
hash table.
|
OHashTable.Entry<K,V>[] |
ceilingEntries(K key) |
void |
close() |
void |
create(OAtomicOperation atomicOperation,
OBinarySerializer<K> keySerializer,
OBinarySerializer<V> valueSerializer,
OType[] keyTypes,
OEncryption encryption,
OHashFunction<K> keyHashFunction,
boolean nullKeyIsSupported) |
void |
delete(OAtomicOperation atomicOperation) |
OHashTable.Entry<K,V> |
firstEntry() |
OHashTable.Entry<K,V>[] |
floorEntries(K key) |
void |
flush() |
V |
get(K key) |
String |
getName() |
OHashTable.Entry<K,V>[] |
higherEntries(K key) |
OHashTable.Entry<K,V>[] |
higherEntries(K key,
int limit) |
boolean |
isNullKeyIsSupported() |
OHashTable.Entry<K,V> |
lastEntry() |
void |
load(String name,
OType[] keyTypes,
boolean nullKeyIsSupported,
OEncryption encryption,
OHashFunction<K> keyHashFunction,
OBinarySerializer<K> keySerializer,
OBinarySerializer<V> valueSerializer) |
OHashTable.Entry<K,V>[] |
lowerEntries(K key) |
void |
put(OAtomicOperation atomicOperation,
K key,
V value) |
V |
remove(OAtomicOperation atomicOperation,
K key) |
long |
size() |
boolean |
validatedPut(OAtomicOperation atomicOperation,
K key,
V value,
OBaseIndexEngine.Validator<K,V> validator)
Puts the given value under the given key into this hash table.
|
void create(OAtomicOperation atomicOperation, OBinarySerializer<K> keySerializer, OBinarySerializer<V> valueSerializer, OType[] keyTypes, OEncryption encryption, OHashFunction<K> keyHashFunction, boolean nullKeyIsSupported) throws IOException
IOException
boolean validatedPut(OAtomicOperation atomicOperation, K key, V value, OBaseIndexEngine.Validator<K,V> validator) throws IOException
atomicOperation
- key
- the key to put the value under.value
- the value to put.validator
- the operation validator.true
if the validator allowed the put, false
otherwise.IOException
OBaseIndexEngine.Validator#validate(Object, Object, Object)
void put(OAtomicOperation atomicOperation, K key, V value) throws IOException
IOException
V remove(OAtomicOperation atomicOperation, K key) throws IOException
IOException
OHashTable.Entry<K,V>[] higherEntries(K key)
OHashTable.Entry<K,V>[] higherEntries(K key, int limit)
void load(String name, OType[] keyTypes, boolean nullKeyIsSupported, OEncryption encryption, OHashFunction<K> keyHashFunction, OBinarySerializer<K> keySerializer, OBinarySerializer<V> valueSerializer)
OHashTable.Entry<K,V>[] ceilingEntries(K key)
OHashTable.Entry<K,V> firstEntry()
OHashTable.Entry<K,V> lastEntry()
OHashTable.Entry<K,V>[] lowerEntries(K key)
OHashTable.Entry<K,V>[] floorEntries(K key)
long size()
void close()
void delete(OAtomicOperation atomicOperation) throws IOException
IOException
void flush()
boolean isNullKeyIsSupported()
void acquireAtomicExclusiveLock()
String getName()
Copyright © 2009–2020 OrientDB. All rights reserved.