@InterfaceAudience.Private public class ScannerResultGenerator extends ResultGenerator
| Modifier and Type | Field and Description |
|---|---|
private Cell |
cache |
private Result |
cached |
private String |
id |
private static org.slf4j.Logger |
LOG |
private Iterator<Cell> |
rowI |
private ResultScanner |
scanner |
| Constructor and Description |
|---|
ScannerResultGenerator(String tableName,
RowSpec rowspec,
Filter filter,
boolean cacheBlocks) |
ScannerResultGenerator(String tableName,
RowSpec rowspec,
Filter filter,
int caching,
boolean cacheBlocks) |
| Modifier and Type | Method and Description |
|---|---|
static Filter |
buildFilterFromModel(ScannerModel model) |
void |
close() |
String |
getID() |
boolean |
hasNext() |
Cell |
next() |
void |
putBack(Cell kv) |
void |
remove() |
buildFilter, fromRowSpecclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingprivate static final org.slf4j.Logger LOG
private ResultScanner scanner
public ScannerResultGenerator(String tableName, RowSpec rowspec, Filter filter, boolean cacheBlocks) throws IllegalArgumentException, IOException
IllegalArgumentExceptionIOExceptionpublic ScannerResultGenerator(String tableName, RowSpec rowspec, Filter filter, int caching, boolean cacheBlocks) throws IllegalArgumentException, IOException
IllegalArgumentExceptionIOExceptionpublic static Filter buildFilterFromModel(ScannerModel model) throws Exception
Exceptionpublic void close()
close in class ResultGeneratorpublic boolean hasNext()
public void putBack(Cell kv)
putBack in class ResultGeneratorpublic void remove()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.