@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, fromRowSpec
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
private static final org.slf4j.Logger LOG
private ResultScanner scanner
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 void close()
close
in class ResultGenerator
public boolean hasNext()
public void putBack(Cell kv)
putBack
in class ResultGenerator
public void remove()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.