Package org.h2.mvstore.rtree
Class MVRTreeMap.Builder<V>
java.lang.Object
org.h2.mvstore.MVMap.BasicBuilder<MVRTreeMap<V>,Spatial,V>
org.h2.mvstore.rtree.MVRTreeMap.Builder<V>
- Type Parameters:
V- the value type
- All Implemented Interfaces:
MVMap.MapBuilder<MVRTreeMap<V>,Spatial, V>
- Enclosing class:
MVRTreeMap<V>
A builder for this class.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate map from config.dimensions(int dimensions) Set the dimensions.Set the key data type.Methods inherited from class org.h2.mvstore.MVMap.BasicBuilder
create, getKeyType, getValueType, keyType, setKeyType, setValueType
-
Constructor Details
-
Builder
public Builder()Create a new builder for maps with 2 dimensions.
-
-
Method Details
-
dimensions
Set the dimensions.- Parameters:
dimensions- the dimensions to use- Returns:
- this
-
valueType
Set the key data type.- Overrides:
valueTypein classMVMap.BasicBuilder<MVRTreeMap<V>,Spatial, V> - Parameters:
valueType- the key type- Returns:
- this
-
create
Description copied from class:MVMap.BasicBuilderCreate map from config.- Specified by:
createin classMVMap.BasicBuilder<MVRTreeMap<V>,Spatial, V> - Parameters:
config- config map- Returns:
- new map
-