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.
|
default boolean |
inlinedFullValue(long pageAddr,
int off)
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) |
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 - Max size.@Nullable @Nullable IndexKey get(long pageAddr, int off, int maxSize)
pageAddr - Page address.off - Offset.maxSize - Max size.int compare(long pageAddr,
int off,
int maxSize,
IndexKey v)
pageAddr - Page address.off - Offset.maxSize - Max size.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.default boolean inlinedFullValue(long pageAddr,
int off)
pageAddr - Page address.off - Offset.true if inline contains full index key. Can be false for truncated variable lenght types.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.14.0 Release Date : September 29 2022