public class ShortInlineIndexKeyType extends NullableInlineIndexKeyType<ShortIndexKey>
Short values.CANT_BE_COMPARE, COMPARE_UNSUPPORTED, keySize| Constructor and Description |
|---|
ShortInlineIndexKeyType() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare0(long pageAddr,
int off,
ShortIndexKey key)
Compares inlined and given value.
|
protected ShortIndexKey |
get0(long pageAddr,
int off)
Restores value from inline.
|
protected int |
inlineSize0(ShortIndexKey key)
Return inlined size for specified key.
|
protected int |
put0(long pageAddr,
int off,
ShortIndexKey key,
int maxSize)
Puts given value into inline index tree.
|
compare, get, inlineSize, inlineSize, inlineSize, put, readBytes, typepublic int compare0(long pageAddr,
int off,
ShortIndexKey key)
compare0 in class NullableInlineIndexKeyType<ShortIndexKey>pageAddr - Page address.off - Offset.key - Value that should be compare.NullableInlineIndexKeyType.CANT_BE_COMPARE if inlined part
is not enough to compare, or NullableInlineIndexKeyType.COMPARE_UNSUPPORTED if given value
can't be compared with inlined part at all.protected int put0(long pageAddr,
int off,
ShortIndexKey key,
int maxSize)
put0 in class NullableInlineIndexKeyType<ShortIndexKey>pageAddr - Page address.off - Offset.key - Value.maxSize - Max size.protected ShortIndexKey get0(long pageAddr, int off)
get0 in class NullableInlineIndexKeyType<ShortIndexKey>pageAddr - Page address.off - Offset.null if value can't be restored.protected int inlineSize0(ShortIndexKey key)
inlineSize0 in class NullableInlineIndexKeyType<ShortIndexKey>
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.0 Release Date : September 11 2021