K - the key typeV - the value typepublic static class MVMap.Builder<K,V> extends MVMap.BasicBuilder<MVMap<K,V>,K,V>
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
protected MVMap<K,V> |
create(java.util.Map<java.lang.String,java.lang.Object> config)
Create map from config.
|
MVMap.Builder<K,V> |
keyType(DataType<? super K> dataType)
Set the key data type.
|
MVMap.Builder<K,V> |
singleWriter()
Set up this Builder to produce MVMap, which can be used in append mode
by a single thread.
|
MVMap.Builder<K,V> |
valueType(DataType<? super V> dataType)
Set the value data type.
|
create, getKeyType, getValueType, setKeyType, setValueTypepublic MVMap.Builder<K,V> keyType(DataType<? super K> dataType)
MVMap.BasicBuilderpublic MVMap.Builder<K,V> valueType(DataType<? super V> dataType)
MVMap.BasicBuilderpublic MVMap.Builder<K,V> singleWriter()
MVMap.append(Object, Object)