Class: Google::Cloud::Dataproc::V1::SparkSqlBatch
- Inherits:
-
Object
- Object
- Google::Cloud::Dataproc::V1::SparkSqlBatch
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dataproc/v1/batches.rb
Overview
A configuration for running Apache Spark SQL queries as a batch workload.
Defined Under Namespace
Classes: QueryVariablesEntry
Instance Attribute Summary collapse
-
#jar_file_uris ⇒ ::Array<::String>
Optional.
-
#query_file_uri ⇒ ::String
Required.
-
#query_variables ⇒ ::Google::Protobuf::Map{::String => ::String}
Optional.
Instance Attribute Details
#jar_file_uris ⇒ ::Array<::String>
Returns Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH.
351 352 353 354 355 356 357 358 359 360 361 362 363 |
# File 'proto_docs/google/cloud/dataproc/v1/batches.rb', line 351 class SparkSqlBatch include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class QueryVariablesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#query_file_uri ⇒ ::String
Returns Required. The HCFS URI of the script that contains Spark SQL queries to execute.
351 352 353 354 355 356 357 358 359 360 361 362 363 |
# File 'proto_docs/google/cloud/dataproc/v1/batches.rb', line 351 class SparkSqlBatch include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class QueryVariablesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#query_variables ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns Optional. Mapping of query variable names to values (equivalent to the
Spark SQL command: SET name="value";
).
351 352 353 354 355 356 357 358 359 360 361 362 363 |
# File 'proto_docs/google/cloud/dataproc/v1/batches.rb', line 351 class SparkSqlBatch include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class QueryVariablesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |