Modifier and Type | Class and Description |
---|---|
static class |
BTreeKeySerializer.BasicKeySerializer
Basic Key Serializer which just writes data without applying any compression.
|
static class |
BTreeKeySerializer.Tuple2KeySerializer<A,B>
Applies delta compression on array of tuple.
|
static class |
BTreeKeySerializer.Tuple3KeySerializer<A,B,C>
Applies delta compression on array of tuple.
|
static class |
BTreeKeySerializer.Tuple4KeySerializer<A,B,C,D>
Applies delta compression on array of tuple.
|
static class |
BTreeKeySerializer.Tuple5KeySerializer<A,B,C,D,E>
Applies delta compression on array of tuple.
|
static class |
BTreeKeySerializer.Tuple6KeySerializer<A,B,C,D,E,F>
Applies delta compression on array of tuple.
|
Modifier and Type | Field and Description |
---|---|
static BTreeKeySerializer |
BTreeKeySerializer.BASIC |
protected BTreeKeySerializer |
DB.BTreeMapMaker.keySerializer |
protected BTreeKeySerializer |
BTreeMap.keySerializer
Serializer used to convert keys from/into binary form.
|
protected BTreeKeySerializer |
BTreeMap.NodeSerializer.keySerializer |
protected BTreeKeySerializer<?> |
DB.BTreeSetMaker.serializer |
static BTreeKeySerializer<String> |
BTreeKeySerializer.STRING
Applies delta packing on
java.lang.String . |
static BTreeKeySerializer<Integer> |
BTreeKeySerializer.ZERO_OR_POSITIVE_INT
Applies delta packing on
java.lang.Integer . |
static BTreeKeySerializer<Long> |
BTreeKeySerializer.ZERO_OR_POSITIVE_LONG
Applies delta packing on
java.lang.Long . |
Modifier and Type | Method and Description |
---|---|
protected <K> BTreeKeySerializer<K> |
DB.fillNulls(BTreeKeySerializer<K> keySerializer)
Replace nulls in tuple serializers with default (Comparable) values
|
Modifier and Type | Method and Description |
---|---|
static <E,K,V> long |
Pump.buildTreeMap(Iterator<E> source,
Engine engine,
Fun.Function1<K,E> keyExtractor,
Fun.Function1<V,E> valueExtractor,
boolean ignoreDuplicates,
int nodeSize,
boolean valuesStoredOutsideNodes,
long counterRecid,
BTreeKeySerializer<K> keySerializer,
Serializer<V> valueSerializer,
Comparator comparator)
Build BTreeMap (or TreeSet) from presorted data.
|
protected static long |
BTreeMap.createRootRef(Engine engine,
BTreeKeySerializer keySer,
Serializer valueSer,
Comparator comparator,
int numberOfNodeMetas)
creates empty root node and returns recid of its reference
|
protected <K> BTreeKeySerializer<K> |
DB.fillNulls(BTreeKeySerializer<K> keySerializer)
Replace nulls in tuple serializers with default (Comparable) values
|
DB.BTreeMapMaker |
DB.BTreeMapMaker.keySerializer(BTreeKeySerializer<?> keySerializer)
keySerializer used to convert keys into/from binary form.
|
DB.BTreeSetMaker |
DB.BTreeSetMaker.serializer(BTreeKeySerializer<?> serializer)
keySerializer used to convert keys into/from binary form.
|
Constructor and Description |
---|
BTreeMap(Engine engine,
long rootRecidRef,
int maxNodeSize,
boolean valsOutsideNodes,
long counterRecid,
BTreeKeySerializer<K> keySerializer,
Serializer<V> valueSerializer,
Comparator<K> comparator,
int numberOfNodeMetas,
boolean disableLocks)
Constructor used to create new BTreeMap.
|
NodeSerializer(boolean valsOutsideNodes,
BTreeKeySerializer keySerializer,
Serializer valueSerializer,
Comparator comparator,
int numberOfNodeMetas) |
Copyright © 2019. All rights reserved.