|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hbase.regionserver.StoreFileGetScan
public class StoreFileGetScan
Use to execute a get by scanning all the store files in order.
Constructor Summary | |
---|---|
StoreFileGetScan(List<HFileScanner> scanners,
QueryMatcher matcher)
Constructor |
Method Summary | |
---|---|
void |
get(List<KeyValue> result)
Performs a GET operation across multiple StoreFiles. |
boolean |
getStoreFile(HFileScanner scanner,
List<KeyValue> result)
Performs a GET operation on a single StoreFile. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StoreFileGetScan(List<HFileScanner> scanners, QueryMatcher matcher)
scanners
- matcher
- Method Detail |
---|
public void get(List<KeyValue> result) throws IOException
This style of StoreFile scanning goes through each StoreFile in its entirety, most recent first, before proceeding to the next StoreFile.
This strategy allows for optimal, stateless (no persisted Scanners) early-out scenarios.
result
- List to add results to
IOException
public boolean getStoreFile(HFileScanner scanner, List<KeyValue> result) throws IOException
scanner
- result
-
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |