public interface IndexRowComparator
| Modifier and Type | Method and Description |
|---|---|
int |
compareKey(IndexKey left,
IndexKey right)
Compare index keys.
|
int |
compareKey(long pageAddr,
int off,
int maxSize,
IndexKey key,
InlineIndexKeyType type)
Compare inlined index key with specified key.
|
int |
compareRow(IndexRow left,
IndexRow right,
int idx)
Compare index rows by key specified with
idx. |
int compareKey(long pageAddr,
int off,
int maxSize,
IndexKey key,
InlineIndexKeyType type)
throws IgniteCheckedException
COMPARE_UNSUPPORTED and CANT_BE_COMPARE, see NullableInlineIndexKeyType.pageAddr - address of an index row.off - offset of an index key.maxSize - max size to read.key - key to compare with.type - inline type of index key.IgniteCheckedExceptionint compareKey(IndexKey left, IndexKey right) throws IgniteCheckedException
left - index key.right - index key.IgniteCheckedExceptionint compareRow(IndexRow left, IndexRow right, int idx) throws IgniteCheckedException
idx.left - index row.right - index row.idx - offset of index key.IgniteCheckedException
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023