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 | 
|---|
| DONEDo not include, return current result | 
| DONE_SCANDone with scan, thanks to the row filter. | 
| INCLUDEInclude KeyValue in the returned result | 
| INCLUDE_AND_SEEK_NEXT_COLInclude KeyValue and done with column, seek to next. | 
| INCLUDE_AND_SEEK_NEXT_ROWInclude KeyValue and done with row, seek to next. | 
| NEXTDo not include, jump to next StoreFile or memstore (in time order) | 
| SEEK_NEXT_COLDone with column, seek to next. | 
| SEEK_NEXT_ROWDone with the row, seek there. | 
| SEEK_NEXT_USING_HINTSeek to next key which is given as hint. | 
| SKIPDo 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–2021 The Apache Software Foundation. All rights reserved.