TaskSpark constructor

const TaskSpark({
  1. Input<List<String>?>? archiveUris,
  2. Input<List<String>?>? fileUris,
  3. Input<TaskSparkInfrastructureSpec?>? infrastructureSpec,
  4. Input<String?>? mainClass,
  5. Input<String?>? mainJarFileUri,
  6. Input<String?>? pythonScriptFile,
  7. Input<String?>? sqlScript,
  8. Input<String?>? sqlScriptFile,
})

Creates a new TaskSpark. archiveUris 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. fileUris Cloud Storage URIs of files to be placed in the working directory of each executor. infrastructureSpec Infrastructure specification for the execution. 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 jar_file_uris. The execution args are passed in as a sequence of named process arguments (--key=value). mainJarFileUri 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). pythonScriptFile 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). sqlScript The query text. The execution args are used to declare a set of script variables (set key='value';). sqlScriptFile 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';).

Implementation

const TaskSpark({
  this.archiveUris,
  this.fileUris,
  this.infrastructureSpec,
  this.mainClass,
  this.mainJarFileUri,
  this.pythonScriptFile,
  this.sqlScript,
  this.sqlScriptFile,
});