Enum SummaryClassField.Type
- java.lang.Object
-
- java.lang.Enum<SummaryClassField.Type>
-
- com.yahoo.searchdefinition.derived.SummaryClassField.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<SummaryClassField.Type>
- Enclosing class:
- SummaryClassField
public static enum SummaryClassField.Type extends Enum<SummaryClassField.Type>
The summary field type enumeration
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
Returns the name of this typeString
toString()
static SummaryClassField.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static SummaryClassField.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BOOL
public static final SummaryClassField.Type BOOL
-
BYTE
public static final SummaryClassField.Type BYTE
-
SHORT
public static final SummaryClassField.Type SHORT
-
INTEGER
public static final SummaryClassField.Type INTEGER
-
INT64
public static final SummaryClassField.Type INT64
-
FLOAT16
public static final SummaryClassField.Type FLOAT16
-
FLOAT
public static final SummaryClassField.Type FLOAT
-
DOUBLE
public static final SummaryClassField.Type DOUBLE
-
STRING
public static final SummaryClassField.Type STRING
-
DATA
public static final SummaryClassField.Type DATA
-
RAW
public static final SummaryClassField.Type RAW
-
LONGSTRING
public static final SummaryClassField.Type LONGSTRING
-
LONGDATA
public static final SummaryClassField.Type LONGDATA
-
XMLSTRING
public static final SummaryClassField.Type XMLSTRING
-
FEATUREDATA
public static final SummaryClassField.Type FEATUREDATA
-
JSONSTRING
public static final SummaryClassField.Type JSONSTRING
-
TENSOR
public static final SummaryClassField.Type TENSOR
-
-
Method Detail
-
values
public static SummaryClassField.Type[] 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 (SummaryClassField.Type c : SummaryClassField.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SummaryClassField.Type 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 nameNullPointerException
- if the argument is null
-
getName
public String getName()
Returns the name of this type
-
toString
public String toString()
- Overrides:
toString
in classEnum<SummaryClassField.Type>
-
-