TableTimePartitioningArgs

data class TableTimePartitioningArgs(val expirationMs: Output<Int>? = null, val field: Output<String>? = null, val requirePartitionFilter: Output<Boolean>? = null, val type: Output<String>) : ConvertibleToJava<TableTimePartitioningArgs>

Constructors

Link copied to clipboard
constructor(expirationMs: Output<Int>? = null, field: Output<String>? = null, requirePartitionFilter: Output<Boolean>? = null, type: Output<String>)

Properties

Link copied to clipboard
val expirationMs: Output<Int>? = null

Number of milliseconds for which to keep the storage for a partition.

Link copied to clipboard
val field: Output<String>? = null

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.

Link copied to clipboard
val requirePartitionFilter: Output<Boolean>? = null

If set to true, queries over this table require a partition filter that can be used for partition elimination to be specified.

Link copied to clipboard
val type: Output<String>

The supported types are DAY, HOUR, MONTH, and YEAR, which will generate one partition per day, hour, month, and year, respectively.

Functions

Link copied to clipboard
open override fun toJava(): TableTimePartitioningArgs