#[non_exhaustive]pub enum Driver {
MainJarFileUri(String),
MainClass(String),
PythonScriptFile(String),
SqlScriptFile(String),
SqlScript(String),
}Expand description
Required. The specification of the main method to call to drive the job. Specify either the jar file that contains the main class or the main class name.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
MainJarFileUri(String)
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).
MainClass(String)
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).
PythonScriptFile(String)
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).
SqlScriptFile(String)
A reference to a query file. This should be the Cloud Storage URI of
the query file. The execution args are used to declare a set of script
variables (set key="value";).
SqlScript(String)
The query text.
The execution args are used to declare a set of script variables
(set key="value";).