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,SequenceMap.Builder
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.voidsetKeyType(DataType<? super K> dataType) voidsetValueType(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
-