public abstract class AbstractDataInnerIO extends BPlusInnerIO<CacheSearchRow> implements RowLinkIO
ITEMS_OFF, itemSizeCOMMON_HEADER_END, CRC_OFF, MAX_PAYLOAD_SIZE, PAGE_ID_OFF, T_BPLUS_META, T_CACHE_ID_AWARE_DATA_REF_INNER, T_CACHE_ID_AWARE_DATA_REF_LEAF, T_CACHE_ID_AWARE_PENDING_REF_INNER, T_CACHE_ID_AWARE_PENDING_REF_LEAF, T_DATA, T_DATA_METASTORAGE, T_DATA_REF_INNER, T_DATA_REF_LEAF, T_DATA_REF_METASTORAGE_INNER, T_DATA_REF_METASTORAGE_LEAF, T_H2_EX_REF_INNER_END, T_H2_EX_REF_INNER_START, T_H2_EX_REF_LEAF_END, T_H2_EX_REF_LEAF_START, T_H2_REF_INNER, T_H2_REF_LEAF, T_META, T_METASTORE_INNER, T_METASTORE_LEAF, T_PAGE_LIST_META, T_PAGE_LIST_NODE, T_PAGE_UPDATE_TRACKING, T_PART_CNTRS, T_PART_META, T_PENDING_REF_INNER, T_PENDING_REF_LEAF, TYPE_OFF, VER_OFF| Modifier and Type | Method and Description |
|---|---|
int |
getHash(long pageAddr,
int idx) |
long |
getLink(long pageAddr,
int idx) |
CacheSearchRow |
getLookupRow(BPlusTree<CacheSearchRow,?> tree,
long pageAddr,
int idx)
Get lookup row.
|
void |
store(long dstPageAddr,
int dstIdx,
BPlusIO<CacheSearchRow> srcIo,
long srcPageAddr,
int srcIdx)
Store row info from the given source.
|
void |
storeByOffset(long pageAddr,
int off,
CacheSearchRow row)
Store the needed info about the row in the page.
|
protected abstract boolean |
storeCacheId() |
void |
visit(long pageAddr,
IgniteInClosure<CacheSearchRow> c) |
copyItems, getLeft, getMaxCount, getRight, initNewRoot, insert, offset, setLeftcanGetRow, getCount, getForward, getItemSize, getRemoveId, initNewPage, isLeaf, merge, printPage, remove, setCount, setForward, setRemoveId, splitExistingPage, splitForwardPage, storegetBPlusIO, getBPlusIO, getCrc, getCrc, getInnerVersions, getLeafVersions, getPageId, getPageId, getPageIO, getPageIO, getType, getType, getType, getVersion, getVersion, getVersion, isDataPageType, printPage, registerH2, registerH2ExtraInner, registerH2ExtraLeaf, registerTest, setCrc, setCrc, setPageId, setType, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCacheIdpublic void storeByOffset(long pageAddr,
int off,
CacheSearchRow row)
storeByOffset in class BPlusIO<CacheSearchRow>pageAddr - Page address.off - Offset in bytes.row - Lookup or full row.public CacheSearchRow getLookupRow(BPlusTree<CacheSearchRow,?> tree, long pageAddr, int idx)
getLookupRow in class BPlusIO<CacheSearchRow>tree - Tree.pageAddr - Page address.idx - Index.public void store(long dstPageAddr,
int dstIdx,
BPlusIO<CacheSearchRow> srcIo,
long srcPageAddr,
int srcIdx)
store in class BPlusIO<CacheSearchRow>dstPageAddr - Destination page address.dstIdx - Destination index.srcIo - Source IO.srcPageAddr - Source page address.srcIdx - Source index.public long getLink(long pageAddr,
int idx)
public int getHash(long pageAddr,
int idx)
public void visit(long pageAddr,
IgniteInClosure<CacheSearchRow> c)
visit in class BPlusIO<CacheSearchRow>pageAddr - Page address.c - Closure.protected abstract boolean storeCacheId()
True if cache ID has to be stored.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.6.0 Release Date : July 10 2018