Package google.registry.bigquery
Enum Class BigqueryUtils.WriteDisposition
java.lang.Object
java.lang.Enum<BigqueryUtils.WriteDisposition>
google.registry.bigquery.BigqueryUtils.WriteDisposition
- All Implemented Interfaces:
Serializable
,Comparable<BigqueryUtils.WriteDisposition>
,Constable
- Enclosing class:
BigqueryUtils
Bigquery write dispositions (i.e. what to do about writing to an existing table).
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionIf the table already exists, append the data to the table.Only write to the table if there is no existing table or if it is empty.If the table already exists, overwrite it with the new data. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static BigqueryUtils.WriteDisposition[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
WRITE_EMPTY
Only write to the table if there is no existing table or if it is empty. -
WRITE_TRUNCATE
If the table already exists, overwrite it with the new data. -
WRITE_APPEND
If the table already exists, append the data to the table.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-