| 程序包 | 说明 |
|---|---|
| org.h2.engine |
Contains high level classes of the database and classes that don't fit in another sub-package.
|
| 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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
SessionLocal.onRollback(MVMap<Object,VersionedValue<Object>> map,
Object key,
VersionedValue<Object> existingValue,
VersionedValue<Object> restoredValue) |
void |
SessionLocal.onRollback(MVMap<Object,VersionedValue<Object>> map,
Object key,
VersionedValue<Object> existingValue,
VersionedValue<Object> restoredValue) |
| 限定符和类型 | 类和说明 |
|---|---|
static class |
MVMap.BasicBuilder<M extends MVMap<K,V>,K,V>
A builder for this class.
|
static class |
MVMap.BasicBuilder<M extends MVMap<K,V>,K,V>
A builder for this class.
|
static interface |
MVMap.MapBuilder<M extends MVMap<K,V>,K,V>
A builder for maps.
|
static interface |
MVMap.MapBuilder<M extends MVMap<K,V>,K,V>
A builder for maps.
|
| 限定符和类型 | 字段和说明 |
|---|---|
MVMap<K,V> |
Page.map
Map this page belongs to
|
MVMap<K,V> |
Page.map
Map this page belongs to
|
| 限定符和类型 | 方法和说明 |
|---|---|
<M extends MVMap<K,V>,K,V> |
MVStore.openMap(int id,
MVMap.MapBuilder<M,K,V> builder)
Open an existing map with the given builder.
|
<M extends MVMap<K,V>,K,V> |
MVStore.openMap(int id,
MVMap.MapBuilder<M,K,V> builder)
Open an existing map with the given builder.
|
<M extends MVMap<K,V>,K,V> |
MVStore.openMap(String name,
MVMap.MapBuilder<M,K,V> builder)
Open a map with the given builder.
|
<M extends MVMap<K,V>,K,V> |
MVStore.openMap(String name,
MVMap.MapBuilder<M,K,V> builder)
Open a map with the given builder.
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected MVMap<K,V> |
MVMap.cloneIt()
Clone the current map.
|
protected MVMap<K,V> |
MVMap.cloneIt()
Clone the current map.
|
protected MVMap<K,V> |
MVMap.Builder.create(Map<String,Object> config) |
protected MVMap<K,V> |
MVMap.Builder.create(Map<String,Object> config) |
MVMap<String,String> |
MVStore.getLayoutMap()
Get this store's layout map.
|
MVMap<String,String> |
MVStore.getLayoutMap()
Get this store's layout map.
|
<K,V> MVMap<K,V> |
MVStore.getMap(int id)
Get map by id.
|
<K,V> MVMap<K,V> |
MVStore.getMap(int id)
Get map by id.
|
MVMap<String,String> |
MVStore.getMetaMap()
Get the metadata map.
|
MVMap<String,String> |
MVStore.getMetaMap()
Get the metadata map.
|
<K,V> MVMap<K,V> |
MVStore.openMap(String name)
Open a map with the default settings.
|
<K,V> MVMap<K,V> |
MVStore.openMap(String name)
Open a map with the default settings.
|
MVMap<K,V> |
MVMap.openVersion(long version)
Open an old version for the given map.
|
MVMap<K,V> |
MVMap.openVersion(long version)
Open an old version for the given map.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static <K,V> Page<K,V> |
Page.createNode(MVMap<K,V> map,
K[] keys,
Page.PageReference<K,V>[] children,
long totalCount,
int memory)
Create a new non-leaf page.
|
static <K,V> Page<K,V> |
Page.createNode(MVMap<K,V> map,
K[] keys,
Page.PageReference<K,V>[] children,
long totalCount,
int memory)
Create a new non-leaf page.
|
void |
MVStore.removeMap(MVMap<?,?> map)
Remove a map from the current version of the store.
|
void |
MVStore.removeMap(MVMap<?,?> map)
Remove a map from the current version of the store.
|
void |
MVStore.renameMap(MVMap<?,?> map,
String newName)
Rename a map.
|
void |
MVStore.renameMap(MVMap<?,?> map,
String newName)
Rename a map.
|
| 构造器和说明 |
|---|
MVMap(MVMap<K,V> source) |
MVMap(MVMap<K,V> source) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
MVRTreeMap<V>
An r-tree implementation.
|
| 限定符和类型 | 字段和说明 |
|---|---|
MVMap<K,VersionedValue<V>> |
TransactionMap.map
The map used for writing (the latest version).
|
MVMap<K,VersionedValue<V>> |
TransactionMap.map
The map used for writing (the latest version).
|
| 限定符和类型 | 方法和说明 |
|---|---|
<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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
TransactionStore.RollbackListener.onRollback(MVMap<Object,VersionedValue<Object>> map,
Object key,
VersionedValue<Object> existingValue,
VersionedValue<Object> restoredValue)
Notified of a single map change (add/update/remove)
|
void |
TransactionStore.RollbackListener.onRollback(MVMap<Object,VersionedValue<Object>> map,
Object key,
VersionedValue<Object> existingValue,
VersionedValue<Object> restoredValue)
Notified of a single map change (add/update/remove)
|
<K,V> TransactionMap<K,V> |
Transaction.openMapX(MVMap<K,VersionedValue<V>> map)
Open the transactional version of the given map.
|
<K,V> TransactionMap<K,V> |
Transaction.openMapX(MVMap<K,VersionedValue<V>> map)
Open the transactional version of the given map.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Transaction.markStatementStart(HashSet<MVMap<Object,VersionedValue<Object>>> maps)
Mark an entry into a new SQL statement execution within this transaction.
|
void |
Transaction.markStatementStart(HashSet<MVMap<Object,VersionedValue<Object>>> maps)
Mark an entry into a new SQL statement execution within this transaction.
|
Copyright © 2022. All rights reserved.