public enum GeoExecType extends java.lang.Enum<GeoExecType> implements Writeable<GeoExecType>
Writeable.Reader<R>
Modifier and Type | Method and Description |
---|---|
static GeoExecType |
fromString(java.lang.String typeName) |
GeoExecType |
readFrom(StreamInput in)
Reads an object of this type from the provided StreamInput.
|
static GeoExecType |
readTypeFrom(StreamInput in) |
static GeoExecType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GeoExecType[] |
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.
|
public static final GeoExecType MEMORY
public static final GeoExecType INDEXED
public static GeoExecType[] values()
for (GeoExecType c : GeoExecType.values()) System.out.println(c);
public static GeoExecType 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 GeoExecType readFrom(StreamInput in) throws java.io.IOException
StreamableReader
readFrom
in interface StreamableReader<GeoExecType>
readFrom
in interface Writeable<GeoExecType>
java.io.IOException
public static GeoExecType readTypeFrom(StreamInput in) throws java.io.IOException
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Writeable
writeTo
in interface Writeable<GeoExecType>
java.io.IOException
public static GeoExecType fromString(java.lang.String typeName)