public class MetaPageInfo extends Object
| Constructor and Description |
|---|
MetaPageInfo(BPlusMetaIO io,
long pageAddr) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
flagsSupported() |
boolean |
inlineObjectHash() |
boolean |
inlineObjectSupported() |
int |
inlineSize() |
static MetaPageInfo |
read(long metaPageId,
int grpId,
PageMemory pageMemory)
Reads meta page info from page memory.
|
boolean |
useUnwrappedPk() |
void |
write(long metaPageId,
int grpId,
PageMemory pageMemory)
Writes meta page info into page memory.
|
public MetaPageInfo(BPlusMetaIO io, long pageAddr)
io - Metapage IO.pageAddr - Page address.public int inlineSize()
public boolean useUnwrappedPk()
true In case use unwrapped PK for indexes.public boolean flagsSupported()
true In case metapage contains flags.public boolean inlineObjectSupported()
true In case inline object is supported.public boolean inlineObjectHash()
true In case inline object is supported.public static MetaPageInfo read(long metaPageId, int grpId, PageMemory pageMemory) throws IgniteCheckedException
metaPageId - Meta page ID.grpId - Cache group ID.pageMemory - Page memory.IgniteCheckedException - If something went wrong.public void write(long metaPageId,
int grpId,
PageMemory pageMemory)
throws IgniteCheckedException
metaPageId - Meta page ID.grpId - Cache group ID.pageMemory - Page memory.IgniteCheckedException - If something went wrong.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023