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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final class
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTxMapBuilder
(MVMap<String, DataType<?>> typeRegistry, DataType<?> defaultDataType) -
Method Summary
Modifier and TypeMethodDescriptionCreate map from config.Create a new map of the given type.(package private) static 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
-
Field Details
-
typeRegistry
-
defaultDataType
-
-
Constructor Details
-
TxMapBuilder
-
-
Method Details
-
registerDataType
-
getDataTypeRegistrationKey
-
create
Description copied from interface:MVMap.MapBuilder
Create a new map of the given type. -
create
Description copied from class:MVMap.BasicBuilder
Create map from config.- Overrides:
create
in classMVMap.Builder<K,
V> - Parameters:
config
- config map- Returns:
- new map
-