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

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







MaterializedViewDefinition (BigQuery API v2-rev20220422-1.32.1)












com.google.api.services.bigquery.model

Class MaterializedViewDefinition

    • Constructor Detail

      • MaterializedViewDefinition

        public MaterializedViewDefinition()
    • Method Detail

      • getEnableRefresh

        public Boolean getEnableRefresh()
        [Optional] [TrustedTester] Enable automatic refresh of the materialized view when the base table is updated. The default value is "true".
        Returns:
        value or null for none
      • setEnableRefresh

        public MaterializedViewDefinition setEnableRefresh(Boolean enableRefresh)
        [Optional] [TrustedTester] Enable automatic refresh of the materialized view when the base table is updated. The default value is "true".
        Parameters:
        enableRefresh - enableRefresh or null for none
      • getLastRefreshTime

        public Long getLastRefreshTime()
        [Output-only] [TrustedTester] The time when this materialized view was last modified, in milliseconds since the epoch.
        Returns:
        value or null for none
      • setLastRefreshTime

        public MaterializedViewDefinition setLastRefreshTime(Long lastRefreshTime)
        [Output-only] [TrustedTester] The time when this materialized view was last modified, in milliseconds since the epoch.
        Parameters:
        lastRefreshTime - lastRefreshTime or null for none
      • getMaxStaleness

        public String getMaxStaleness()
        [Optional] Max staleness of data that could be returned when materizlized view is queried (formatted as Google SQL Interval type).
        Returns:
        value or null for none
        See Also:
        decodeMaxStaleness()
      • decodeMaxStaleness

        public byte[] decodeMaxStaleness()
        [Optional] Max staleness of data that could be returned when materizlized view is queried (formatted as Google SQL Interval type).
        Returns:
        Base64 decoded value or null for none
        Since:
        1.14
        See Also:
        getMaxStaleness()
      • setMaxStaleness

        public MaterializedViewDefinition setMaxStaleness(String maxStaleness)
        [Optional] Max staleness of data that could be returned when materizlized view is queried (formatted as Google SQL Interval type).
        Parameters:
        maxStaleness - maxStaleness or null for none
        See Also:
        #encodeMaxStaleness()
      • encodeMaxStaleness

        public MaterializedViewDefinition encodeMaxStaleness(byte[] maxStaleness)
        [Optional] Max staleness of data that could be returned when materizlized view is queried (formatted as Google SQL Interval type).
        Since:
        1.14
        See Also:

        The value is encoded Base64 or {@code null} for none.

      • getQuery

        public String getQuery()
        [Required] A query whose result is persisted.
        Returns:
        value or null for none
      • getRefreshIntervalMs

        public Long getRefreshIntervalMs()
        [Optional] [TrustedTester] The maximum frequency at which this materialized view will be refreshed. The default value is "1800000" (30 minutes).
        Returns:
        value or null for none
      • setRefreshIntervalMs

        public MaterializedViewDefinition setRefreshIntervalMs(Long refreshIntervalMs)
        [Optional] [TrustedTester] The maximum frequency at which this materialized view will be refreshed. The default value is "1800000" (30 minutes).
        Parameters:
        refreshIntervalMs - refreshIntervalMs or null for none

Copyright © 2011–2022 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy