GetTableTimePartitioning constructor

const GetTableTimePartitioning({
  1. required Input<int> expirationMs,
  2. required Input<String> field,
  3. required Input<bool> requirePartitionFilter,
  4. required Input<String> type,
})

Creates a new GetTableTimePartitioning. expirationMs Number of milliseconds for which to keep the storage for a partition. field The field used to determine how to create a time-based partition. If time-based partitioning is enabled without this value, the table is partitioned based on the load time. requirePartitionFilter If set to true, queries over this table require a partition filter that can be used for partition elimination to be specified. type The supported types are DAY, HOUR, MONTH, and YEAR, which will generate one partition per day, hour, month, and year, respectively.

Implementation

const GetTableTimePartitioning({
  required this.expirationMs,
  required this.field,
  required this.requirePartitionFilter,
  required this.type,
});