Package com.google.cloud.bigquery
Enum JobInfo.WriteDisposition
- All Implemented Interfaces:
Serializable
,Comparable<JobInfo.WriteDisposition>
- Enclosing class:
- JobInfo
Specifies the action that occurs if the destination table already exists.
-
Enum Constant Summary
Enum ConstantDescriptionConfigures the job to append data to the table if it already exists.Configures the job to fail with a duplicate error if the table already exists.Configures the job to overwrite the table data if table already exists. -
Method Summary
Modifier and TypeMethodDescriptionstatic JobInfo.WriteDisposition
Returns the enum constant of this type with the specified name.static JobInfo.WriteDisposition[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
WRITE_TRUNCATE
Configures the job to overwrite the table data if table already exists. -
WRITE_APPEND
Configures the job to append data to the table if it already exists. -
WRITE_EMPTY
Configures the job to fail with a duplicate error if the table already exists.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-