public static enum ScanQueryMatcher.MatchCode extends Enum<ScanQueryMatcher.MatchCode>
ScanQueryMatcher.match(org.apache.hadoop.hbase.Cell)
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 and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
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.
|
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
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 nameNullPointerException
- if the argument is nullCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.