Module org.apache.lucene.core
Package org.apache.lucene.search
Enum Class DocValuesRangeIterator.Match
- All Implemented Interfaces:
Serializable
,Comparable<DocValuesRangeIterator.Match>
,Constable
- Enclosing class:
DocValuesRangeIterator
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAll documents in the range that have a value matchDocument values need to be checked to verify matchesNone of the documents in the range matchAll docs in the range match -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DocValuesRangeIterator.Match
Returns the enum constant of this class with the specified name.static DocValuesRangeIterator.Match[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NO
None of the documents in the range match -
MAYBE
Document values need to be checked to verify matches -
IF_DOC_HAS_VALUE
All documents in the range that have a value match -
YES
All docs in the range match
-
-
Constructor Details
-
Match
private Match()
-
-
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
-