Package com.zentadata.client.option
Enum DataFormat
- java.lang.Object
-
- java.lang.Enum<DataFormat>
-
- com.zentadata.client.option.DataFormat
-
- All Implemented Interfaces:
Serializable,Comparable<DataFormat>
public enum DataFormat extends Enum<DataFormat>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CSVJSONPARQUETTEXT_PLAINXML
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DataFormatvalueOf(String name)Returns the enum constant of this type with the specified name.static DataFormat[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
JSON
public static final DataFormat JSON
-
CSV
public static final DataFormat CSV
-
XML
public static final DataFormat XML
-
TEXT_PLAIN
public static final DataFormat TEXT_PLAIN
-
PARQUET
public static final DataFormat PARQUET
-
-
Method Detail
-
values
public static DataFormat[] 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 (DataFormat c : DataFormat.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DataFormat valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-