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

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

The newest version!






SparkRBatch (Cloud Dataproc API v1-rev20241025-2.0.0)












com.google.api.services.dataproc.model

Class SparkRBatch

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


    public final class SparkRBatch
    extends com.google.api.client.json.GenericJson
    A configuration for running an Apache SparkR (https://spark.apache.org/docs/latest/sparkr.html) 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

      • SparkRBatch

        public SparkRBatch()
    • Method Detail

      • getArchiveUris

        public List<String> getArchiveUris()
        Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.
        Returns:
        value or null for none
      • setArchiveUris

        public SparkRBatch setArchiveUris(List<String> archiveUris)
        Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.
        Parameters:
        archiveUris - archiveUris or null for none
      • getArgs

        public List<String> getArgs()
        Optional. The arguments to pass to the Spark driver. Do not include arguments that can be set as batch properties, such as --conf, since a collision can occur that causes an incorrect batch submission.
        Returns:
        value or null for none
      • setArgs

        public SparkRBatch setArgs(List<String> args)
        Optional. The arguments to pass to the Spark driver. Do not include arguments that can be set as batch properties, such as --conf, since a collision can occur that causes an incorrect batch submission.
        Parameters:
        args - args or null for none
      • getFileUris

        public List<String> getFileUris()
        Optional. HCFS URIs of files to be placed in the working directory of each executor.
        Returns:
        value or null for none
      • setFileUris

        public SparkRBatch setFileUris(List<String> fileUris)
        Optional. HCFS URIs of files to be placed in the working directory of each executor.
        Parameters:
        fileUris - fileUris or null for none
      • getMainRFileUri

        public String getMainRFileUri()
        Required. The HCFS URI of the main R file to use as the driver. Must be a .R or .r file.
        Returns:
        value or null for none
      • setMainRFileUri

        public SparkRBatch setMainRFileUri(String mainRFileUri)
        Required. The HCFS URI of the main R file to use as the driver. Must be a .R or .r file.
        Parameters:
        mainRFileUri - mainRFileUri or null for none
      • set

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

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