Class RegionAsTable.RegionScannerToResultScannerAdaptor

java.lang.Object
org.apache.hadoop.hbase.regionserver.RegionAsTable.RegionScannerToResultScannerAdaptor
All Implemented Interfaces:
Closeable, AutoCloseable, Iterable<org.apache.hadoop.hbase.client.Result>, org.apache.hadoop.hbase.client.ResultScanner
Enclosing class:
RegionAsTable

static class RegionAsTable.RegionScannerToResultScannerAdaptor extends Object implements org.apache.hadoop.hbase.client.ResultScanner
  • Field Details

    • scanner

      private final org.apache.hadoop.hbase.regionserver.RegionScanner scanner
    • moreRows

      private boolean moreRows
    • cells

      private final List<org.apache.hadoop.hbase.Cell> cells
  • Constructor Details

  • Method Details

    • next

      public org.apache.hadoop.hbase.client.Result next() throws IOException
      Specified by:
      next in interface org.apache.hadoop.hbase.client.ResultScanner
      Throws:
      IOException
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Specified by:
      close in interface org.apache.hadoop.hbase.client.ResultScanner
    • renewLease

      public boolean renewLease()
      Specified by:
      renewLease in interface org.apache.hadoop.hbase.client.ResultScanner
    • getScanMetrics

      public org.apache.hadoop.hbase.client.metrics.ScanMetrics getScanMetrics()
      Specified by:
      getScanMetrics in interface org.apache.hadoop.hbase.client.ResultScanner