Interface DataIndex.RowKeyLookup

Enclosing interface:
DataIndex

public static interface DataIndex.RowKeyLookup
Provides a lookup function from a lookup key to the row key in the index table. Lookup keys consist of reinterpreted values and are specified as follows:
No key columns
"Empty" keys are signified by any zero-length Object[]
One key column
Singular keys are (boxed, if needed) objects
Multiple key columns
Compound keys are Object[] of (boxed, if needed) objects, in the order of the index's key columns
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    apply(Object key, boolean usePrev)
    Get the row key in the index table for the provided lookup key.
  • Method Details

    • apply

      long apply(Object key, boolean usePrev)
      Get the row key in the index table for the provided lookup key.
      Parameters:
      key - The key to lookup
      Returns:
      The result row key, or RowSequence.NULL_ROW_KEY if the key is not found.