Package com.google.cloud.bigquery
Enum TimePartitioning.Type
- All Implemented Interfaces:
Serializable
,Comparable<TimePartitioning.Type>
- Enclosing class:
- TimePartitioning
[Optional] The supported types are DAY, HOUR, MONTH, and YEAR, which will generate one
partition per day, hour, month, and year, respectively. When the interval is not specified, the
default behavior is DAY.
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic TimePartitioning.Type
Returns the enum constant of this type with the specified name.static TimePartitioning.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DAY
Table is partitioned per day. -
HOUR
Table is partitioned per hour. -
MONTH
Table is partitioned per month. -
YEAR
Table is partitioned per year.
-
-
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
-