public class OSBTreeBonsaiRemote<K,V> extends Object implements com.orientechnologies.orient.core.index.sbtreebonsai.local.OSBTreeBonsai<K,V>
OSBTreeBonsai for remote storage.| Constructor and Description |
|---|
OSBTreeBonsaiRemote(com.orientechnologies.orient.core.db.record.ridbag.sbtree.OBonsaiCollectionPointer treePointer,
com.orientechnologies.common.serialization.types.OBinarySerializer<K> keySerializer,
com.orientechnologies.common.serialization.types.OBinarySerializer<V> valueSerializer) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
delete() |
K |
firstKey() |
V |
get(K key) |
com.orientechnologies.orient.core.db.record.ridbag.sbtree.OBonsaiCollectionPointer |
getCollectionPointer() |
long |
getFileId() |
com.orientechnologies.common.serialization.types.OBinarySerializer<K> |
getKeySerializer() |
int |
getRealBagSize(Map<K,com.orientechnologies.orient.core.db.record.ridbag.sbtree.OSBTreeRidBag.Change> changes) |
com.orientechnologies.orient.core.index.sbtreebonsai.local.OBonsaiBucketPointer |
getRootBucketPointer() |
Collection<V> |
getValuesBetween(K keyFrom,
boolean fromInclusive,
K keyTo,
boolean toInclusive,
int maxValuesToFetch) |
com.orientechnologies.common.serialization.types.OBinarySerializer<V> |
getValueSerializer() |
Collection<V> |
getValuesMajor(K key,
boolean inclusive,
int maxValuesToFetch) |
Collection<V> |
getValuesMinor(K key,
boolean inclusive,
int maxValuesToFetch) |
K |
lastKey() |
void |
loadEntriesBetween(K keyFrom,
boolean fromInclusive,
K keyTo,
boolean toInclusive,
com.orientechnologies.orient.core.index.sbtree.OTreeInternal.RangeResultListener<K,V> listener) |
void |
loadEntriesMajor(K key,
boolean inclusive,
boolean ascSortOrder,
com.orientechnologies.orient.core.index.sbtree.OTreeInternal.RangeResultListener<K,V> listener) |
void |
loadEntriesMinor(K key,
boolean inclusive,
com.orientechnologies.orient.core.index.sbtree.OTreeInternal.RangeResultListener<K,V> listener) |
boolean |
put(K key,
V value) |
V |
remove(K key) |
long |
size() |
public OSBTreeBonsaiRemote(com.orientechnologies.orient.core.db.record.ridbag.sbtree.OBonsaiCollectionPointer treePointer,
com.orientechnologies.common.serialization.types.OBinarySerializer<K> keySerializer,
com.orientechnologies.common.serialization.types.OBinarySerializer<V> valueSerializer)
public long getFileId()
public com.orientechnologies.orient.core.index.sbtreebonsai.local.OBonsaiBucketPointer getRootBucketPointer()
public com.orientechnologies.orient.core.db.record.ridbag.sbtree.OBonsaiCollectionPointer getCollectionPointer()
public void clear()
public void delete()
public long size()
public Collection<V> getValuesMinor(K key, boolean inclusive, int maxValuesToFetch)
public void loadEntriesMinor(K key, boolean inclusive, com.orientechnologies.orient.core.index.sbtree.OTreeInternal.RangeResultListener<K,V> listener)
public Collection<V> getValuesMajor(K key, boolean inclusive, int maxValuesToFetch)
public void loadEntriesMajor(K key, boolean inclusive, boolean ascSortOrder, com.orientechnologies.orient.core.index.sbtree.OTreeInternal.RangeResultListener<K,V> listener)
public Collection<V> getValuesBetween(K keyFrom, boolean fromInclusive, K keyTo, boolean toInclusive, int maxValuesToFetch)
public K firstKey()
public K lastKey()
public void loadEntriesBetween(K keyFrom, boolean fromInclusive, K keyTo, boolean toInclusive, com.orientechnologies.orient.core.index.sbtree.OTreeInternal.RangeResultListener<K,V> listener)
public int getRealBagSize(Map<K,com.orientechnologies.orient.core.db.record.ridbag.sbtree.OSBTreeRidBag.Change> changes)
public com.orientechnologies.common.serialization.types.OBinarySerializer<K> getKeySerializer()
Copyright © 2009–2015 Orient Technologies. All rights reserved.