protected static class IgniteCacheOffheapManagerImpl.CacheDataTree extends BPlusTree<CacheSearchRow,CacheDataRow>
BPlusTree.DestroyBagIgniteTree.InvokeClosure<T>, IgniteTree.OperationTypemetaPageId| Constructor and Description |
|---|
IgniteCacheOffheapManagerImpl.CacheDataTree(String name,
ReuseList reuseList,
IgniteCacheOffheapManagerImpl.CacheDataRowStore rowStore,
GridCacheContext cctx,
long metaPageId,
boolean initNew) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
compare(BPlusIO<CacheSearchRow> io,
long pageAddr,
int idx,
CacheSearchRow row) |
protected CacheDataRow |
getRow(BPlusIO<CacheSearchRow> io,
long pageAddr,
int idx,
Object flags)
Get data row.
|
destroy, destroy, find, findFirst, findLast, findOne, findOne, getFirstPageIds, getName, getRow, initTree, initTree, interruptAll, invoke, latestInnerIO, latestLeafIO, printTree, put, putx, remove, removex, rootLevel, setIos, size, toString, treeName, validateTreeacquirePage, allocatePage, allocatePageNoReuse, getCacheId, init, needWalDeltaRecord, onBeforeReadLock, onBeforeWriteLock, onReadLock, onReadUnlock, onWriteLock, onWriteUnlock, pageSize, randomInt, read, read, readLock, readUnlock, recyclePage, releasePage, tryWriteLock, write, write, write, write, writeLock, writeUnlock, writeUnlockpublic IgniteCacheOffheapManagerImpl.CacheDataTree(String name, ReuseList reuseList, IgniteCacheOffheapManagerImpl.CacheDataRowStore rowStore, GridCacheContext cctx, long metaPageId, boolean initNew) throws IgniteCheckedException
name - Tree name.reuseList - Reuse list.rowStore - Row store.cctx - Context.metaPageId - Meta page ID.initNew - Initialize new index.IgniteCheckedException - If failed.protected int compare(BPlusIO<CacheSearchRow> io, long pageAddr, int idx, CacheSearchRow row) throws IgniteCheckedException
compare in class BPlusTree<CacheSearchRow,CacheDataRow>io - IO.pageAddr - Page address.idx - Index of row in the given buffer.row - Lookup row.Comparator.compare(Object, Object).IgniteCheckedException - If failed.protected CacheDataRow getRow(BPlusIO<CacheSearchRow> io, long pageAddr, int idx, Object flags) throws IgniteCheckedException
BPlusTree.canGetRowFromInner is true.getRow in class BPlusTree<CacheSearchRow,CacheDataRow>io - IO.pageAddr - Page address.idx - Index.flags - Implementation specific argument, null always means that we need to return full detached data row.IgniteCheckedException - If failed.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017