Package | Description |
---|---|
org.h2.mvstore |
A persistent storage for tree maps.
|
org.h2.mvstore.rtree |
An R-tree implementation
|
Modifier and Type | Field and Description |
---|---|
Page |
CursorPos.page
The current page.
|
protected Page |
MVMap.root
The current root page (may not be null).
|
Modifier and Type | Method and Description |
---|---|
protected Page |
MVMap.binarySearchPage(Page p,
Object key)
Get the value for the given key, or null if not found.
|
Page |
Page.copy(long version)
Create a copy of this page.
|
static Page |
Page.create(MVMap<?,?> map,
long version,
Object[] keys,
Object[] values,
Page.PageReference[] children,
long totalCount,
int memory)
Create a new page.
|
static Page |
Page.create(MVMap<?,?> map,
long version,
Page source)
Create a copy of a page.
|
Page |
Page.getChildPage(int index)
Get the child page at the given index.
|
Page |
MVMap.getRoot()
Get the root page.
|
protected Page |
MVMap.splitRootIfNeeded(Page p,
long writeVersion)
Split the root page if necessary.
|
Modifier and Type | Method and Description |
---|---|
CacheLongKeyLIRS<Page> |
MVStore.getCache()
Get the cache.
|
Modifier and Type | Method and Description |
---|---|
protected Object |
MVMap.binarySearch(Page p,
Object key)
Get the value for the given key, or null if not found.
|
protected Page |
MVMap.binarySearchPage(Page p,
Object key)
Get the value for the given key, or null if not found.
|
static Page |
Page.create(MVMap<?,?> map,
long version,
Page source)
Create a copy of a page.
|
protected int |
MVMap.getChildPageCount(Page p)
Get the child page count for this page.
|
void |
Page.insertNode(int index,
Object key,
Page childPage)
Insert a child page into this node.
|
protected void |
MVMap.newRoot(Page newRoot)
Use the new root page from now on.
|
protected Object |
MVMap.put(Page p,
long writeVersion,
Object key,
Object value)
Add or update a key-value pair.
|
protected Object |
MVMap.remove(Page p,
long writeVersion,
Object key)
Remove a key-value pair.
|
void |
Page.setChild(int index,
Page c)
Replace the child page.
|
protected Page |
MVMap.splitRootIfNeeded(Page p,
long writeVersion)
Split the root page if necessary.
|
Constructor and Description |
---|
CursorPos(Page page,
int index,
CursorPos parent) |
PageReference(Page page,
long pos,
long count) |
Modifier and Type | Method and Description |
---|---|
void |
MVRTreeMap.addNodeKeys(ArrayList<SpatialKey> list,
Page p)
Add all node keys (including internal bounds) to the given list.
|
protected Object |
MVRTreeMap.get(Page p,
Object key)
Get the object for the given key.
|
protected int |
MVRTreeMap.getChildPageCount(Page p) |
protected Object |
MVRTreeMap.remove(Page p,
long writeVersion,
Object key) |
Constructor and Description |
---|
RTreeCursor(Page root,
SpatialKey filter) |
Copyright © 2017 JBoss by Red Hat. All rights reserved.