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

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

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






JobConfiguration (BigQuery API v2-rev20240905-2.0.0)












com.google.api.services.bigquery.model

Class JobConfiguration

    • Constructor Detail

      • JobConfiguration

        public JobConfiguration()
    • Method Detail

      • getDryRun

        public Boolean getDryRun()
        Optional. If set, don't actually run this job. A valid query will return a mostly empty response with some processing statistics, while an invalid query will return the same error it would if it wasn't a dry run. Behavior of non-query jobs is undefined.
        Returns:
        value or null for none
      • setDryRun

        public JobConfiguration setDryRun(Boolean dryRun)
        Optional. If set, don't actually run this job. A valid query will return a mostly empty response with some processing statistics, while an invalid query will return the same error it would if it wasn't a dry run. Behavior of non-query jobs is undefined.
        Parameters:
        dryRun - dryRun or null for none
      • getExtract

        public JobConfigurationExtract getExtract()
        [Pick one] Configures an extract job.
        Returns:
        value or null for none
      • getJobTimeoutMs

        public Long getJobTimeoutMs()
        Optional. Job timeout in milliseconds. If this time limit is exceeded, BigQuery will attempt to stop a longer job, but may not always succeed in canceling it before the job completes. For example, a job that takes more than 60 seconds to complete has a better chance of being stopped than a job that takes 10 seconds to complete.
        Returns:
        value or null for none
      • setJobTimeoutMs

        public JobConfiguration setJobTimeoutMs(Long jobTimeoutMs)
        Optional. Job timeout in milliseconds. If this time limit is exceeded, BigQuery will attempt to stop a longer job, but may not always succeed in canceling it before the job completes. For example, a job that takes more than 60 seconds to complete has a better chance of being stopped than a job that takes 10 seconds to complete.
        Parameters:
        jobTimeoutMs - jobTimeoutMs or null for none
      • getJobType

        public String getJobType()
        Output only. The type of the job. Can be QUERY, LOAD, EXTRACT, COPY or UNKNOWN.
        Returns:
        value or null for none
      • setJobType

        public JobConfiguration setJobType(String jobType)
        Output only. The type of the job. Can be QUERY, LOAD, EXTRACT, COPY or UNKNOWN.
        Parameters:
        jobType - jobType or null for none
      • getLabels

        public Map<String,String> getLabels()
        The labels associated with this job. You can use these to organize and group your jobs. Label keys and values can be no longer than 63 characters, can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter and each label in the list must have a different key.
        Returns:
        value or null for none
      • setLabels

        public JobConfiguration setLabels(Map<String,String> labels)
        The labels associated with this job. You can use these to organize and group your jobs. Label keys and values can be no longer than 63 characters, can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter and each label in the list must have a different key.
        Parameters:
        labels - labels or null for none
      • getLoad

        public JobConfigurationLoad getLoad()
        [Pick one] Configures a load job.
        Returns:
        value or null for none
      • getQuery

        public JobConfigurationQuery getQuery()
        [Pick one] Configures a query job.
        Returns:
        value or null for none
      • clone

        public JobConfiguration 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