|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.h2.mvstore.MVMap.Builder<K,V>
K - the key typeV - the value typepublic static class MVMap.Builder<K,V>
A builder for this class.
| Field Summary | |
|---|---|
protected DataType |
keyType
|
protected DataType |
valueType
|
| Constructor Summary | |
|---|---|
MVMap.Builder()
Create a new builder with the default key and value data types. |
|
| Method Summary | |
|---|---|
MVMap<K,V> |
create()
Create a new map of the given type. |
DataType |
getKeyType()
|
DataType |
getValueType()
|
MVMap.Builder<K,V> |
keyType(DataType keyType)
Set the key data type. |
MVMap.Builder<K,V> |
valueType(DataType valueType)
Set the value data type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected DataType keyType
protected DataType valueType
| Constructor Detail |
|---|
public MVMap.Builder()
| Method Detail |
|---|
public MVMap.Builder<K,V> keyType(DataType keyType)
keyType - the key type
public DataType getKeyType()
public DataType getValueType()
public MVMap.Builder<K,V> valueType(DataType valueType)
valueType - the value type
public MVMap<K,V> create()
MVMap.MapBuilder
create in interface MVMap.MapBuilder<MVMap<K,V>,K,V>
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||