Enum Class ScanQueryMatcher.MatchCode
java.lang.Object
java.lang.Enum<ScanQueryMatcher.MatchCode>
org.apache.hadoop.hbase.regionserver.querymatcher.ScanQueryMatcher.MatchCode
- All Implemented Interfaces:
Serializable
,Comparable<ScanQueryMatcher.MatchCode>
,Constable
- Enclosing class:
- ScanQueryMatcher
ScanQueryMatcher.match(org.apache.hadoop.hbase.ExtendedCell)
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDo not include, return current resultDone with scan, thanks to the row filter.Include KeyValue in the returned resultInclude KeyValue and done with column, seek to next.Include KeyValue and done with row, seek to next.Do not include, jump to next StoreFile or memstore (in time order)Done with column, seek to next.Done with the row, seek there.Seek to next key which is given as hint.Do not include KeyValue in the returned result -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ScanQueryMatcher.MatchCode
Returns the enum constant of this class with the specified name.static ScanQueryMatcher.MatchCode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INCLUDE
Include KeyValue in the returned result -
SKIP
Do not include KeyValue in the returned result -
NEXT
Do not include, jump to next StoreFile or memstore (in time order) -
DONE
Do not include, return current result -
SEEK_NEXT_ROW
Done with the row, seek there. -
SEEK_NEXT_COL
Done with column, seek to next. -
DONE_SCAN
Done with scan, thanks to the row filter. -
SEEK_NEXT_USING_HINT
Seek to next key which is given as hint. -
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.
-
-
Constructor Details
-
MatchCode
private MatchCode()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-