Package org.h2.mvstore
Interface MVMap.MapBuilder<M extends MVMap<K,V>,K,V>
- Type Parameters:
M
- the map typeK
- the key typeV
- the value type
- All Known Implementing Classes:
MVMap.BasicBuilder
,MVMap.Builder
,MVRTreeMap.Builder
,TransactionStore.TxMapBuilder
public static interface MVMap.MapBuilder<M extends MVMap<K,V>,K,V>
A builder for maps.
-
Method Summary
Modifier and TypeMethodDescriptionCreate a new map of the given type.void
setKeyType
(DataType<? super K> dataType) void
setValueType
(DataType<? super V> dataType)
-
Method Details
-
create
Create a new map of the given type.- Parameters:
store
- which will own this mapconfig
- configuration- Returns:
- the map
-
getKeyType
-
getValueType
-
setKeyType
-
setValueType
-