org.apache.solr.common.params
Enum FacetParams.FacetRangeInclude

java.lang.Object
  extended by java.lang.Enum<FacetParams.FacetRangeInclude>
      extended by 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 for FacetParams.FACET_DATE_INCLUDE and FacetParams.FACET_RANGE_INCLUDE

See Also:
FacetParams.FACET_DATE_INCLUDE, FacetParams.FACET_RANGE_INCLUDE

Enum Constant Summary
ALL
           
EDGE
           
LOWER
           
OUTER
           
UPPER
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ALL

public static final FacetParams.FacetRangeInclude ALL

LOWER

public static final FacetParams.FacetRangeInclude LOWER

UPPER

public static final FacetParams.FacetRangeInclude UPPER

EDGE

public static final FacetParams.FacetRangeInclude EDGE

OUTER

public static final FacetParams.FacetRangeInclude OUTER
Method Detail

values

public 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

valueOf

public 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

toString

public String toString()
Overrides:
toString in class Enum<FacetParams.FacetRangeInclude>

get

public static FacetParams.FacetRangeInclude get(String label)

parseParam

public 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"



Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.