Package org.apache.solr.legacy
Enum LegacyNumericType
- java.lang.Object
-
- java.lang.Enum<LegacyNumericType>
-
- org.apache.solr.legacy.LegacyNumericType
-
- All Implemented Interfaces:
Serializable
,Comparable<LegacyNumericType>
@Deprecated public enum LegacyNumericType extends Enum<LegacyNumericType>
Deprecated.Please switch toPointValues
insteadData type of the numeric value- Since:
- 3.2
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static LegacyNumericType
valueOf(String name)
Deprecated.Returns the enum constant of this type with the specified name.static LegacyNumericType[]
values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INT
public static final LegacyNumericType INT
Deprecated.32-bit integer numeric type
-
LONG
public static final LegacyNumericType LONG
Deprecated.64-bit long numeric type
-
FLOAT
public static final LegacyNumericType FLOAT
Deprecated.32-bit float numeric type
-
DOUBLE
public static final LegacyNumericType DOUBLE
Deprecated.64-bit double numeric type
-
-
Method Detail
-
values
public static LegacyNumericType[] values()
Deprecated.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 (LegacyNumericType c : LegacyNumericType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LegacyNumericType valueOf(String name)
Deprecated.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 nameNullPointerException
- if the argument is null
-
-