Class LimitedScanResultConsumer

java.lang.Object
org.apache.hadoop.hbase.client.SimpleScanResultConsumerImpl
org.apache.hadoop.hbase.client.LimitedScanResultConsumer
All Implemented Interfaces:
org.apache.hadoop.hbase.client.ScanResultConsumer, org.apache.hadoop.hbase.client.ScanResultConsumerBase, SimpleScanResultConsumer

Advise the scanning infrastructure to collect up to limit results.
  • Field Details

    • limit

      private final int limit
  • Constructor Details

  • Method Details

    • onNext

      public boolean onNext(org.apache.hadoop.hbase.client.Result result)
      Specified by:
      onNext in interface org.apache.hadoop.hbase.client.ScanResultConsumer
      Overrides:
      onNext in class SimpleScanResultConsumerImpl