org.apache.solr.common.params
public static enum FacetParams.FacetRangeInclude extends Enum<FacetParams.FacetRangeInclude>
FacetParams.FACET_DATE_INCLUDE
and FacetParams.FACET_RANGE_INCLUDE
Modifier and Type | Method and Description |
---|---|
static FacetParams.FacetRangeInclude |
get(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"
|
String |
toString() |
static FacetParams.FacetRangeInclude |
valueOf(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.
|
public static final FacetParams.FacetRangeInclude ALL
public static final FacetParams.FacetRangeInclude LOWER
public static final FacetParams.FacetRangeInclude UPPER
public static final FacetParams.FacetRangeInclude EDGE
public static final FacetParams.FacetRangeInclude OUTER
public static FacetParams.FacetRangeInclude[] values()
for (FacetParams.FacetRangeInclude c : FacetParams.FacetRangeInclude.values()) System.out.println(c);
public static FacetParams.FacetRangeInclude 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 nullpublic String toString()
toString
in class Enum<FacetParams.FacetRangeInclude>
public static FacetParams.FacetRangeInclude get(String label)
public static EnumSet<FacetParams.FacetRangeInclude> parseParam(String[] param)
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.