Package org.h2.mvstore
Class MVMap.Builder<K,V>
- Type Parameters:
K
- the key typeV
- the value type
- All Implemented Interfaces:
MVMap.MapBuilder<MVMap<K,
V>, K, V>
- Direct Known Subclasses:
TransactionStore.TxMapBuilder
A builder for this class.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate map from config.Set the key data type.Set up this Builder to produce MVMap, which can be used in append mode by a single thread.Set the value data type.Methods inherited from class org.h2.mvstore.MVMap.BasicBuilder
create, getKeyType, getValueType, setKeyType, setValueType
-
Field Details
-
singleWriter
private boolean singleWriter
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
keyType
Description copied from class:MVMap.BasicBuilder
Set the key data type. -
valueType
Description copied from class:MVMap.BasicBuilder
Set the value data type. -
singleWriter
Set up this Builder to produce MVMap, which can be used in append mode by a single thread.- Returns:
- this Builder for chained execution
- See Also:
-
create
Description copied from class:MVMap.BasicBuilder
Create map from config.
-