Enum FieldMappingResponse.FieldType
- java.lang.Object
-
- java.lang.Enum<FieldMappingResponse.FieldType>
-
- org.dashbuilder.dataprovider.backend.elasticsearch.rest.model.FieldMappingResponse.FieldType
-
- All Implemented Interfaces:
Serializable,Comparable<FieldMappingResponse.FieldType>
- Enclosing class:
- FieldMappingResponse
public static enum FieldMappingResponse.FieldType extends Enum<FieldMappingResponse.FieldType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FieldMappingResponse.FieldTypevalueOf(String name)Returns the enum constant of this type with the specified name.static FieldMappingResponse.FieldType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TEXT
public static final FieldMappingResponse.FieldType TEXT
-
FLOAT
public static final FieldMappingResponse.FieldType FLOAT
-
DOUBLE
public static final FieldMappingResponse.FieldType DOUBLE
-
BYTE
public static final FieldMappingResponse.FieldType BYTE
-
SHORT
public static final FieldMappingResponse.FieldType SHORT
-
INTEGER
public static final FieldMappingResponse.FieldType INTEGER
-
LONG
public static final FieldMappingResponse.FieldType LONG
-
TOKEN_COUNT
public static final FieldMappingResponse.FieldType TOKEN_COUNT
-
DATE
public static final FieldMappingResponse.FieldType DATE
-
BOOLEAN
public static final FieldMappingResponse.FieldType BOOLEAN
-
BINARY
public static final FieldMappingResponse.FieldType BINARY
-
KEYWORD
public static final FieldMappingResponse.FieldType KEYWORD
-
-
Method Detail
-
values
public static FieldMappingResponse.FieldType[] 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 (FieldMappingResponse.FieldType c : FieldMappingResponse.FieldType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FieldMappingResponse.FieldType 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
-
-