public enum ESFieldType extends Enum<ESFieldType>
Enum Constant and Description |
---|
BYTE |
DATE |
DOUBLE |
FLOAT |
INTEGER |
LONG |
SHORT |
STORED |
STRING |
TEXT |
Modifier and Type | Method and Description |
---|---|
String |
addTypeToFieldname(String fieldName)
Add dynamic type information into fieldName.
|
protected String |
getSuffix() |
static String |
removeFieldType(String fieldName)
Remove dynamic field type information from fieldName.
|
static ESFieldType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ESFieldType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ESFieldType STRING
public static final ESFieldType TEXT
public static final ESFieldType FLOAT
public static final ESFieldType DOUBLE
public static final ESFieldType BYTE
public static final ESFieldType SHORT
public static final ESFieldType INTEGER
public static final ESFieldType LONG
public static final ESFieldType DATE
public static final ESFieldType STORED
protected static final String DELIMITER
public static ESFieldType[] values()
for (ESFieldType c : ESFieldType.values()) System.out.println(c);
public static ESFieldType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullprotected String getSuffix()
public String addTypeToFieldname(String fieldName)
fieldName
- Copyright © 2003–2017 Atlassian. All rights reserved.