public enum FacetEncodingType extends Enum<FacetEncodingType>
Enum Constant and Description |
---|
AUTO
The encoding type for the facet is determined by the type of the entity property
|
DOUBLE
Facet values are stored as double values using
DoubleDocValuesField |
LONG
Facet values are stored as long values using
NumericDocValuesField |
STRING
Facet values are stored as strings using
SortedSetDocValuesFacetField |
Modifier and Type | Method and Description |
---|---|
static FacetEncodingType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FacetEncodingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FacetEncodingType STRING
SortedSetDocValuesFacetField
public static final FacetEncodingType LONG
NumericDocValuesField
public static final FacetEncodingType DOUBLE
DoubleDocValuesField
public static final FacetEncodingType AUTO
public static FacetEncodingType[] values()
for (FacetEncodingType c : FacetEncodingType.values()) System.out.println(c);
public static FacetEncodingType 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 nullCopyright © 2006-2017 Red Hat, Inc. All Rights Reserved