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
Methods
__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.
Generated from protobuf field string query_file_uri = 1 [(.google.api.field_behavior) = REQUIRED];
string
setQueryFileUri
Required. The HCFS URI of the script that contains Spark SQL queries to execute.
Generated from protobuf field string query_file_uri = 1 [(.google.api.field_behavior) = REQUIRED];
var
string
$this
getQueryVariables
Optional. Mapping of query variable names to values (equivalent to the
Spark SQL command: SET name="value";
).
Generated from protobuf field map<string, string> query_variables = 2 [(.google.api.field_behavior) = OPTIONAL];
Google\Protobuf\Internal\MapField
setQueryVariables
Optional. Mapping of query variable names to values (equivalent to the
Spark SQL command: SET name="value";
).
Generated from protobuf field map<string, string> query_variables = 2 [(.google.api.field_behavior) = OPTIONAL];
var
array|Google\Protobuf\Internal\MapField
$this
getJarFileUris
Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH.
Generated from protobuf field repeated string jar_file_uris = 3 [(.google.api.field_behavior) = OPTIONAL];
Google\Protobuf\Internal\RepeatedField
setJarFileUris
Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH.
Generated from protobuf field repeated string jar_file_uris = 3 [(.google.api.field_behavior) = OPTIONAL];
var
string[]
$this

