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

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

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






JobConfigurationExtract (BigQuery API v2-rev20201022-1.30.10)












com.google.api.services.bigquery.model

Class JobConfigurationExtract

    • Constructor Detail

      • JobConfigurationExtract

        public JobConfigurationExtract()
    • Method Detail

      • getCompression

        public String getCompression()
        [Optional] The compression type to use for exported files. Possible values include GZIP, DEFLATE, SNAPPY, and NONE. The default value is NONE. DEFLATE and SNAPPY are only supported for Avro. Not applicable when extracting models.
        Returns:
        value or null for none
      • setCompression

        public JobConfigurationExtract setCompression(String compression)
        [Optional] The compression type to use for exported files. Possible values include GZIP, DEFLATE, SNAPPY, and NONE. The default value is NONE. DEFLATE and SNAPPY are only supported for Avro. Not applicable when extracting models.
        Parameters:
        compression - compression or null for none
      • getDestinationFormat

        public String getDestinationFormat()
        [Optional] The exported file format. Possible values include CSV, NEWLINE_DELIMITED_JSON, PARQUET or AVRO for tables and ML_TF_SAVED_MODEL or ML_XGBOOST_BOOSTER for models. The default value for tables is CSV. Tables with nested or repeated fields cannot be exported as CSV. The default value for models is ML_TF_SAVED_MODEL.
        Returns:
        value or null for none
      • setDestinationFormat

        public JobConfigurationExtract setDestinationFormat(String destinationFormat)
        [Optional] The exported file format. Possible values include CSV, NEWLINE_DELIMITED_JSON, PARQUET or AVRO for tables and ML_TF_SAVED_MODEL or ML_XGBOOST_BOOSTER for models. The default value for tables is CSV. Tables with nested or repeated fields cannot be exported as CSV. The default value for models is ML_TF_SAVED_MODEL.
        Parameters:
        destinationFormat - destinationFormat or null for none
      • getDestinationUri

        public String getDestinationUri()
        [Pick one] DEPRECATED: Use destinationUris instead, passing only one URI as necessary. The fully-qualified Google Cloud Storage URI where the extracted table should be written.
        Returns:
        value or null for none
      • setDestinationUri

        public JobConfigurationExtract setDestinationUri(String destinationUri)
        [Pick one] DEPRECATED: Use destinationUris instead, passing only one URI as necessary. The fully-qualified Google Cloud Storage URI where the extracted table should be written.
        Parameters:
        destinationUri - destinationUri or null for none
      • getDestinationUris

        public List<String> getDestinationUris()
        [Pick one] A list of fully-qualified Google Cloud Storage URIs where the extracted table should be written.
        Returns:
        value or null for none
      • setDestinationUris

        public JobConfigurationExtract setDestinationUris(List<String> destinationUris)
        [Pick one] A list of fully-qualified Google Cloud Storage URIs where the extracted table should be written.
        Parameters:
        destinationUris - destinationUris or null for none
      • getFieldDelimiter

        public String getFieldDelimiter()
        [Optional] Delimiter to use between fields in the exported data. Default is ','. Not applicable when extracting models.
        Returns:
        value or null for none
      • setFieldDelimiter

        public JobConfigurationExtract setFieldDelimiter(String fieldDelimiter)
        [Optional] Delimiter to use between fields in the exported data. Default is ','. Not applicable when extracting models.
        Parameters:
        fieldDelimiter - fieldDelimiter or null for none
      • getPrintHeader

        public Boolean getPrintHeader()
        [Optional] Whether to print out a header row in the results. Default is true. Not applicable when extracting models.
        Returns:
        value or null for none
      • setPrintHeader

        public JobConfigurationExtract setPrintHeader(Boolean printHeader)
        [Optional] Whether to print out a header row in the results. Default is true. Not applicable when extracting models.
        Parameters:
        printHeader - printHeader or null for none
      • getSourceModel

        public ModelReference getSourceModel()
        A reference to the model being exported.
        Returns:
        value or null for none
      • setSourceModel

        public JobConfigurationExtract setSourceModel(ModelReference sourceModel)
        A reference to the model being exported.
        Parameters:
        sourceModel - sourceModel or null for none
      • getSourceTable

        public TableReference getSourceTable()
        A reference to the table being exported.
        Returns:
        value or null for none
      • setSourceTable

        public JobConfigurationExtract setSourceTable(TableReference sourceTable)
        A reference to the table being exported.
        Parameters:
        sourceTable - sourceTable or null for none
      • getUseAvroLogicalTypes

        public Boolean getUseAvroLogicalTypes()
        [Optional] If destinationFormat is set to "AVRO", this flag indicates whether to enable extracting applicable column types (such as TIMESTAMP) to their corresponding AVRO logical types (timestamp-micros), instead of only using their raw types (avro-long). Not applicable when extracting models.
        Returns:
        value or null for none
      • setUseAvroLogicalTypes

        public JobConfigurationExtract setUseAvroLogicalTypes(Boolean useAvroLogicalTypes)
        [Optional] If destinationFormat is set to "AVRO", this flag indicates whether to enable extracting applicable column types (such as TIMESTAMP) to their corresponding AVRO logical types (timestamp-micros), instead of only using their raw types (avro-long). Not applicable when extracting models.
        Parameters:
        useAvroLogicalTypes - useAvroLogicalTypes or null for none

Copyright © 2011–2020 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy