@InterfaceAudience.Private public class ScannerResultGenerator extends ResultGenerator
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
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 Cloudera. All rights reserved.