Package com.google.cloud.bigquery
Enum JobConfiguration.Type
- java.lang.Object
-
- java.lang.Enum<JobConfiguration.Type>
-
- com.google.cloud.bigquery.JobConfiguration.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<JobConfiguration.Type>
- Enclosing class:
- JobConfiguration
public static enum JobConfiguration.Type extends Enum<JobConfiguration.Type>
Type of a BigQuery Job.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COPY
A Copy Job copies an existing table to another new or existing table.EXTRACT
An Extract Job exports a BigQuery table to Google Cloud Storage.LOAD
A Load Job loads data from one of several formats into a table.QUERY
A Query Job runs a query against BigQuery data.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JobConfiguration.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static JobConfiguration.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COPY
public static final JobConfiguration.Type COPY
A Copy Job copies an existing table to another new or existing table. Instances ofJobConfiguration
for this type are implemented byCopyJobConfiguration
.
-
EXTRACT
public static final JobConfiguration.Type EXTRACT
An Extract Job exports a BigQuery table to Google Cloud Storage. Instances ofJobConfiguration
for this type are implemented byExtractJobConfiguration
.
-
LOAD
public static final JobConfiguration.Type LOAD
A Load Job loads data from one of several formats into a table. Instances ofJobConfiguration
for this type are implemented byLoadJobConfiguration
.
-
QUERY
public static final JobConfiguration.Type QUERY
A Query Job runs a query against BigQuery data. Instances ofJobConfiguration
for this type are implemented byQueryJobConfiguration
.
-
-
Method Detail
-
values
public static JobConfiguration.Type[] 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 (JobConfiguration.Type c : JobConfiguration.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JobConfiguration.Type 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
-
-