public enum NumberType extends Enum<NumberType>
Modifier and Type | Field and Description |
---|---|
Object |
sortMissingHigh
The effective value to use when sorting on this field should result in docs w/o a value
sorting "low" (which may be "first" or "last" depending on sort direction)
|
Object |
sortMissingLow
The effective value to use when sorting on this field should result in docs w/o a value
sorting "low" (which may be "first" or "last" depending on sort direction)
|
SortField.Type |
sortType
The SortField type that corrisponds with this NumberType
|
Modifier and Type | Method and Description |
---|---|
static NumberType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NumberType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NumberType INTEGER
public static final NumberType LONG
public static final NumberType FLOAT
public static final NumberType DOUBLE
public static final NumberType DATE
public final SortField.Type sortType
public final Object sortMissingLow
public final Object sortMissingHigh
public static NumberType[] values()
for (NumberType c : NumberType.values()) System.out.println(c);
public static NumberType 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 © 2000-2019 Apache Software Foundation. All Rights Reserved.