TaskSparkArgs

data class TaskSparkArgs(val archiveUris: Output<List<String>>? = null, val fileUris: Output<List<String>>? = null, val infrastructureSpec: Output<TaskSparkInfrastructureSpecArgs>? = null, val mainClass: Output<String>? = null, val mainJarFileUri: Output<String>? = null, val pythonScriptFile: Output<String>? = null, val sqlScript: Output<String>? = null, val sqlScriptFile: Output<String>? = null) : ConvertibleToJava<TaskSparkArgs>

Constructors

Link copied to clipboard
constructor(archiveUris: Output<List<String>>? = null, fileUris: Output<List<String>>? = null, infrastructureSpec: Output<TaskSparkInfrastructureSpecArgs>? = null, mainClass: Output<String>? = null, mainJarFileUri: Output<String>? = null, pythonScriptFile: Output<String>? = null, sqlScript: Output<String>? = null, sqlScriptFile: Output<String>? = null)

Properties

Link copied to clipboard
val archiveUris: Output<List<String>>? = null

Cloud Storage URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.

Link copied to clipboard
val fileUris: Output<List<String>>? = null

Cloud Storage URIs of files to be placed in the working directory of each executor.

Link copied to clipboard

Infrastructure specification for the execution. Structure is documented below.

Link copied to clipboard
val mainClass: Output<String>? = null

The name of the driver's main class. The jar file that contains the class must be in the default CLASSPATH or specified in jar_file_uris. The execution args are passed in as a sequence of named process arguments (--key=value).

Link copied to clipboard
val mainJarFileUri: Output<String>? = null

The Cloud Storage URI of the jar file that contains the main class. The execution args are passed in as a sequence of named process arguments (--key=value).

Link copied to clipboard
val pythonScriptFile: Output<String>? = null

The Gcloud Storage URI of the main Python file to use as the driver. Must be a .py file. The execution args are passed in as a sequence of named process arguments (--key=value).

Link copied to clipboard
val sqlScript: Output<String>? = null

The query text. The execution args are used to declare a set of script variables (set key='value';).

Link copied to clipboard
val sqlScriptFile: Output<String>? = null

A reference to a query file. This can be the Cloud Storage URI of the query file or it can the path to a SqlScript Content. The execution args are used to declare a set of script variables (set key='value';).

Functions

Link copied to clipboard
open override fun toJava(): TaskSparkArgs