public class ObjectByteArrayInlineIndexKeyType extends NullableInlineIndexKeyType<JavaObjectIndexKey>
CANT_BE_COMPARE, COMPARE_UNSUPPORTED, keySize, VARTYPE_HEADER_SIZE| Constructor and Description |
|---|
ObjectByteArrayInlineIndexKeyType(BytesInlineIndexKeyType delegate) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare0(long pageAddr,
int off,
IndexKey key)
Compares inlined and given value.
|
protected JavaObjectIndexKey |
get0(long pageAddr,
int off)
Restores value from inline.
|
boolean |
inlinedFullValue(long pageAddr,
int offset,
int maxSize)
Whether inline contains full index key.
|
protected int |
inlineSize0(JavaObjectIndexKey key)
Return inlined size for specified key.
|
protected int |
put0(long pageAddr,
int off,
JavaObjectIndexKey key,
int maxSize)
Puts given value into inline index tree.
|
compare, get, inlineSize, inlineSize, inlineSize, isNull, keySize, put, readBytes, typeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisComparableTopublic ObjectByteArrayInlineIndexKeyType(BytesInlineIndexKeyType delegate)
protected int put0(long pageAddr,
int off,
JavaObjectIndexKey key,
int maxSize)
put0 in class NullableInlineIndexKeyType<JavaObjectIndexKey>pageAddr - Page address.off - Offset.key - Value.maxSize - Max size.protected JavaObjectIndexKey get0(long pageAddr, int off)
get0 in class NullableInlineIndexKeyType<JavaObjectIndexKey>pageAddr - Page address.off - Offset.public int compare0(long pageAddr,
int off,
IndexKey key)
compare0 in class NullableInlineIndexKeyType<JavaObjectIndexKey>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 inlineSize0(JavaObjectIndexKey key)
inlineSize0 in class NullableInlineIndexKeyType<JavaObjectIndexKey>public boolean inlinedFullValue(long pageAddr,
int offset,
int maxSize)
inlinedFullValue in interface InlineIndexKeyTypeinlinedFullValue in class NullableInlineIndexKeyType<JavaObjectIndexKey>pageAddr - Page address.offset - 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