@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, fromRowSpec
private 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
IllegalArgumentException
IOException
public ScannerResultGenerator(String tableName, RowSpec rowspec, Filter filter, int caching, boolean cacheBlocks) throws IllegalArgumentException, IOException
IllegalArgumentException
IOException
public static Filter buildFilterFromModel(ScannerModel model) throws Exception
Exception
public String getID()
public void close()
close
in class ResultGenerator
public boolean hasNext()
public Cell next()
public void putBack(Cell kv)
putBack
in class ResultGenerator
public void remove()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.