Class KeyValueScanFixture

java.lang.Object
org.apache.hadoop.hbase.regionserver.NonLazyKeyValueScanner
org.apache.hadoop.hbase.regionserver.NonReversedNonLazyKeyValueScanner
org.apache.hadoop.hbase.util.CollectionBackedScanner
org.apache.hadoop.hbase.regionserver.KeyValueScanFixture
All Implemented Interfaces:
Closeable, AutoCloseable, org.apache.hadoop.hbase.regionserver.KeyValueScanner, org.apache.hadoop.hbase.regionserver.Shipper

public class KeyValueScanFixture extends org.apache.hadoop.hbase.util.CollectionBackedScanner
A fixture that implements and presents a KeyValueScanner. It takes a list of key/values which is then sorted according to the provided comparator, and then the whole thing pretends to be a store file scanner.
  • Field Summary

    Fields inherited from interface org.apache.hadoop.hbase.regionserver.KeyValueScanner

    NO_NEXT_INDEXED_KEY
  • Constructor Summary

    Constructors
    Constructor
    Description
    KeyValueScanFixture(org.apache.hadoop.hbase.CellComparator comparator, org.apache.hadoop.hbase.ExtendedCell... cells)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static List<org.apache.hadoop.hbase.regionserver.KeyValueScanner>
    scanFixture(org.apache.hadoop.hbase.KeyValue[]... kvArrays)
     

    Methods inherited from class org.apache.hadoop.hbase.util.CollectionBackedScanner

    close, next, peek, reseek, seek

    Methods inherited from class org.apache.hadoop.hbase.regionserver.NonReversedNonLazyKeyValueScanner

    backwardSeek, seekToLastRow, seekToPreviousRow

    Methods inherited from class org.apache.hadoop.hbase.regionserver.NonLazyKeyValueScanner

    doRealSeek, enforceSeek, getFilePath, getNextIndexedKey, isFileScanner, realSeekDone, recordBlockSize, requestSeek, shipped, shouldUseScanner

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.hadoop.hbase.regionserver.KeyValueScanner

    getScannerOrder
  • Constructor Details

    • KeyValueScanFixture

      public KeyValueScanFixture(org.apache.hadoop.hbase.CellComparator comparator, org.apache.hadoop.hbase.ExtendedCell... cells)
  • Method Details

    • scanFixture

      public static List<org.apache.hadoop.hbase.regionserver.KeyValueScanner> scanFixture(org.apache.hadoop.hbase.KeyValue[]... kvArrays)