public class IndexRowKeyDecoder
extends java.lang.Object
Constructor and Description |
---|
IndexRowKeyDecoder()
Instantiate the IndexRowKeyDecoder
|
IndexRowKeyDecoder(boolean isHashed)
Instantiate the IndexRowKeyDecoder
|
IndexRowKeyDecoder(boolean isHashed,
boolean missingAndNullFirst) |
Modifier and Type | Method and Description |
---|---|
IndexRowKeyComponent |
getComponent(int idx)
Returns the component for the given index
|
byte[] |
getPrimaryTableRowKey()
Returns the IndexRowKeyComponent corresponding to the primary table's
row-key
|
void |
init(int version,
boolean[] descendingOrder)
Initialize IndexRowKeyDecoder
|
int |
setRowKey(com.mapr.utils.ByteReader encodedData) |
public IndexRowKeyDecoder()
public IndexRowKeyDecoder(boolean isHashed)
siInfo
- Secondary Index Configuration Informationpublic IndexRowKeyDecoder(boolean isHashed, boolean missingAndNullFirst)
public void init(int version, boolean[] descendingOrder)
encodedData
- numComponents
- public int setRowKey(com.mapr.utils.ByteReader encodedData)
public IndexRowKeyComponent getComponent(int idx) throws java.lang.IllegalArgumentException
index
- java.lang.IllegalArgumentException
public byte[] getPrimaryTableRowKey()