Enum FieldType
- java.lang.Object
-
- java.lang.Enum<FieldType>
-
- org.opensearch.client.opensearch._types.mapping.FieldType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<FieldType>,JsonEnum,JsonpSerializable
@JsonpDeserializable public enum FieldType extends java.lang.Enum<FieldType> implements JsonEnum
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.opensearch.client.json.JsonEnum
JsonEnum.Deserializer<T extends JsonEnum>
-
-
Enum Constant Summary
-
Field Summary
Fields Modifier and Type Field Description static JsonEnum.Deserializer<FieldType>_DESERIALIZER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringjsonValue()static FieldTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static FieldType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
None
public static final FieldType None
-
GeoPoint
public static final FieldType GeoPoint
-
GeoShape
public static final FieldType GeoShape
-
Ip
public static final FieldType Ip
-
Binary
public static final FieldType Binary
-
Keyword
public static final FieldType Keyword
-
Text
public static final FieldType Text
-
SearchAsYouType
public static final FieldType SearchAsYouType
-
Date
public static final FieldType Date
-
DateNanos
public static final FieldType DateNanos
-
Boolean
public static final FieldType Boolean
-
Completion
public static final FieldType Completion
-
Nested
public static final FieldType Nested
-
Object
public static final FieldType Object
-
Murmur3
public static final FieldType Murmur3
-
TokenCount
public static final FieldType TokenCount
-
Percolator
public static final FieldType Percolator
-
Integer
public static final FieldType Integer
-
Long
public static final FieldType Long
-
Short
public static final FieldType Short
-
Byte
public static final FieldType Byte
-
Float
public static final FieldType Float
-
HalfFloat
public static final FieldType HalfFloat
-
ScaledFloat
public static final FieldType ScaledFloat
-
Double
public static final FieldType Double
-
IntegerRange
public static final FieldType IntegerRange
-
FloatRange
public static final FieldType FloatRange
-
LongRange
public static final FieldType LongRange
-
DoubleRange
public static final FieldType DoubleRange
-
DateRange
public static final FieldType DateRange
-
IpRange
public static final FieldType IpRange
-
Alias
public static final FieldType Alias
-
Join
public static final FieldType Join
-
RankFeature
public static final FieldType RankFeature
-
RankFeatures
public static final FieldType RankFeatures
-
Flattened
public static final FieldType Flattened
-
Shape
public static final FieldType Shape
-
Histogram
public static final FieldType Histogram
-
ConstantKeyword
public static final FieldType ConstantKeyword
-
AggregateMetricDouble
public static final FieldType AggregateMetricDouble
-
KnnVector
public static final FieldType KnnVector
-
-
Field Detail
-
_DESERIALIZER
public static final JsonEnum.Deserializer<FieldType> _DESERIALIZER
-
-
Method Detail
-
values
public static 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 (FieldType c : 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 FieldType valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-