public class TxLogLeafIO extends BPlusLeafIO<TxKey> implements TxLogIO
| Modifier and Type | Field and Description |
|---|---|
static IOVersions<TxLogLeafIO> |
VERSIONS |
ITEMS_OFF, itemSizeCOMMON_HEADER_END, CRC_OFF, MAX_PAYLOAD_SIZE, PAGE_ID_OFF, ROTATED_ID_PART_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_CACHE_ID_DATA_REF_MVCC_INNER, T_CACHE_ID_DATA_REF_MVCC_LEAF, T_DATA, T_DATA_METASTORAGE, T_DATA_PART, T_DATA_REF_INNER, T_DATA_REF_LEAF, T_DATA_REF_METASTORAGE_INNER, T_DATA_REF_METASTORAGE_LEAF, T_DATA_REF_MVCC_INNER, T_DATA_REF_MVCC_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_EX_REF_MVCC_INNER_END, T_H2_EX_REF_MVCC_INNER_START, T_H2_EX_REF_MVCC_LEAF_END, T_H2_EX_REF_MVCC_LEAF_START, T_H2_MVCC_REF_INNER, T_H2_MVCC_REF_LEAF, 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, T_TX_LOG_INNER, T_TX_LOG_LEAF, TYPE_OFF, VER_OFF| Modifier | Constructor and Description |
|---|---|
protected |
TxLogLeafIO(int ver) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(long pageAddr,
int off,
TxKey row) |
TxKey |
getLookupRow(BPlusTree<TxKey,?> tree,
long pageAddr,
int idx)
Get lookup row.
|
long |
getMajor(long pageAddr,
int off) |
long |
getMinor(long pageAddr,
int off) |
byte |
getState(long pageAddr,
int off) |
void |
setMajor(long pageAddr,
int off,
long major) |
void |
setMinor(long pageAddr,
int off,
long minor) |
void |
setState(long pageAddr,
int off,
byte state) |
void |
store(long dstPageAddr,
int dstIdx,
BPlusIO<TxKey> srcIo,
long srcPageAddr,
int srcIdx)
Store row info from the given source.
|
void |
storeByOffset(long pageAddr,
int off,
TxKey row)
Store the needed info about the row in the page.
|
copyItems, getMaxCount, offsetcanGetRow, compactPage, getCount, getForward, getItemsEnd, getItemSize, getRemoveId, initNewPage, insert, isLeaf, merge, printPage, remove, restorePage, setCount, setForward, setRemoveId, splitExistingPage, splitForwardPage, store, visitcopyPage, deriveIndexPageType, getBPlusIO, getBPlusIO, getCompactedSize, getCompactedSize, getCompressedSize, getCompressedSize, getCompressionType, getCompressionType, getCrc, getCrc, getInnerVersions, getLeafVersions, getPageId, getPageId, getPageIO, getPageIO, getPageIO, getRotatedIdPart, getType, getType, getType, getVersion, getVersion, getVersion, isDataPageType, printPage, registerH2, registerH2ExtraInner, registerH2ExtraLeaf, registerTest, registerTest, setCompactedSize, setCompressedSize, setCompressionType, setCrc, setCrc, setPageId, setRotatedIdPart, setType, setVersion, toStringpublic static final IOVersions<TxLogLeafIO> VERSIONS
protected TxLogLeafIO(int ver)
ver - Page format version.public void storeByOffset(long pageAddr,
int off,
TxKey row)
storeByOffset in class BPlusIO<TxKey>pageAddr - Page address.off - Offset in bytes.row - Lookup or full row.public void store(long dstPageAddr,
int dstIdx,
BPlusIO<TxKey> srcIo,
long srcPageAddr,
int srcIdx)
public TxKey getLookupRow(BPlusTree<TxKey,?> tree, long pageAddr, int idx)
getLookupRow in class BPlusIO<TxKey>tree - Tree.pageAddr - Page address.idx - Index.public int compare(long pageAddr,
int off,
TxKey row)
public long getMajor(long pageAddr,
int off)
public void setMajor(long pageAddr,
int off,
long major)
public long getMinor(long pageAddr,
int off)
public void setMinor(long pageAddr,
int off,
long minor)
public byte getState(long pageAddr,
int off)
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.9.0 Release Date : October 15 2020