Package io.tiledb.cloud.rest_api.model
Enum ResultFormat
- java.lang.Object
-
- java.lang.Enum<ResultFormat>
-
- io.tiledb.cloud.rest_api.model.ResultFormat
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ResultFormat>
public enum ResultFormat extends java.lang.Enum<ResultFormat>
Data format of a result
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ResultFormat.Adapter
-
Enum Constant Summary
Enum Constants Enum Constant Description ARROW
BYTES
JSON
NATIVE
PYTHON_PICKLE
R_SERIALIZATION
TILEDB_JSON
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResultFormat
fromValue(java.lang.String value)
java.lang.String
getValue()
java.lang.String
toString()
static ResultFormat
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ResultFormat[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PYTHON_PICKLE
public static final ResultFormat PYTHON_PICKLE
-
R_SERIALIZATION
public static final ResultFormat R_SERIALIZATION
-
JSON
public static final ResultFormat JSON
-
ARROW
public static final ResultFormat ARROW
-
BYTES
public static final ResultFormat BYTES
-
TILEDB_JSON
public static final ResultFormat TILEDB_JSON
-
NATIVE
public static final ResultFormat NATIVE
-
-
Method Detail
-
values
public static ResultFormat[] 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 (ResultFormat c : ResultFormat.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ResultFormat 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
-
getValue
public java.lang.String getValue()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<ResultFormat>
-
fromValue
public static ResultFormat fromValue(java.lang.String value)
-
-