All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.bigquery.model.TimePartitioning.html Maven / Gradle / Ivy

There is a newer version: v2-rev20241222-2.0.0
Show newest version






TimePartitioning (BigQuery API v2-rev20190423-1.28.0)












com.google.api.services.bigquery.model

Class TimePartitioning

    • Constructor Detail

      • TimePartitioning

        public TimePartitioning()
    • Method Detail

      • getExpirationMs

        public Long getExpirationMs()
        [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.
        Returns:
        value or null for none
      • setExpirationMs

        public TimePartitioning setExpirationMs(Long 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.
        Parameters:
        expirationMs - expirationMs or null for none
      • getField

        public String getField()
        [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.
        Returns:
        value or null for none
      • setField

        public TimePartitioning setField(String 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.
        Parameters:
        field - field or null for none
      • getRequirePartitionFilter

        public Boolean getRequirePartitionFilter()
        Returns:
        value or null for none
      • setRequirePartitionFilter

        public TimePartitioning setRequirePartitionFilter(Boolean requirePartitionFilter)
        Parameters:
        requirePartitionFilter - requirePartitionFilter or null for none
      • getType

        public String getType()
        [Required] The only type supported is DAY, which will generate one partition per day.
        Returns:
        value or null for none
      • setType

        public TimePartitioning setType(String type)
        [Required] The only type supported is DAY, which will generate one partition per day.
        Parameters:
        type - type or null for none
      • clone

        public TimePartitioning clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2019 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy