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

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






MaterializedViewDefinition (BigQuery API v2-rev20240727-2.0.0)












com.google.api.services.bigquery.model

Class MaterializedViewDefinition

    • Constructor Detail

      • MaterializedViewDefinition

        public MaterializedViewDefinition()
    • Method Detail

      • getAllowNonIncrementalDefinition

        public Boolean getAllowNonIncrementalDefinition()
        Optional. This option declares the intention to construct a materialized view that isn't refreshed incrementally.
        Returns:
        value or null for none
      • setAllowNonIncrementalDefinition

        public MaterializedViewDefinition setAllowNonIncrementalDefinition(Boolean allowNonIncrementalDefinition)
        Optional. This option declares the intention to construct a materialized view that isn't refreshed incrementally.
        Parameters:
        allowNonIncrementalDefinition - allowNonIncrementalDefinition or null for none
      • getEnableRefresh

        public Boolean getEnableRefresh()
        Optional. 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. 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. The time when this materialized view was last refreshed, in milliseconds since the epoch.
        Returns:
        value or null for none
      • setLastRefreshTime

        public MaterializedViewDefinition setLastRefreshTime(Long lastRefreshTime)
        Output only. The time when this materialized view was last refreshed, 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 results are persisted.
        Returns:
        value or null for none
      • setQuery

        public MaterializedViewDefinition setQuery(String query)
        Required. A query whose results are persisted.
        Parameters:
        query - query or null for none
      • getRefreshIntervalMs

        public Long getRefreshIntervalMs()
        Optional. 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. 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–2024 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy