public interface InlineIndexKeyType
| Modifier and Type | Method and Description |
|---|---|
int |
compare(long pageAddr,
int off,
int maxSize,
IndexKey v)
Compares inlined and given value.
|
@Nullable IndexKey |
get(long pageAddr,
int off,
int maxSize)
Gets index key from inline index tree.
|
boolean |
inlinedFullValue(long pageAddr,
int off,
int maxSize)
Whether inline contains full index key.
|
int |
inlineSize()
Returns size of inlined key.
|
int |
inlineSize(IndexKey key)
Returns inline size for specified key.
|
int |
inlineSize(long pageAddr,
int off)
Actual size of inline value.
|
default boolean |
isComparableTo(IndexKey key) |
@Nullable Boolean |
isNull(long pageAddr,
int off,
int maxSize)
Checks if inlined index key is null.
|
short |
keySize() |
int |
put(long pageAddr,
int off,
IndexKey key,
int maxSize)
Puts given value into inline index tree.
|
IndexKeyType |
type()
Returns type of inlined column.
|
IndexKeyType type()
int inlineSize()
int inlineSize(IndexKey key)
int inlineSize(long pageAddr,
int off)
pageAddr - Page address.off - Offset.int put(long pageAddr,
int off,
IndexKey key,
int maxSize)
pageAddr - Page address.off - Offset.key - Index key.maxSize - Remaining inlined buffer size (max available bytes to write for the current row).@Nullable @Nullable IndexKey get(long pageAddr, int off, int maxSize)
pageAddr - Page address.off - Offset.maxSize - Remaining inlined buffer size (max available bytes to read for the current row).@Nullable @Nullable Boolean isNull(long pageAddr, int off, int maxSize)
pageAddr - Page address.off - Offset.maxSize - Remaining inlined buffer size (max available bytes to read for the current row).Boolean.TRUE if index key is null, Boolean.FALSE if index key is not null,
null if can't say for sure.int compare(long pageAddr,
int off,
int maxSize,
IndexKey v)
pageAddr - Page address.off - Offset.maxSize - Remaining inlined buffer size (max available bytes to read for the current row).v - Value that should be compare.default boolean isComparableTo(IndexKey key)
True if inlined value can be compared to index key.short keySize()
-1 means variable length of key.boolean inlinedFullValue(long pageAddr,
int off,
int maxSize)
pageAddr - Page address.off - Offset.maxSize - Remaining inlined buffer size (max available bytes to read for the current row).true if inline contains full index key. Can be false for truncated variable length types.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023