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

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

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






SparkOptions (BigQuery API v2-rev20240727-2.0.0)












com.google.api.services.bigquery.model

Class SparkOptions

    • Constructor Detail

      • SparkOptions

        public SparkOptions()
    • Method Detail

      • getArchiveUris

        public List<String> getArchiveUris()
        Archive files to be extracted into the working directory of each executor. For more information about Apache Spark, see [Apache Spark](https://spark.apache.org/docs/latest/index.html).
        Returns:
        value or null for none
      • setArchiveUris

        public SparkOptions setArchiveUris(List<String> archiveUris)
        Archive files to be extracted into the working directory of each executor. For more information about Apache Spark, see [Apache Spark](https://spark.apache.org/docs/latest/index.html).
        Parameters:
        archiveUris - archiveUris or null for none
      • getConnection

        public String getConnection()
        Fully qualified name of the user-provided Spark connection object. Format: ```"projects/{project_id}/locations/{location_id}/connections/{connection_id}"```
        Returns:
        value or null for none
      • setConnection

        public SparkOptions setConnection(String connection)
        Fully qualified name of the user-provided Spark connection object. Format: ```"projects/{project_id}/locations/{location_id}/connections/{connection_id}"```
        Parameters:
        connection - connection or null for none
      • getContainerImage

        public String getContainerImage()
        Custom container image for the runtime environment.
        Returns:
        value or null for none
      • setContainerImage

        public SparkOptions setContainerImage(String containerImage)
        Custom container image for the runtime environment.
        Parameters:
        containerImage - containerImage or null for none
      • getFileUris

        public List<String> getFileUris()
        Files to be placed in the working directory of each executor. For more information about Apache Spark, see [Apache Spark](https://spark.apache.org/docs/latest/index.html).
        Returns:
        value or null for none
      • setFileUris

        public SparkOptions setFileUris(List<String> fileUris)
        Files to be placed in the working directory of each executor. For more information about Apache Spark, see [Apache Spark](https://spark.apache.org/docs/latest/index.html).
        Parameters:
        fileUris - fileUris or null for none
      • getJarUris

        public List<String> getJarUris()
        JARs to include on the driver and executor CLASSPATH. For more information about Apache Spark, see [Apache Spark](https://spark.apache.org/docs/latest/index.html).
        Returns:
        value or null for none
      • setJarUris

        public SparkOptions setJarUris(List<String> jarUris)
        JARs to include on the driver and executor CLASSPATH. For more information about Apache Spark, see [Apache Spark](https://spark.apache.org/docs/latest/index.html).
        Parameters:
        jarUris - jarUris or null for none
      • getMainClass

        public String getMainClass()
        The fully qualified name of a class in jar_uris, for example, com.example.wordcount. Exactly one of main_class and main_jar_uri field should be set for Java/Scala language type.
        Returns:
        value or null for none
      • setMainClass

        public SparkOptions setMainClass(String mainClass)
        The fully qualified name of a class in jar_uris, for example, com.example.wordcount. Exactly one of main_class and main_jar_uri field should be set for Java/Scala language type.
        Parameters:
        mainClass - mainClass or null for none
      • getMainFileUri

        public String getMainFileUri()
        The main file/jar URI of the Spark application. Exactly one of the definition_body field and the main_file_uri field must be set for Python. Exactly one of main_class and main_file_uri field should be set for Java/Scala language type.
        Returns:
        value or null for none
      • setMainFileUri

        public SparkOptions setMainFileUri(String mainFileUri)
        The main file/jar URI of the Spark application. Exactly one of the definition_body field and the main_file_uri field must be set for Python. Exactly one of main_class and main_file_uri field should be set for Java/Scala language type.
        Parameters:
        mainFileUri - mainFileUri or null for none
      • getProperties

        public Map<String,String> getProperties()
        Configuration properties as a set of key/value pairs, which will be passed on to the Spark application. For more information, see [Apache Spark](https://spark.apache.org/docs/latest/index.html) and the [procedure option list](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition- language#procedure_option_list).
        Returns:
        value or null for none
      • setProperties

        public SparkOptions setProperties(Map<String,String> properties)
        Configuration properties as a set of key/value pairs, which will be passed on to the Spark application. For more information, see [Apache Spark](https://spark.apache.org/docs/latest/index.html) and the [procedure option list](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition- language#procedure_option_list).
        Parameters:
        properties - properties or null for none
      • getPyFileUris

        public List<String> getPyFileUris()
        Python files to be placed on the PYTHONPATH for PySpark application. Supported file types: `.py`, `.egg`, and `.zip`. For more information about Apache Spark, see [Apache Spark](https://spark.apache.org/docs/latest/index.html).
        Returns:
        value or null for none
      • setPyFileUris

        public SparkOptions setPyFileUris(List<String> pyFileUris)
        Python files to be placed on the PYTHONPATH for PySpark application. Supported file types: `.py`, `.egg`, and `.zip`. For more information about Apache Spark, see [Apache Spark](https://spark.apache.org/docs/latest/index.html).
        Parameters:
        pyFileUris - pyFileUris or null for none
      • getRuntimeVersion

        public String getRuntimeVersion()
        Runtime version. If not specified, the default runtime version is used.
        Returns:
        value or null for none
      • setRuntimeVersion

        public SparkOptions setRuntimeVersion(String runtimeVersion)
        Runtime version. If not specified, the default runtime version is used.
        Parameters:
        runtimeVersion - runtimeVersion or null for none
      • set

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

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