Package org.apache.solr.common.params
Enum FacetParams.FacetRangeInclude
- java.lang.Object
- 
- java.lang.Enum<FacetParams.FacetRangeInclude>
- 
- org.apache.solr.common.params.FacetParams.FacetRangeInclude
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<FacetParams.FacetRangeInclude>
 - Enclosing interface:
- FacetParams
 
 public static enum FacetParams.FacetRangeInclude extends Enum<FacetParams.FacetRangeInclude> An enumeration of the legal values forFacetParams.FACET_DATE_INCLUDEandFacetParams.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
 
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FacetParams.FacetRangeIncludeget(String label)static EnumSet<FacetParams.FacetRangeInclude>parseParam(String[] param)Convinience method for parsing the param value according to the correct semantics and applying the default of "LOWER"StringtoString()static FacetParams.FacetRangeIncludevalueOf(String name)Returns the enum constant of this type with the specified name.static FacetParams.FacetRangeInclude[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
ALLpublic static final FacetParams.FacetRangeInclude ALL 
 - 
LOWERpublic static final FacetParams.FacetRangeInclude LOWER 
 - 
UPPERpublic static final FacetParams.FacetRangeInclude UPPER 
 - 
EDGEpublic static final FacetParams.FacetRangeInclude EDGE 
 - 
OUTERpublic static final FacetParams.FacetRangeInclude OUTER 
 
- 
 - 
Method Detail- 
valuespublic static FacetParams.FacetRangeInclude[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FacetParams.FacetRangeInclude c : FacetParams.FacetRangeInclude.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static FacetParams.FacetRangeInclude valueOf(String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
- NullPointerException- if the argument is null
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- Enum<FacetParams.FacetRangeInclude>
 
 - 
getpublic static FacetParams.FacetRangeInclude get(String label) 
 - 
parseParampublic static EnumSet<FacetParams.FacetRangeInclude> parseParam(String[] param) Convinience method for parsing the param value according to the correct semantics and applying the default of "LOWER"
 
- 
 
-