| 程序包 | 说明 |
|---|---|
| org.h2.mvstore |
A persistent storage for tree maps.
|
| 限定符和类型 | 方法和说明 |
|---|---|
RootReference<K,V> |
MVMap.flushAndGetRoot()
Get the root reference, flushing any current append buffer.
|
RootReference<K,V> |
MVMap.flushAndGetRoot()
Get the root reference, flushing any current append buffer.
|
RootReference<K,V> |
MVMap.getRoot() |
RootReference<K,V> |
MVMap.getRoot() |
protected RootReference<K,V> |
MVMap.tryLock(RootReference<K,V> rootReference,
int attempt)
Try to lock the root.
|
protected RootReference<K,V> |
MVMap.tryLock(RootReference<K,V> rootReference,
int attempt)
Try to lock the root.
|
protected RootReference<K,V> |
MVMap.unlockRoot(Page<K,V> newRootPage)
Unlock the root page.
|
protected RootReference<K,V> |
MVMap.unlockRoot(Page<K,V> newRootPage)
Unlock the root page.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Cursor<K,V> |
MVMap.cursor(RootReference<K,V> rootReference,
K from,
K to,
boolean reverse)
Get a cursor to iterate over a number of keys and values.
|
Cursor<K,V> |
MVMap.cursor(RootReference<K,V> rootReference,
K from,
K to,
boolean reverse)
Get a cursor to iterate over a number of keys and values.
|
K |
MVMap.higherKey(RootReference<K,V> rootRef,
K key)
Get the smallest key that is larger than the given key, for the given
root page, or null if no such key exists.
|
K |
MVMap.higherKey(RootReference<K,V> rootRef,
K key)
Get the smallest key that is larger than the given key, for the given
root page, or null if no such key exists.
|
K |
MVMap.lowerKey(RootReference<K,V> rootRef,
K key)
Get the largest key that is smaller than the given key, for the given
root page, or null if no such key exists.
|
K |
MVMap.lowerKey(RootReference<K,V> rootRef,
K key)
Get the largest key that is smaller than the given key, for the given
root page, or null if no such key exists.
|
protected RootReference<K,V> |
MVMap.tryLock(RootReference<K,V> rootReference,
int attempt)
Try to lock the root.
|
protected RootReference<K,V> |
MVMap.tryLock(RootReference<K,V> rootReference,
int attempt)
Try to lock the root.
|
protected static <K,V> boolean |
MVMap.updateRoot(RootReference<K,V> expectedRootReference,
Page<K,V> newRootPage,
int attemptUpdateCounter)
Use the new root page from now on.
|
protected static <K,V> boolean |
MVMap.updateRoot(RootReference<K,V> expectedRootReference,
Page<K,V> newRootPage,
int attemptUpdateCounter)
Use the new root page from now on.
|
| 构造器和说明 |
|---|
Cursor(RootReference<K,V> rootReference,
K from,
K to) |
Cursor(RootReference<K,V> rootReference,
K from,
K to) |
Cursor(RootReference<K,V> rootReference,
K from,
K to,
boolean reverse) |
Cursor(RootReference<K,V> rootReference,
K from,
K to,
boolean reverse) |
Copyright © 2022. All rights reserved.