Reference documentation and code samples for the Google Cloud Dataproc V1 Client class SparkSqlBatch.
A configuration for running Apache Spark SQL queries as a batch workload.
Generated from protobuf message google.cloud.dataproc.v1.SparkSqlBatch
Namespace
Google \ Cloud \ Dataproc \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ query_file_uri
string
Required. The HCFS URI of the script that contains Spark SQL queries to execute.
↳ query_variables
array| Google\Protobuf\Internal\MapField
Optional. Mapping of query variable names to values (equivalent to the Spark SQL command: SET name="value";
).
↳ jar_file_uris
array
Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH.
getQueryFileUri
Required. The HCFS URI of the script that contains Spark SQL queries to execute.
string
setQueryFileUri
Required. The HCFS URI of the script that contains Spark SQL queries to execute.
var
string
$this
getQueryVariables
Optional. Mapping of query variable names to values (equivalent to the
Spark SQL command: SET name="value";
).
setQueryVariables
Optional. Mapping of query variable names to values (equivalent to the
Spark SQL command: SET name="value";
).
$this
getJarFileUris
Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH.
setJarFileUris
Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH.
var
string[]
$this