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

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

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






TableReplicationInfo (BigQuery API v2-rev20240727-2.0.0)












com.google.api.services.bigquery.model

Class TableReplicationInfo

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>


    public final class TableReplicationInfo
    extends com.google.api.client.json.GenericJson
    Replication info of a table created using `AS REPLICA` DDL like: `CREATE MATERIALIZED VIEW mv1 AS REPLICA OF src_mv`

    This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the BigQuery API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json

    Author:
    Google, Inc.
    • Constructor Detail

      • TableReplicationInfo

        public TableReplicationInfo()
    • Method Detail

      • getReplicatedSourceLastRefreshTime

        public Long getReplicatedSourceLastRefreshTime()
        Optional. Output only. If source is a materialized view, this field signifies the last refresh time of the source.
        Returns:
        value or null for none
      • setReplicatedSourceLastRefreshTime

        public TableReplicationInfo setReplicatedSourceLastRefreshTime(Long replicatedSourceLastRefreshTime)
        Optional. Output only. If source is a materialized view, this field signifies the last refresh time of the source.
        Parameters:
        replicatedSourceLastRefreshTime - replicatedSourceLastRefreshTime or null for none
      • getReplicationError

        public ErrorProto getReplicationError()
        Optional. Output only. Replication error that will permanently stopped table replication.
        Returns:
        value or null for none
      • setReplicationError

        public TableReplicationInfo setReplicationError(ErrorProto replicationError)
        Optional. Output only. Replication error that will permanently stopped table replication.
        Parameters:
        replicationError - replicationError or null for none
      • getReplicationIntervalMs

        public Long getReplicationIntervalMs()
        Optional. Specifies the interval at which the source table is polled for updates. It's Optional. If not specified, default replication interval would be applied.
        Returns:
        value or null for none
      • setReplicationIntervalMs

        public TableReplicationInfo setReplicationIntervalMs(Long replicationIntervalMs)
        Optional. Specifies the interval at which the source table is polled for updates. It's Optional. If not specified, default replication interval would be applied.
        Parameters:
        replicationIntervalMs - replicationIntervalMs or null for none
      • getReplicationStatus

        public String getReplicationStatus()
        Optional. Output only. Replication status of configured replication.
        Returns:
        value or null for none
      • setReplicationStatus

        public TableReplicationInfo setReplicationStatus(String replicationStatus)
        Optional. Output only. Replication status of configured replication.
        Parameters:
        replicationStatus - replicationStatus or null for none
      • getSourceTable

        public TableReference getSourceTable()
        Required. Source table reference that is replicated.
        Returns:
        value or null for none
      • setSourceTable

        public TableReplicationInfo setSourceTable(TableReference sourceTable)
        Required. Source table reference that is replicated.
        Parameters:
        sourceTable - sourceTable or null for none
      • clone

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

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy