Modifier and Type | Field and Description |
---|---|
protected Fun.Function1 |
DB.BTreeMapMaker.pumpKeyExtractor |
protected Fun.Function1 |
DB.BTreeMapMaker.pumpValueExtractor |
protected Fun.Function1<?,?> |
DB.HTreeMapMaker.valueCreator |
protected Fun.Function1<V,K> |
HTreeMap.valueCreator |
Modifier and Type | Field and Description |
---|---|
protected CopyOnWriteArrayList<Fun.Function1> |
SerializerPojo.serializationTransformsDeserialize |
protected CopyOnWriteArrayList<Fun.Function1> |
SerializerPojo.serializationTransformsSerialize |
Modifier and Type | Method and Description |
---|---|
static <K,V> Fun.Function1<K,Fun.Tuple2<K,V>> |
Fun.extractKey() |
static <K> Fun.Function1<K,K> |
Fun.extractNoTransform() |
static <K,V> Fun.Function1<V,Fun.Tuple2<K,V>> |
Fun.extractValue() |
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.
|
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.
|
<A> A |
TxMaker.execute(Fun.Function1<A,DB> txBlock)
Executes given block withing single transaction.
|
<K,V> HTreeMap<K,V> |
DB.getHashMap(String name,
Fun.Function1<V,K> valueCreator)
Opens existing or creates new Hash Tree Map.
|
<K,V> DB.BTreeMapMaker |
DB.BTreeMapMaker.pumpSource(Iterator<K> keysSource,
Fun.Function1<V,K> valueExtractor) |
<A,R> void |
SerializerPojo.serializerTransformAdd(Fun.Function1<A,R> beforeSerialization,
Fun.Function1<R,A> afterDeserialization)
Add interceptor which may modify all deserialized/serialized objects
|
<A,R> void |
SerializerPojo.serializerTransformAdd(Fun.Function1<A,R> beforeSerialization,
Fun.Function1<R,A> afterDeserialization)
Add interceptor which may modify all deserialized/serialized objects
|
<A,R> void |
SerializerPojo.serializerTransformRemove(Fun.Function1<A,R> beforeSerialization,
Fun.Function1<R,A> afterDeserialization)
Removes interceptor which may modify all deserialized/serialized objects
|
<A,R> void |
SerializerPojo.serializerTransformRemove(Fun.Function1<A,R> beforeSerialization,
Fun.Function1<R,A> afterDeserialization)
Removes interceptor which may modify all deserialized/serialized objects
|
DB.HTreeMapMaker |
DB.HTreeMapMaker.valueCreator(Fun.Function1<?,?> valueCreator)
If value is not found, HTreeMap can fetch and insert default value.
|
Constructor and Description |
---|
HTreeMap(Engine engine,
long counterRecid,
int hashSalt,
long[] segmentRecids,
Serializer<K> keySerializer,
Serializer<V> valueSerializer,
long expireTimeStart,
long expire,
long expireAccess,
long expireMaxSize,
long expireStoreSize,
long[] expireHeads,
long[] expireTails,
Fun.Function1<V,K> valueCreator,
Hasher hasher,
boolean disableLocks)
Opens HTreeMap
|
Copyright © 2018. All rights reserved.