class RemoteHTable.Scanner extends Object implements org.apache.hadoop.hbase.client.ResultScanner
Modifier and Type | Class and Description |
---|---|
(package private) class |
RemoteHTable.Scanner.Iter |
Constructor and Description |
---|
Scanner(org.apache.hadoop.hbase.client.Scan scan) |
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
public Scanner(org.apache.hadoop.hbase.client.Scan scan) throws IOException
IOException
public org.apache.hadoop.hbase.client.Result[] next(int nbRows) throws IOException
next
in interface org.apache.hadoop.hbase.client.ResultScanner
IOException
public org.apache.hadoop.hbase.client.Result next() 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.