
public interface OHashTable<K,V>
| Modifier and Type | Interface and Description |
|---|---|
static class |
OHashTable.BucketPath |
static class |
OHashTable.BucketSplitResult |
static class |
OHashTable.KeyHashCodeComparator<K> |
static class |
OHashTable.NodeSplitResult |
| 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.
|
OHashIndexBucket.Entry<K,V>[] |
ceilingEntries(K key) |
void |
clear() |
void |
close() |
void |
create(OBinarySerializer<K> keySerializer,
OBinarySerializer<V> valueSerializer,
OType[] keyTypes,
boolean nullKeyIsSupported) |
void |
delete() |
void |
deleteWithoutLoad(String name,
OAbstractPaginatedStorage storageLocal) |
OHashIndexBucket.Entry<K,V> |
firstEntry() |
OHashIndexBucket.Entry<K,V>[] |
floorEntries(K key) |
void |
flush() |
V |
get(K key) |
OBinarySerializer<K> |
getKeySerializer() |
String |
getName() |
OBinarySerializer<V> |
getValueSerializer() |
OHashIndexBucket.Entry<K,V>[] |
higherEntries(K key) |
OHashIndexBucket.Entry<K,V>[] |
higherEntries(K key,
int limit) |
boolean |
isNullKeyIsSupported() |
OHashIndexBucket.Entry<K,V> |
lastEntry() |
void |
load(String name,
OType[] keyTypes,
boolean nullKeyIsSupported) |
OHashIndexBucket.Entry<K,V>[] |
lowerEntries(K key) |
void |
put(K key,
V value) |
V |
remove(K key) |
void |
setKeySerializer(OBinarySerializer<K> keySerializer) |
void |
setValueSerializer(OBinarySerializer<V> valueSerializer) |
long |
size() |
boolean |
validatedPut(K key,
V value,
OIndexEngine.Validator<K,V> validator)
Puts the given value under the given key into this hash table.
|
void create(OBinarySerializer<K> keySerializer, OBinarySerializer<V> valueSerializer, OType[] keyTypes, boolean nullKeyIsSupported)
OBinarySerializer<K> getKeySerializer()
void setKeySerializer(OBinarySerializer<K> keySerializer)
OBinarySerializer<V> getValueSerializer()
void setValueSerializer(OBinarySerializer<V> valueSerializer)
boolean validatedPut(K key, V value, OIndexEngine.Validator<K,V> validator)
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.OIndexEngine.Validator#validate(Object, Object, Object)void clear()
OHashIndexBucket.Entry<K,V>[] higherEntries(K key)
OHashIndexBucket.Entry<K,V>[] higherEntries(K key, int limit)
void deleteWithoutLoad(String name, OAbstractPaginatedStorage storageLocal)
OHashIndexBucket.Entry<K,V>[] ceilingEntries(K key)
OHashIndexBucket.Entry<K,V> firstEntry()
OHashIndexBucket.Entry<K,V> lastEntry()
OHashIndexBucket.Entry<K,V>[] lowerEntries(K key)
OHashIndexBucket.Entry<K,V>[] floorEntries(K key)
long size()
void close()
void delete()
void flush()
boolean isNullKeyIsSupported()
void acquireAtomicExclusiveLock()
String getName()
Copyright © 2009–2025 OrientDB. All rights reserved.