public enum DataType extends Enum<DataType>
| 枚举常量和说明 |
|---|
boolean_type |
byte_type |
date_type |
double_type |
float_type |
geo_point_type |
integer_type |
keyword_type |
long_type |
nested_type |
short_type |
text_type |
public static final DataType keyword_type
public static final DataType text_type
public static final DataType byte_type
public static final DataType short_type
public static final DataType integer_type
public static final DataType long_type
public static final DataType float_type
public static final DataType double_type
public static final DataType boolean_type
public static final DataType date_type
public static final DataType nested_type
public static final DataType geo_point_type
public static DataType[] values()
for (DataType c : DataType.values()) System.out.println(c);
public static DataType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2020. All rights reserved.