public class IndexRowCompartorImpl extends Object implements IndexRowComparator
| Modifier and Type | Field and Description |
|---|---|
protected IndexKeyTypeSettings |
keyTypeSettings
Key type settings for this index.
|
| Constructor and Description |
|---|
IndexRowCompartorImpl(IndexKeyTypeSettings keyTypeSettings) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareKey(IndexRow left,
IndexRow right,
int idx)
Compare index keys.
|
int |
compareKey(long pageAddr,
int off,
int maxSize,
IndexKey key,
int curType)
Compare index keys.
|
protected final IndexKeyTypeSettings keyTypeSettings
public IndexRowCompartorImpl(IndexKeyTypeSettings keyTypeSettings)
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 an index key.public int compareKey(IndexRow left, IndexRow right, int idx) throws IgniteCheckedException
compareKey in interface IndexRowComparatorleft - index row.right - index row.idx - offset of index key.IgniteCheckedException
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.1 Release Date : December 20 2021