Class: Google::Cloud::Dataproc::V1::SparkSqlBatch

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#jar_file_uris::Array<::String>

Returns Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH.

Returns:

  • (::Array<::String>)

    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.

Returns:

  • (::String)

    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";).

Returns:

  • (::Google::Protobuf::Map{::String => ::String})

    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