|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hbase.regionserver.ScanWildcardColumnTracker
public class ScanWildcardColumnTracker
Keeps track of the columns for a scan if they are not explicitly specified
Constructor Summary | |
---|---|
ScanWildcardColumnTracker(int maxVersion)
Return maxVersions of every row. |
Method Summary | |
---|---|
ScanQueryMatcher.MatchCode |
checkColumn(byte[] bytes,
int offset,
int length)
Can only return INCLUDE or SKIP, since returning "NEXT" or "DONE" would imply we have finished with this row, when this class can't figure that out. |
boolean |
done()
We can never know a-priori if we are done, so always return false. |
ColumnCount |
getColumnHint()
Used by matcher and scan/get to get a hint of the next column to seek to after checkColumn() returns SKIP. |
void |
reset()
Resets the Matcher |
void |
update()
Updates internal variables in between files |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ScanWildcardColumnTracker(int maxVersion)
maxVersion
- Method Detail |
---|
public ScanQueryMatcher.MatchCode checkColumn(byte[] bytes, int offset, int length)
checkColumn
in interface ColumnTracker
bytes
- offset
- length
-
public void update()
ColumnTracker
update
in interface ColumnTracker
public void reset()
ColumnTracker
reset
in interface ColumnTracker
public ColumnCount getColumnHint()
getColumnHint
in interface ColumnTracker
public boolean done()
done
in interface ColumnTracker
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |