@InterfaceAudience.Private public class ScannerResultGenerator extends ResultGenerator
| Constructor and Description |
|---|
ScannerResultGenerator(java.lang.String tableName,
RowSpec rowspec,
Filter filter,
boolean cacheBlocks) |
ScannerResultGenerator(java.lang.String tableName,
RowSpec rowspec,
Filter filter,
int caching,
boolean cacheBlocks) |
| Modifier and Type | Method and Description |
|---|---|
static Filter |
buildFilterFromModel(ScannerModel model) |
void |
close() |
java.lang.String |
getID() |
boolean |
hasNext() |
Cell |
next() |
void |
putBack(Cell kv) |
void |
remove() |
buildFilter, fromRowSpecpublic ScannerResultGenerator(java.lang.String tableName,
RowSpec rowspec,
Filter filter,
boolean cacheBlocks)
throws java.lang.IllegalArgumentException,
java.io.IOException
java.lang.IllegalArgumentExceptionjava.io.IOExceptionpublic static Filter buildFilterFromModel(ScannerModel model) throws java.lang.Exception
java.lang.Exceptionpublic java.lang.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()