@InterfaceStability.Unstable public enum BigQueryFileFormat extends Enum<BigQueryFileFormat>
Enum Constant and Description |
---|
AVRO
Avro container files
|
CSV
Comma separated value exports
|
NEWLINE_DELIMITED_JSON
Newline delimited JSON
|
Modifier and Type | Method and Description |
---|---|
static BigQueryFileFormat |
fromName(String name)
Deserializes the name of a BigQueryFileFormat.
|
String |
getExtension()
Get the default extension to denote the file format.
|
String |
getFormatIdentifier()
Get the identifier to specify in API requests.
|
static BigQueryFileFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BigQueryFileFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BigQueryFileFormat CSV
public static final BigQueryFileFormat NEWLINE_DELIMITED_JSON
public static final BigQueryFileFormat AVRO
public static BigQueryFileFormat[] values()
for (BigQueryFileFormat c : BigQueryFileFormat.values()) System.out.println(c);
public static BigQueryFileFormat 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()
public String getFormatIdentifier()
public static BigQueryFileFormat fromName(String name)
name
- the name of the BigQueryFileFormat as returned from Enum.name()
.Copyright © 2020. All rights reserved.