RangePartitioning(range_=None, field=None, _properties=None)Range-based partitioning configuration for a table.
Parameters
| Name | Description |
| range_ |
Optional[google.cloud.bigquery.table.PartitionRange]
Sets the range_ property. |
| field |
Optional[str]
Sets the field property. |
| _properties |
Optional[dict]
Private. Used to construct object from API resource. |
Inheritance
builtins.object > RangePartitioningProperties
field
str: The table is partitioned by this field.
The field must be a top-level NULLABLE / REQUIRED field. The
only supported type is INTEGER / INT64.
range_
google.cloud.bigquery.table.PartitionRange: Defines the ranges for range partitioning.
| Type | Description |
| ValueError | If the value is not a `PartitionRange`. |
Methods
__init__
__init__(range_=None, field=None, _properties=None)Initialize self. See help(type(self)) for accurate signature.
RangePartitioning
RangePartitioning(range_=None, field=None, _properties=None)Range-based partitioning configuration for a table.
| Name | Description |
| range_ |
Optional[google.cloud.bigquery.table.PartitionRange]
Sets the range_ property. |
| field |
Optional[str]
Sets the field property. |
| _properties |
Optional[dict]
Private. Used to construct object from API resource. |