public class IndexRowCompartorImpl extends Object implements IndexRowComparator
| Constructor and Description |
|---|
IndexRowCompartorImpl() |
| 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,
int curType)
Compare index keys.
|
int |
compareRow(IndexRow left,
IndexRow right,
int idx)
Compare index rows by key specified with
idx. |
public int compareKey(long pageAddr,
int off,
int maxSize,
IndexKey key,
int curType)
compareKey in interface IndexRowComparatorpageAddr - address of an index row.off - offset of an index key.maxSize - max size to read.key - key to compare with.curType - type of index key.public int compareRow(IndexRow left, IndexRow right, int idx) throws IgniteCheckedException
idx.compareRow in interface IndexRowComparatorleft - index row.right - index row.idx - offset of index key.IgniteCheckedExceptionpublic int compareKey(IndexKey left, IndexKey right) throws IgniteCheckedException
compareKey in interface IndexRowComparatorleft - index key.right - index key.IgniteCheckedException
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.12.0 Release Date : January 10 2022