public static final class MetadataStorage.MetaStoreInnerIO extends BPlusInnerIO<org.apache.ignite.internal.processors.cache.database.MetadataStorage.IndexItem>
Modifier and Type | Field and Description |
---|---|
static IOVersions<MetadataStorage.MetaStoreInnerIO> |
VERSIONS |
ITEMS_OFF, itemSize
COMMON_HEADER_END, CRC_OFF, MAX_PAYLOAD_SIZE, PAGE_ID_OFF, T_BPLUS_META, T_DATA, T_DATA_REF_INNER, T_DATA_REF_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_META, T_PENDING_REF_INNER, T_PENDING_REF_LEAF, TYPE_OFF, VER_OFF
Modifier and Type | Method and Description |
---|---|
org.apache.ignite.internal.processors.cache.database.MetadataStorage.IndexItem |
getLookupRow(BPlusTree<org.apache.ignite.internal.processors.cache.database.MetadataStorage.IndexItem,?> tree,
long pageAddr,
int idx)
Get lookup row.
|
int |
getOffset(long pageAddr,
int idx) |
void |
store(long dstPageAddr,
int dstIdx,
BPlusIO<org.apache.ignite.internal.processors.cache.database.MetadataStorage.IndexItem> srcIo,
long srcPageAddr,
int srcIdx)
Store row info from the given source.
|
void |
storeByOffset(long pageAddr,
int off,
org.apache.ignite.internal.processors.cache.database.MetadataStorage.IndexItem row)
Store the needed info about the row in the page.
|
copyItems, getLeft, getMaxCount, getRight, initNewRoot, insert, offset, setLeft
canGetRow, getCount, getForward, getItemSize, getRemoveId, initNewPage, isLeaf, merge, remove, setCount, setForward, setRemoveId, splitExistingPage, splitForwardPage, store, visit
getBPlusIO, getBPlusIO, getCrc, getCrc, getInnerVersions, getLeafVersions, getPageId, getPageId, getPageIO, getPageIO, getType, getType, getType, getVersion, getVersion, getVersion, registerH2, registerH2ExtraInner, registerH2ExtraLeaf, registerTest, setCrc, setCrc, setPageId, setType, toString
public static final IOVersions<MetadataStorage.MetaStoreInnerIO> VERSIONS
public void storeByOffset(long pageAddr, int off, org.apache.ignite.internal.processors.cache.database.MetadataStorage.IndexItem row) throws IgniteCheckedException
storeByOffset
in class BPlusIO<org.apache.ignite.internal.processors.cache.database.MetadataStorage.IndexItem>
pageAddr
- Page address.off
- Offset in bytes.row
- Lookup or full row.IgniteCheckedException
- If failed.public void store(long dstPageAddr, int dstIdx, BPlusIO<org.apache.ignite.internal.processors.cache.database.MetadataStorage.IndexItem> srcIo, long srcPageAddr, int srcIdx) throws IgniteCheckedException
store
in class BPlusIO<org.apache.ignite.internal.processors.cache.database.MetadataStorage.IndexItem>
dstPageAddr
- Destination page address.dstIdx
- Destination index.srcIo
- Source IO.srcPageAddr
- Source page address.srcIdx
- Source index.IgniteCheckedException
- If failed.public org.apache.ignite.internal.processors.cache.database.MetadataStorage.IndexItem getLookupRow(BPlusTree<org.apache.ignite.internal.processors.cache.database.MetadataStorage.IndexItem,?> tree, long pageAddr, int idx) throws IgniteCheckedException
getLookupRow
in class BPlusIO<org.apache.ignite.internal.processors.cache.database.MetadataStorage.IndexItem>
tree
- Tree.pageAddr
- Page address.idx
- Index.IgniteCheckedException
- If failed.public int getOffset(long pageAddr, int idx)
pageAddr
- Page address.idx
- Index.idx
.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017