Writeable.Reader<R>
Enum Constant and Description |
---|
ANY
Deprecated.
|
DATE |
DOUBLE |
GEOPOINT |
IP |
LONG |
NUMBER |
NUMERIC |
STRING |
Modifier and Type | Method and Description |
---|---|
boolean |
compatibleWith(IndexFieldData fieldData) |
ValueFormat |
defaultFormat() |
java.lang.String |
description() |
java.lang.String |
getPreferredName() |
ValuesSourceType |
getValuesSourceType() |
boolean |
isA(ValueType valueType) |
boolean |
isFloatingPoint() |
boolean |
isGeoPoint() |
boolean |
isNotA(ValueType valueType) |
boolean |
isNumeric() |
ValueType |
readFrom(StreamInput in)
Reads an object of this type from the provided StreamInput.
|
static ValueType |
resolveForScript(java.lang.String type) |
java.lang.String |
toString() |
static ValueType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ValueType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
void |
writeTo(StreamOutput out)
Write this into the StreamOutput.
|
@Deprecated public static final ValueType ANY
public static final ValueType STRING
public static final ValueType LONG
public static final ValueType DOUBLE
public static final ValueType NUMBER
public static final ValueType DATE
public static final ValueType IP
public static final ValueType NUMERIC
public static final ValueType GEOPOINT
public static ValueType[] values()
for (ValueType c : ValueType.values()) System.out.println(c);
public static ValueType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String description()
public java.lang.String getPreferredName()
public ValuesSourceType getValuesSourceType()
public boolean compatibleWith(IndexFieldData fieldData)
public boolean isA(ValueType valueType)
public boolean isNotA(ValueType valueType)
public ValueFormat defaultFormat()
public boolean isNumeric()
public boolean isFloatingPoint()
public boolean isGeoPoint()
public static ValueType resolveForScript(java.lang.String type)
public java.lang.String toString()
toString
in class java.lang.Enum<ValueType>
public ValueType readFrom(StreamInput in) throws java.io.IOException
StreamableReader
public void writeTo(StreamOutput out) throws java.io.IOException
Writeable