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

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

The newest version!






SparkJob (Cloud Dataproc API v1-rev20241025-2.0.0)












com.google.api.services.dataproc.model

Class SparkJob

    • Constructor Detail

      • SparkJob

        public SparkJob()
    • 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 SparkJob 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 driver. Do not include arguments, such as --conf, that can be set as job properties, since a collision may occur that causes an incorrect job submission.
        Returns:
        value or null for none
      • setArgs

        public SparkJob setArgs(List<String> args)
        Optional. The arguments to pass to the driver. Do not include arguments, such as --conf, that can be set as job properties, since a collision may occur that causes an incorrect job 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. Useful for naively parallel tasks.
        Returns:
        value or null for none
      • setFileUris

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

        public List<String> getJarFileUris()
        Optional. HCFS URIs of jar files to add to the CLASSPATHs of the Spark driver and tasks.
        Returns:
        value or null for none
      • setJarFileUris

        public SparkJob setJarFileUris(List<String> jarFileUris)
        Optional. HCFS URIs of jar files to add to the CLASSPATHs of the Spark driver and tasks.
        Parameters:
        jarFileUris - jarFileUris or null for none
      • getLoggingConfig

        public LoggingConfig getLoggingConfig()
        Optional. The runtime log config for job execution.
        Returns:
        value or null for none
      • setLoggingConfig

        public SparkJob setLoggingConfig(LoggingConfig loggingConfig)
        Optional. The runtime log config for job execution.
        Parameters:
        loggingConfig - loggingConfig or null for none
      • getMainClass

        public String getMainClass()
        The name of the driver's main class. The jar file that contains the class must be in the default CLASSPATH or specified in SparkJob.jar_file_uris.
        Returns:
        value or null for none
      • setMainClass

        public SparkJob setMainClass(String mainClass)
        The name of the driver's main class. The jar file that contains the class must be in the default CLASSPATH or specified in SparkJob.jar_file_uris.
        Parameters:
        mainClass - mainClass or null for none
      • getMainJarFileUri

        public String getMainJarFileUri()
        The HCFS URI of the jar file that contains the main class.
        Returns:
        value or null for none
      • setMainJarFileUri

        public SparkJob setMainJarFileUri(String mainJarFileUri)
        The HCFS URI of the jar file that contains the main class.
        Parameters:
        mainJarFileUri - mainJarFileUri or null for none
      • getProperties

        public Map<String,String> getProperties()
        Optional. A mapping of property names to values, used to configure Spark. Properties that conflict with values set by the Dataproc API might be overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf and classes in user code.
        Returns:
        value or null for none
      • setProperties

        public SparkJob setProperties(Map<String,String> properties)
        Optional. A mapping of property names to values, used to configure Spark. Properties that conflict with values set by the Dataproc API might be overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf and classes in user code.
        Parameters:
        properties - properties or null for none
      • set

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

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