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
public static interface MVMap.MapBuilder<M extends MVMap<K,V>,K,V>
A builder for maps.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description M
create(MVStore store, Map<String,Object> config)
Create a new map of the given type.DataType
getKeyType()
DataType
getValueType()
void
setKeyType(DataType dataType)
void
setValueType(DataType dataType)
-
-
-
Method Detail
-
create
M create(MVStore store, Map<String,Object> config)
Create a new map of the given type.- Parameters:
store
- which will own this mapconfig
- configuration- Returns:
- the map
-
getKeyType
DataType getKeyType()
-
getValueType
DataType getValueType()
-
setKeyType
void setKeyType(DataType dataType)
-
setValueType
void setValueType(DataType dataType)
-
-