@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.apache.commons.logging.Log |
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, fromRowSpecprivate static final org.apache.commons.logging.Log LOG
private String id
private Cell cache
private ResultScanner scanner
private Result cached
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 String getID()
public void close()
close in class ResultGeneratorpublic boolean hasNext()
public Cell next()
public void putBack(Cell kv)
putBack in class ResultGeneratorpublic void remove()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.