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

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

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






ViewDefinition (BigQuery API v2-rev20240919-2.0.0)












com.google.api.services.bigquery.model

Class ViewDefinition

    • Constructor Detail

      • ViewDefinition

        public ViewDefinition()
    • Method Detail

      • getForeignDefinitions

        public List<ForeignViewDefinition> getForeignDefinitions()
        Optional. Foreign view representations.
        Returns:
        value or null for none
      • setForeignDefinitions

        public ViewDefinition setForeignDefinitions(List<ForeignViewDefinition> foreignDefinitions)
        Optional. Foreign view representations.
        Parameters:
        foreignDefinitions - foreignDefinitions or null for none
      • getPrivacyPolicy

        public PrivacyPolicy getPrivacyPolicy()
        Optional. Specifices the privacy policy for the view.
        Returns:
        value or null for none
      • setPrivacyPolicy

        public ViewDefinition setPrivacyPolicy(PrivacyPolicy privacyPolicy)
        Optional. Specifices the privacy policy for the view.
        Parameters:
        privacyPolicy - privacyPolicy or null for none
      • getQuery

        public String getQuery()
        Required. A query that BigQuery executes when the view is referenced.
        Returns:
        value or null for none
      • setQuery

        public ViewDefinition setQuery(String query)
        Required. A query that BigQuery executes when the view is referenced.
        Parameters:
        query - query or null for none
      • getUseExplicitColumnNames

        public Boolean getUseExplicitColumnNames()
        True if the column names are explicitly specified. For example by using the 'CREATE VIEW v(c1, c2) AS ...' syntax. Can only be set for GoogleSQL views.
        Returns:
        value or null for none
      • setUseExplicitColumnNames

        public ViewDefinition setUseExplicitColumnNames(Boolean useExplicitColumnNames)
        True if the column names are explicitly specified. For example by using the 'CREATE VIEW v(c1, c2) AS ...' syntax. Can only be set for GoogleSQL views.
        Parameters:
        useExplicitColumnNames - useExplicitColumnNames or null for none
      • getUseLegacySql

        public Boolean getUseLegacySql()
        Specifies whether to use BigQuery's legacy SQL for this view. The default value is true. If set to false, the view will use BigQuery's GoogleSQL: https://cloud.google.com/bigquery/sql- reference/ Queries and views that reference this view must use the same flag value. A wrapper is used here because the default value is True.
        Returns:
        value or null for none
      • setUseLegacySql

        public ViewDefinition setUseLegacySql(Boolean useLegacySql)
        Specifies whether to use BigQuery's legacy SQL for this view. The default value is true. If set to false, the view will use BigQuery's GoogleSQL: https://cloud.google.com/bigquery/sql- reference/ Queries and views that reference this view must use the same flag value. A wrapper is used here because the default value is True.
        Parameters:
        useLegacySql - useLegacySql or null for none
      • getUserDefinedFunctionResources

        public List<UserDefinedFunctionResource> getUserDefinedFunctionResources()
        Describes user-defined function resources used in the query.
        Returns:
        value or null for none
      • setUserDefinedFunctionResources

        public ViewDefinition setUserDefinedFunctionResources(List<UserDefinedFunctionResource> userDefinedFunctionResources)
        Describes user-defined function resources used in the query.
        Parameters:
        userDefinedFunctionResources - userDefinedFunctionResources or null for none
      • set

        public ViewDefinition set(String fieldName,
                                  Object value)
        Overrides:
        set in class com.google.api.client.json.GenericJson
      • clone

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

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy