static class RegionAsTable.RegionScannerToResultScannerAdaptor extends Object implements org.apache.hadoop.hbase.client.ResultScanner
Modifier and Type | Field and Description |
---|---|
private static org.apache.hadoop.hbase.client.Result[] |
EMPTY_RESULT_ARRAY |
private org.apache.hadoop.hbase.regionserver.RegionScanner |
regionScanner |
Constructor and Description |
---|
RegionScannerToResultScannerAdaptor(org.apache.hadoop.hbase.regionserver.RegionScanner regionScanner) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
org.apache.hadoop.hbase.client.metrics.ScanMetrics |
getScanMetrics() |
Iterator<org.apache.hadoop.hbase.client.Result> |
iterator() |
org.apache.hadoop.hbase.client.Result |
next() |
org.apache.hadoop.hbase.client.Result[] |
next(int nbRows) |
boolean |
renewLease() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
private static final org.apache.hadoop.hbase.client.Result[] EMPTY_RESULT_ARRAY
private final org.apache.hadoop.hbase.regionserver.RegionScanner regionScanner
RegionScannerToResultScannerAdaptor(org.apache.hadoop.hbase.regionserver.RegionScanner regionScanner)
public org.apache.hadoop.hbase.client.Result next() throws IOException
next
in interface org.apache.hadoop.hbase.client.ResultScanner
IOException
public org.apache.hadoop.hbase.client.Result[] next(int nbRows) throws IOException
next
in interface org.apache.hadoop.hbase.client.ResultScanner
IOException
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in interface org.apache.hadoop.hbase.client.ResultScanner
public boolean renewLease()
renewLease
in interface org.apache.hadoop.hbase.client.ResultScanner
public org.apache.hadoop.hbase.client.metrics.ScanMetrics getScanMetrics()
getScanMetrics
in interface org.apache.hadoop.hbase.client.ResultScanner
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.