public class MetastorageTree extends BPlusTree<MetastorageSearchRow,MetastorageDataRow>
| Modifier and Type | Class and Description |
|---|---|
static class |
MetastorageTree.MetastorageInnerIO |
static class |
MetastorageTree.MetastoreLeafIO |
BPlusTree.DestroyBag, BPlusTree.TreeRowClosure<L,T extends L>IgniteTree.InvokeClosure<T>, IgniteTree.OperationType| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_KEY_LEN
Max key length (bytes num)
|
metaPageId| Constructor and Description |
|---|
MetastorageTree(int cacheId,
PageMemory pageMem,
IgniteWriteAheadLogManager wal,
AtomicLong globalRmvId,
ReuseList reuseList,
MetastorageRowStore rowStore,
long metaPageId,
boolean initNew) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
compare(BPlusIO<MetastorageSearchRow> io,
long pageAddr,
int idx,
MetastorageSearchRow row) |
protected MetastorageDataRow |
getRow(BPlusIO<MetastorageSearchRow> io,
long pageAddr,
int idx,
Object x)
Get data row.
|
MetastorageRowStore |
rowStore() |
compare, destroy, destroy, find, find, findFirst, findLast, findOne, findOne, getFirstPageIds, getLockRetries, getName, getRow, initTree, initTree, interruptAll, invoke, latestInnerIO, latestLeafIO, printTree, put, putx, remove, removex, rootLevel, setIos, size, size, toString, treeName, validateTreeacquirePage, allocatePage, allocatePage, allocatePageNoReuse, groupId, init, needWalDeltaRecord, onBeforeReadLock, onBeforeWriteLock, onReadLock, onReadUnlock, onWriteLock, onWriteUnlock, pageSize, randomInt, read, read, readLock, readUnlock, recyclePage, releasePage, tryWriteLock, write, write, write, write, writeLock, writeUnlock, writeUnlockpublic static final int MAX_KEY_LEN
public MetastorageTree(int cacheId,
PageMemory pageMem,
IgniteWriteAheadLogManager wal,
AtomicLong globalRmvId,
ReuseList reuseList,
MetastorageRowStore rowStore,
long metaPageId,
boolean initNew)
throws IgniteCheckedException
pageMem - wal - globalRmvId - metaPageId - reuseList - IgniteCheckedExceptionprotected int compare(BPlusIO<MetastorageSearchRow> io, long pageAddr, int idx, MetastorageSearchRow row) throws IgniteCheckedException
compare in class BPlusTree<MetastorageSearchRow,MetastorageDataRow>io - IO.pageAddr - Page address.idx - Index of row in the given buffer.row - Lookup row.Comparator.compare(Object, Object).IgniteCheckedException - If failed.protected MetastorageDataRow getRow(BPlusIO<MetastorageSearchRow> io, long pageAddr, int idx, Object x) throws IgniteCheckedException
BPlusTree.canGetRowFromInner is true.getRow in class BPlusTree<MetastorageSearchRow,MetastorageDataRow>io - IO.pageAddr - Page address.idx - Index.x - Implementation specific argument, null always means that we need to return full detached data row.IgniteCheckedException - If failed.public MetastorageRowStore rowStore()
Follow @ApacheIgnite
Ignite Fabric : ver. 2.6.0 Release Date : July 10 2018