public enum WriterOutputFormat extends Enum<WriterOutputFormat>
| Enum Constant and Description |
|---|
AVRO |
CSV |
JSON |
ORC |
OTHER |
PARQUET |
PROTOBUF |
TXT |
| Modifier and Type | Method and Description |
|---|---|
String |
getExtension()
Returns the file name extension for the enum type
|
static WriterOutputFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WriterOutputFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WriterOutputFormat AVRO
public static final WriterOutputFormat PARQUET
public static final WriterOutputFormat PROTOBUF
public static final WriterOutputFormat JSON
public static final WriterOutputFormat ORC
public static final WriterOutputFormat CSV
public static final WriterOutputFormat TXT
public static final WriterOutputFormat OTHER
public static WriterOutputFormat[] values()
for (WriterOutputFormat c : WriterOutputFormat.values()) System.out.println(c);
public static WriterOutputFormat 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 nullpublic String getExtension()