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

target.apidocs.com.google.api.services.dataproc.model.SparkSqlBatch.html Maven / Gradle / Ivy

The newest version!






SparkSqlBatch (Cloud Dataproc API v1-rev20241025-2.0.0)












com.google.api.services.dataproc.model

Class SparkSqlBatch

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


    public final class SparkSqlBatch
    extends com.google.api.client.json.GenericJson
    A configuration for running Apache Spark SQL (https://spark.apache.org/sql/) queries as a batch workload.

    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 Cloud Dataproc API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json

    Author:
    Google, Inc.
    • Constructor Detail

      • SparkSqlBatch

        public SparkSqlBatch()
    • Method Detail

      • getJarFileUris

        public List<String> getJarFileUris()
        Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH.
        Returns:
        value or null for none
      • setJarFileUris

        public SparkSqlBatch setJarFileUris(List<String> jarFileUris)
        Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH.
        Parameters:
        jarFileUris - jarFileUris or null for none
      • getQueryFileUri

        public String getQueryFileUri()
        Required. The HCFS URI of the script that contains Spark SQL queries to execute.
        Returns:
        value or null for none
      • setQueryFileUri

        public SparkSqlBatch setQueryFileUri(String queryFileUri)
        Required. The HCFS URI of the script that contains Spark SQL queries to execute.
        Parameters:
        queryFileUri - queryFileUri or null for none
      • getQueryVariables

        public Map<String,String> getQueryVariables()
        Optional. Mapping of query variable names to values (equivalent to the Spark SQL command: SET name="value";).
        Returns:
        value or null for none
      • setQueryVariables

        public SparkSqlBatch setQueryVariables(Map<String,String> queryVariables)
        Optional. Mapping of query variable names to values (equivalent to the Spark SQL command: SET name="value";).
        Parameters:
        queryVariables - queryVariables or null for none
      • set

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

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