Package org.h2.mvstore.tx
Class TransactionStore.TxMapBuilder<K,V>
- java.lang.Object
-
- org.h2.mvstore.MVMap.BasicBuilder<MVMap<K,V>,K,V>
-
- org.h2.mvstore.MVMap.Builder<K,V>
-
- org.h2.mvstore.tx.TransactionStore.TxMapBuilder<K,V>
-
- All Implemented Interfaces:
MVMap.MapBuilder<MVMap<K,V>,K,V>
- Enclosing class:
- TransactionStore
private static final class TransactionStore.TxMapBuilder<K,V> extends MVMap.Builder<K,V>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
TransactionStore.TxMapBuilder.TMVMap<K,V>
-
Field Summary
Fields Modifier and Type Field Description private DataType
defaultDataType
private MVMap<java.lang.String,DataType<?>>
typeRegistry
-
Constructor Summary
Constructors Constructor Description TxMapBuilder(MVMap<java.lang.String,DataType<?>> typeRegistry, DataType<?> defaultDataType)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MVMap<K,V>
create(java.util.Map<java.lang.String,java.lang.Object> config)
Create map from config.MVMap<K,V>
create(MVStore store, java.util.Map<java.lang.String,java.lang.Object> config)
Create a new map of the given type.(package private) static java.lang.String
getDataTypeRegistrationKey(DataType<?> dataType)
private void
registerDataType(DataType<?> dataType)
-
Methods inherited from class org.h2.mvstore.MVMap.Builder
keyType, singleWriter, valueType
-
Methods inherited from class org.h2.mvstore.MVMap.BasicBuilder
getKeyType, getValueType, setKeyType, setValueType
-
-
-
-
Method Detail
-
registerDataType
private void registerDataType(DataType<?> dataType)
-
getDataTypeRegistrationKey
static java.lang.String getDataTypeRegistrationKey(DataType<?> dataType)
-
create
public MVMap<K,V> create(MVStore store, java.util.Map<java.lang.String,java.lang.Object> config)
Description copied from interface:MVMap.MapBuilder
Create a new map of the given type.
-
create
protected MVMap<K,V> create(java.util.Map<java.lang.String,java.lang.Object> config)
Description copied from class:MVMap.BasicBuilder
Create map from config.- Overrides:
create
in classMVMap.Builder<K,V>
- Parameters:
config
- config map- Returns:
- new map
-
-