TimePartitioning class

Constructors

TimePartitioning({Input<String>? expirationMs, Input<String>? field, Input<bool>? requirePartitionFilter, Input<String>? type})
Creates a new TimePartitioning. expirationMs Optional Number of milliseconds for which to keep the storage for partitions in the table. The storage in a partition will have an expiration time of its partition time plus this value. field Beta Optional If not set, the table is partitioned by pseudo column, referenced via either '_PARTITIONTIME' as TIMESTAMP type, or '_PARTITIONDATE' as DATE type. If field is specified, the table is instead partitioned by this field. The field must be a top-level TIMESTAMP or DATE field. Its mode must be NULLABLE or REQUIRED. requirePartitionFilter Optional. type Required The supported types are DAY, HOUR, MONTH, and YEAR, which will generate one partition per day, hour, month, and year, respectively. When the type is not specified, the default behavior is DAY.
const
TimePartitioning.fromMap(Map<String, dynamic> map)
factory

Properties

expirationMs → Input<String>?
Optional Number of milliseconds for which to keep the storage for partitions in the table. The storage in a partition will have an expiration time of its partition time plus this value.
final
field → Input<String>?
Beta Optional If not set, the table is partitioned by pseudo column, referenced via either '_PARTITIONTIME' as TIMESTAMP type, or '_PARTITIONDATE' as DATE type. If field is specified, the table is instead partitioned by this field. The field must be a top-level TIMESTAMP or DATE field. Its mode must be NULLABLE or REQUIRED.
final
hashCode → int
The hash code for this object.
no setterinherited
requirePartitionFilter → Input<bool>?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → Input<String>?
Required The supported types are DAY, HOUR, MONTH, and YEAR, which will generate one partition per day, hour, month, and year, respectively. When the type is not specified, the default behavior is DAY.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited