Package org.apache.solr.common.params
Enum Class FacetParams.FacetRangeInclude
java.lang.Object
java.lang.Enum<FacetParams.FacetRangeInclude>
org.apache.solr.common.params.FacetParams.FacetRangeInclude
- All Implemented Interfaces:
Serializable,Comparable<FacetParams.FacetRangeInclude>,java.lang.constant.Constable
- Enclosing interface:
FacetParams
An enumeration of the legal values for
FacetParams.FACET_DATE_INCLUDE and FacetParams.FACET_RANGE_INCLUDE - lower = all gap based ranges include their lower bound
- upper = all gap based ranges include their upper bound
- edge = the first and last gap ranges include their edge bounds (ie: lower for the first one, upper for the last one) even if the corresponding upper/lower option is not specified
- outer = the BEFORE and AFTER ranges should be inclusive of their bounds, even if the first or last ranges already include those boundaries.
- all = shorthand for lower, upper, edge, and outer
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic EnumSet<FacetParams.FacetRangeInclude> parseParam(String[] param) Convenience method for parsing the param value according to the correct semantics and applying the default of "LOWER"toString()Returns the enum constant of this class with the specified name.static FacetParams.FacetRangeInclude[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ALL
-
LOWER
-
UPPER
-
EDGE
-
OUTER
-
-
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
-
toString
- Overrides:
toStringin classEnum<FacetParams.FacetRangeInclude>
-
get
-
parseParam
Convenience method for parsing the param value according to the correct semantics and applying the default of "LOWER"
-