public static class DB.TreeMapMaker<K,V>
extends Maker
Constructor and Description |
---|
TreeMapMaker(DB db,
java.lang.String name,
boolean hasValues) |
Modifier and Type | Method and Description |
---|---|
DB.TreeMapMaker<K,V> |
counterEnable() |
BTreeMap<K,V> |
create()
Creates new collection if it does not exist, or throw {@link DBException.WrongConfiguration}
if collection already exists.
|
BTreeMap<K,V> |
create2(java.util.SortedMap<java.lang.String,java.lang.String> catalog) |
BTreeMap<K,V> |
createFrom(java.util.Iterator<? extends error.NonExistentClass> iterator) |
DB.TreeMapSink<K,V> |
createFromSink() |
BTreeMap<K,V> |
createOrOpen()
Create new collection or open existing.
|
DB |
getDb() |
boolean |
getHasValues() |
java.lang.String |
getName() |
java.lang.String |
getType() |
<A> DB.TreeMapMaker<A,V> |
keySerializer(GroupSerializer<A> keySerializer) |
DB.TreeMapMaker<K,V> |
maxNodeSize(int size) |
DB.TreeMapMaker<K,V> |
modificationListener(MapModificationListener<K,V> listener) |
BTreeMap<K,V> |
open()
Open existing collection, or throw {@link DBException.WrongConfiguration}
if collection already exists.
|
BTreeMap<K,V> |
open2(java.util.SortedMap<java.lang.String,java.lang.String> catalog) |
<A> DB.TreeMapMaker<K,A> |
valueSerializer(GroupSerializer<A> valueSerializer) |
DB.TreeMapMaker<K,V> |
valuesOutsideNodesEnable() |
%%%create2$module, %%%open2$module, %%%verify$module, create, create2, createOrOpen, getDb, getName, getType, make, make2, makeOrGet, open, open2, verify
public TreeMapMaker(DB db, java.lang.String name, boolean hasValues)
public java.lang.String getType()
public <A> DB.TreeMapMaker<A,V> keySerializer(GroupSerializer<A> keySerializer)
public <A> DB.TreeMapMaker<K,A> valueSerializer(GroupSerializer<A> valueSerializer)
public DB.TreeMapMaker<K,V> maxNodeSize(int size)
public DB.TreeMapMaker<K,V> counterEnable()
public DB.TreeMapMaker<K,V> valuesOutsideNodesEnable()
public DB.TreeMapMaker<K,V> modificationListener(MapModificationListener<K,V> listener)
public BTreeMap<K,V> createFrom(java.util.Iterator<? extends error.NonExistentClass> iterator)
public DB.TreeMapSink<K,V> createFromSink()
public BTreeMap<K,V> create2(java.util.SortedMap<java.lang.String,java.lang.String> catalog)
public BTreeMap<K,V> open2(java.util.SortedMap<java.lang.String,java.lang.String> catalog)
public BTreeMap<K,V> create()
Creates new collection if it does not exist, or throw {@link DBException.WrongConfiguration} if collection already exists.
public BTreeMap<K,V> createOrOpen()
Create new collection or open existing.
public BTreeMap<K,V> open()
Open existing collection, or throw {@link DBException.WrongConfiguration} if collection already exists.
public DB getDb()
public java.lang.String getName()
public boolean getHasValues()