As of January 1, 2020 this library no longer supports Python 2 on the latest released version. Library versions released prior to that date will continue to be available. For more information please visit Python 2 support on Google Cloud.

google.cloud.bigquery.table.PartitionRange

class google.cloud.bigquery.table.PartitionRange(start=None, end=None, interval=None, _properties=None)[source]

Definition of the ranges for range partitioning.

Note

Beta. The integer range partitioning feature is in a pre-release state and might change or have limited support.

Parameters
  • start (Optional[int]) – Sets the start property.

  • end (Optional[int]) – Sets the end property.

  • interval (Optional[int]) – Sets the interval property.

  • _properties (Optional[dict]) – Private. Used to construct object from API resource.

__init__(start=None, end=None, interval=None, _properties=None)[source]

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__([start, end, interval, _properties])

Initialize self.

Attributes

end

The end of range partitioning, exclusive.

interval

The width of each interval.

start

The start of range partitioning, inclusive.

property end

The end of range partitioning, exclusive.

Type

int

property interval

The width of each interval.

Type

int

property start

The start of range partitioning, inclusive.

Type

int