V - the value typepublic static class MVRTreeMap.Builder<V> extends MVMap.BasicBuilder<MVRTreeMap<V>,SpatialKey,V>
| Constructor and Description |
|---|
MVRTreeMap.Builder()
Create a new builder for maps with 2 dimensions.
|
| Modifier and Type | Method and Description |
|---|---|
MVRTreeMap<V> |
create(java.util.Map<java.lang.String,java.lang.Object> config)
Create map from config.
|
MVRTreeMap.Builder<V> |
dimensions(int dimensions)
Set the dimensions.
|
MVRTreeMap.Builder<V> |
valueType(DataType valueType)
Set the key data type.
|
create, getKeyType, getValueType, keyType, setKeyType, setValueTypepublic MVRTreeMap.Builder()
public MVRTreeMap.Builder<V> dimensions(int dimensions)
dimensions - the dimensions to usepublic MVRTreeMap.Builder<V> valueType(DataType valueType)
valueType in class MVMap.BasicBuilder<MVRTreeMap<V>,SpatialKey,V>valueType - the key typepublic MVRTreeMap<V> create(java.util.Map<java.lang.String,java.lang.Object> config)
MVMap.BasicBuildercreate in class MVMap.BasicBuilder<MVRTreeMap<V>,SpatialKey,V>config - config map