public class IndexRowKeyDecoder
extends java.lang.Object
| Constructor and Description |
|---|
IndexRowKeyDecoder()
Instantiate the IndexRowKeyDecoder
|
IndexRowKeyDecoder(boolean isHashed)
Instantiate the IndexRowKeyDecoder
|
| 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(boolean[] descendingOrder)
Initialize IndexRowKeyDecoder
|
void |
setRowKey(byte[] encodedData) |
public IndexRowKeyDecoder()
public IndexRowKeyDecoder(boolean isHashed)
siInfo - Secondary Index Configuration Informationpublic void init(boolean[] descendingOrder)
encodedData - numComponents - public void setRowKey(byte[] encodedData)
public IndexRowKeyComponent getComponent(int idx) throws java.lang.IllegalArgumentException
index - java.lang.IllegalArgumentExceptionpublic byte[] getPrimaryTableRowKey()