public class BytesInlineIndexKeyType extends NullableInlineIndexKeyType<BytesIndexKey>
CANT_BE_COMPARE, COMPARE_UNSUPPORTED, keySize| Constructor and Description |
|---|
BytesInlineIndexKeyType() |
BytesInlineIndexKeyType(boolean compareBinaryUnsigned) |
BytesInlineIndexKeyType(int type) |
BytesInlineIndexKeyType(int type,
boolean compareBinaryUnsigned) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare0(long pageAddr,
int off,
BytesIndexKey bytes)
Compares inlined and given value.
|
boolean |
compareBinaryUnsigned() |
protected BytesIndexKey |
get0(long pageAddr,
int off)
Restores value from inline.
|
protected int |
inlineSize0(BytesIndexKey val)
Return inlined size for specified key.
|
protected int |
put0(long pageAddr,
int off,
BytesIndexKey key,
int maxSize)
Puts given value into inline index tree.
|
compare, get, inlineSize, inlineSize, inlineSize, put, readBytes, typepublic BytesInlineIndexKeyType()
public BytesInlineIndexKeyType(int type)
public BytesInlineIndexKeyType(boolean compareBinaryUnsigned)
public BytesInlineIndexKeyType(int type,
boolean compareBinaryUnsigned)
public int compare0(long pageAddr,
int off,
BytesIndexKey bytes)
compare0 in class NullableInlineIndexKeyType<BytesIndexKey>pageAddr - Page address.off - Offset.bytes - 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,
BytesIndexKey key,
int maxSize)
put0 in class NullableInlineIndexKeyType<BytesIndexKey>pageAddr - Page address.off - Offset.key - Value.maxSize - Max size.protected BytesIndexKey get0(long pageAddr, int off)
get0 in class NullableInlineIndexKeyType<BytesIndexKey>pageAddr - Page address.off - Offset.null if value can't be restored.protected int inlineSize0(BytesIndexKey val)
inlineSize0 in class NullableInlineIndexKeyType<BytesIndexKey>public boolean compareBinaryUnsigned()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.0 Release Date : September 11 2021