Class TableTimePartitioning


  • public final class TableTimePartitioning
    extends java.lang.Object
    • Method Detail

      • expirationMs

        public java.util.Optional<java.lang.Integer> expirationMs()
        Returns:
        Number of milliseconds for which to keep the storage for a partition.
      • field

        public java.util.Optional<java.lang.String> field()
        Returns:
        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

        public java.util.Optional<java.lang.Boolean> requirePartitionFilter()
        Returns:
        If set to true, queries over this table require a partition filter that can be used for partition elimination to be specified.
      • type

        public java.lang.String type()
        Returns:
        The supported types are DAY, HOUR, MONTH, and YEAR, which will generate one partition per day, hour, month, and year, respectively.