| 程序包 | 说明 |
|---|---|
| org.h2.mvstore |
A persistent storage for tree maps.
|
| org.h2.mvstore.db |
Helper classes to use the MVStore in the H2 database.
|
| org.h2.mvstore.rtree |
An R-tree implementation
|
| org.h2.mvstore.tx |
Helper classes to use the MVStore in a transactional manner.
|
| org.h2.mvstore.type |
Data types and serialization / deserialization
|
| org.h2.util |
Internal utility classes.
|
| 限定符和类型 | 方法和说明 |
|---|---|
DataType<K> |
MVMap.getKeyType()
Get the key type.
|
DataType<K> |
MVMap.MapBuilder.getKeyType() |
DataType<K> |
MVMap.BasicBuilder.getKeyType() |
DataType<K> |
MVMap.getKeyType()
Get the key type.
|
DataType<K> |
MVMap.MapBuilder.getKeyType() |
DataType<K> |
MVMap.BasicBuilder.getKeyType() |
DataType<V> |
MVMap.getValueType()
Get the value type.
|
DataType<V> |
MVMap.MapBuilder.getValueType() |
DataType<V> |
MVMap.BasicBuilder.getValueType() |
DataType<V> |
MVMap.getValueType()
Get the value type.
|
DataType<V> |
MVMap.MapBuilder.getValueType() |
DataType<V> |
MVMap.BasicBuilder.getValueType() |
| 限定符和类型 | 方法和说明 |
|---|---|
MVMap.BasicBuilder<M,K,V> |
MVMap.BasicBuilder.keyType(DataType<? super K> keyType)
Set the key data type.
|
MVMap.Builder<K,V> |
MVMap.Builder.keyType(DataType<? super K> dataType) |
MVMap.BasicBuilder<M,K,V> |
MVMap.BasicBuilder.keyType(DataType<? super K> keyType)
Set the key data type.
|
MVMap.Builder<K,V> |
MVMap.Builder.keyType(DataType<? super K> dataType) |
void |
MVMap.MapBuilder.setKeyType(DataType<? super K> dataType) |
void |
MVMap.BasicBuilder.setKeyType(DataType<? super K> keyType) |
void |
MVMap.MapBuilder.setKeyType(DataType<? super K> dataType) |
void |
MVMap.BasicBuilder.setKeyType(DataType<? super K> keyType) |
void |
MVMap.MapBuilder.setValueType(DataType<? super V> dataType) |
void |
MVMap.BasicBuilder.setValueType(DataType<? super V> valueType) |
void |
MVMap.MapBuilder.setValueType(DataType<? super V> dataType) |
void |
MVMap.BasicBuilder.setValueType(DataType<? super V> valueType) |
MVMap.BasicBuilder<M,K,V> |
MVMap.BasicBuilder.valueType(DataType<? super V> valueType)
Set the value data type.
|
MVMap.Builder<K,V> |
MVMap.Builder.valueType(DataType<? super V> dataType) |
MVMap.BasicBuilder<M,K,V> |
MVMap.BasicBuilder.valueType(DataType<? super V> valueType)
Set the value data type.
|
MVMap.Builder<K,V> |
MVMap.Builder.valueType(DataType<? super V> dataType) |
| 构造器和说明 |
|---|
MVMap(Map<String,Object> config,
DataType<K> keyType,
DataType<V> valueType) |
MVMap(Map<String,Object> config,
DataType<K> keyType,
DataType<V> valueType) |
MVMap(Map<String,Object> config,
DataType<K> keyType,
DataType<V> valueType) |
MVMap(Map<String,Object> config,
DataType<K> keyType,
DataType<V> valueType) |
| 限定符和类型 | 类和说明 |
|---|---|
static class |
LobStorageMap.BlobMeta.Type |
static class |
LobStorageMap.BlobReference.Type |
class |
NullValueDataType
Dummy data type used when no value is required.
|
class |
RowDataType
The data type for rows.
|
class |
ValueDataType
A row type.
|
| 限定符和类型 | 方法和说明 |
|---|---|
DataType<?> |
ValueDataType.Factory.create(ByteBuffer buff,
MetaType<Database> metaType,
Database database) |
DataType<?> |
ValueDataType.Factory.create(ByteBuffer buff,
MetaType<Database> metaType,
Database database) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
SpatialDataType
A spatial data type.
|
| 限定符和类型 | 方法和说明 |
|---|---|
MVRTreeMap.Builder<V> |
MVRTreeMap.Builder.valueType(DataType<? super V> valueType)
Set the key data type.
|
MVRTreeMap.Builder<V> |
MVRTreeMap.Builder.valueType(DataType<? super V> valueType)
Set the key data type.
|
| 构造器和说明 |
|---|
MVRTreeMap(Map<String,Object> config,
SpatialDataType keyType,
DataType<V> valueType) |
MVRTreeMap(Map<String,Object> config,
SpatialDataType keyType,
DataType<V> valueType) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
VersionedValueType<T,D>
The value type for a versioned value.
|
| 限定符和类型 | 方法和说明 |
|---|---|
DataType<?> |
VersionedValueType.Factory.create(ByteBuffer buff,
MetaType<D> metaType,
D database) |
DataType<?> |
VersionedValueType.Factory.create(ByteBuffer buff,
MetaType<D> metaType,
D database) |
DataType<K> |
TransactionMap.getKeyType() |
DataType<K> |
TransactionMap.getKeyType() |
| 限定符和类型 | 方法和说明 |
|---|---|
<K,V> TransactionMap<K,V> |
Transaction.openMap(String name,
DataType<K> keyType,
DataType<V> valueType)
Open the map to store the data.
|
<K,V> TransactionMap<K,V> |
Transaction.openMap(String name,
DataType<K> keyType,
DataType<V> valueType)
Open the map to store the data.
|
<K,V> MVMap<K,V> |
TransactionStore.openMap(String name,
DataType<K> keyType,
DataType<V> valueType)
Open the map with the given name.
|
<K,V> MVMap<K,V> |
TransactionStore.openMap(String name,
DataType<K> keyType,
DataType<V> valueType)
Open the map with the given name.
|
<K,V> MVMap<K,V> |
TransactionStore.openMap(String name,
DataType<K> keyType,
DataType<V> valueType)
Open the map with the given name.
|
<K,V> MVMap<K,V> |
TransactionStore.openMap(String name,
DataType<K> keyType,
DataType<V> valueType)
Open the map with the given name.
|
<K,V> TransactionMap<K,V> |
Transaction.openMap(String name,
DataType<K> keyType,
DataType<V> valueType)
Open the map to store the data.
|
<K,V> TransactionMap<K,V> |
Transaction.openMap(String name,
DataType<K> keyType,
DataType<V> valueType)
Open the map to store the data.
|
| 构造器和说明 |
|---|
TransactionStore(MVStore store,
DataType<?> dataType) |
TransactionStore(MVStore store,
DataType<?> dataType) |
TransactionStore(MVStore store,
MetaType<?> metaDataType,
DataType<?> dataType,
int timeoutMillis)
Create a new transaction store.
|
TransactionStore(MVStore store,
MetaType<?> metaDataType,
DataType<?> dataType,
int timeoutMillis)
Create a new transaction store.
|
VersionedValueType(DataType<T> valueType) |
VersionedValueType(DataType<T> valueType) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
BasicDataType<T>
The base class for data type implementations.
|
class |
ByteArrayDataType
Class ByteArrayDataType.
|
class |
LongDataType
Class LongDataType.
|
class |
MetaType<D>
Class DBMetaType is a type for values in the type registry map.
|
class |
ObjectDataType
A data type implementation for the most common data types, including
serializable objects.
|
class |
StringDataType
A string type.
|
| 限定符和类型 | 方法和说明 |
|---|---|
DataType<?> |
StatefulDataType.Factory.create(ByteBuffer buff,
MetaType<D> metaDataType,
D database)
Reads the data type.
|
DataType<?> |
StatefulDataType.Factory.create(ByteBuffer buff,
MetaType<D> metaDataType,
D database)
Reads the data type.
|
DataType<?>[] |
MetaType.createStorage(int size) |
DataType<?>[] |
MetaType.createStorage(int size) |
DataType<?> |
MetaType.read(ByteBuffer buff) |
DataType<?> |
MetaType.read(ByteBuffer buff) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
MetaType.compare(DataType<?> a,
DataType<?> b) |
int |
MetaType.compare(DataType<?> a,
DataType<?> b) |
int |
MetaType.compare(DataType<?> a,
DataType<?> b) |
int |
MetaType.compare(DataType<?> a,
DataType<?> b) |
int |
MetaType.getMemory(DataType<?> obj) |
int |
MetaType.getMemory(DataType<?> obj) |
void |
MetaType.write(WriteBuffer buff,
DataType<?> obj) |
void |
MetaType.write(WriteBuffer buff,
DataType<?> obj) |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T> int |
MemoryEstimator.estimateMemory(AtomicLong stats,
DataType<T> dataType,
T data)
Estimates memory size of the data based on previous values.
|
static <T> int |
MemoryEstimator.estimateMemory(AtomicLong stats,
DataType<T> dataType,
T data)
Estimates memory size of the data based on previous values.
|
static <T> int |
MemoryEstimator.estimateMemory(AtomicLong stats,
DataType<T> dataType,
T[] storage,
int count)
Estimates memory size of the data set based on previous values.
|
static <T> int |
MemoryEstimator.estimateMemory(AtomicLong stats,
DataType<T> dataType,
T[] storage,
int count)
Estimates memory size of the data set based on previous values.
|
Copyright © 2022. All rights reserved.