public class DistributedScanner extends Object implements org.apache.hadoop.hbase.client.ResultScanner
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static DistributedScanner |
create(org.apache.hadoop.hbase.client.HTableInterface hTable,
org.apache.hadoop.hbase.client.Scan originalScan,
AbstractRowKeyDistributor keyDistributor,
ExecutorService scansExecutor) |
Iterator<org.apache.hadoop.hbase.client.Result> |
iterator() |
org.apache.hadoop.hbase.client.Result |
next() |
org.apache.hadoop.hbase.client.Result[] |
next(int nbRows) |
public org.apache.hadoop.hbase.client.Result next() throws IOException
next in interface org.apache.hadoop.hbase.client.ResultScannerIOExceptionpublic org.apache.hadoop.hbase.client.Result[] next(int nbRows) throws IOException
next in interface org.apache.hadoop.hbase.client.ResultScannerIOExceptionpublic void close()
close in interface Closeableclose in interface AutoCloseableclose in interface org.apache.hadoop.hbase.client.ResultScannerpublic static DistributedScanner create(org.apache.hadoop.hbase.client.HTableInterface hTable, org.apache.hadoop.hbase.client.Scan originalScan, AbstractRowKeyDistributor keyDistributor, ExecutorService scansExecutor) throws IOException
IOExceptionpublic Iterator<org.apache.hadoop.hbase.client.Result> iterator()
iterator in interface Iterable<org.apache.hadoop.hbase.client.Result>Copyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.