|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ScanQueryMatcher.MatchCode>
org.apache.hadoop.hbase.regionserver.ScanQueryMatcher.MatchCode
public static enum ScanQueryMatcher.MatchCode
ScanQueryMatcher.match(org.apache.hadoop.hbase.KeyValue) return codes. These instruct the scanner moving through
memstores and StoreFiles what to do with the current KeyValue.
Additionally, this contains "early-out" language to tell the scanner to move on to the next File (memstore or Storefile), or to return immediately.
| Enum Constant Summary | |
|---|---|
DONE
Do not include, return current result |
|
DONE_SCAN
Done with scan, thanks to the row filter. |
|
INCLUDE
Include KeyValue in the returned result |
|
INCLUDE_AND_SEEK_NEXT_COL
Include KeyValue and done with column, seek to next. |
|
INCLUDE_AND_SEEK_NEXT_ROW
Include KeyValue and done with row, seek to next. |
|
NEXT
Do not include, jump to next StoreFile or memstore (in time order) |
|
SEEK_NEXT_COL
Done with column, seek to next. |
|
SEEK_NEXT_ROW
Done with the row, seek there. |
|
SEEK_NEXT_USING_HINT
|
|
SKIP
Do not include KeyValue in the returned result |
|
| Method Summary | |
|---|---|
static ScanQueryMatcher.MatchCode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ScanQueryMatcher.MatchCode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ScanQueryMatcher.MatchCode INCLUDE
public static final ScanQueryMatcher.MatchCode SKIP
public static final ScanQueryMatcher.MatchCode NEXT
public static final ScanQueryMatcher.MatchCode DONE
public static final ScanQueryMatcher.MatchCode SEEK_NEXT_ROW
public static final ScanQueryMatcher.MatchCode SEEK_NEXT_COL
public static final ScanQueryMatcher.MatchCode DONE_SCAN
public static final ScanQueryMatcher.MatchCode SEEK_NEXT_USING_HINT
public static final ScanQueryMatcher.MatchCode INCLUDE_AND_SEEK_NEXT_COL
public static final ScanQueryMatcher.MatchCode INCLUDE_AND_SEEK_NEXT_ROW
| Method Detail |
|---|
public static ScanQueryMatcher.MatchCode[] values()
for (ScanQueryMatcher.MatchCode c : ScanQueryMatcher.MatchCode.values()) System.out.println(c);
public static ScanQueryMatcher.MatchCode valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||