Class: Google::Cloud::Dataproc::V1::PrestoJob
- Inherits:
-
Object
- Object
- Google::Cloud::Dataproc::V1::PrestoJob
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dataproc/v1/jobs.rb
Overview
A Dataproc job for running Presto queries. IMPORTANT: The Dataproc Presto Optional Component must be enabled when the cluster is created to submit a Presto job to the cluster.
Defined Under Namespace
Classes: PropertiesEntry
Instance Attribute Summary collapse
-
#client_tags ⇒ ::Array<::String>
Optional.
-
#continue_on_failure ⇒ ::Boolean
Optional.
-
#logging_config ⇒ ::Google::Cloud::Dataproc::V1::LoggingConfig
Optional.
-
#output_format ⇒ ::String
Optional.
-
#properties ⇒ ::Google::Protobuf::Map{::String => ::String}
Optional.
-
#query_file_uri ⇒ ::String
The HCFS URI of the script that contains SQL queries.
-
#query_list ⇒ ::Google::Cloud::Dataproc::V1::QueryList
A list of queries.
Instance Attribute Details
#client_tags ⇒ ::Array<::String>
Returns Optional. Presto client tags to attach to this query.
488 489 490 491 492 493 494 495 496 497 498 499 500 |
# File 'proto_docs/google/cloud/dataproc/v1/jobs.rb', line 488 class PrestoJob include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class PropertiesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#continue_on_failure ⇒ ::Boolean
Returns Optional. Whether to continue executing queries if a query fails.
The default value is false
. Setting to true
can be useful when
executing independent parallel queries.
488 489 490 491 492 493 494 495 496 497 498 499 500 |
# File 'proto_docs/google/cloud/dataproc/v1/jobs.rb', line 488 class PrestoJob include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class PropertiesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#logging_config ⇒ ::Google::Cloud::Dataproc::V1::LoggingConfig
Returns Optional. The runtime log config for job execution.
488 489 490 491 492 493 494 495 496 497 498 499 500 |
# File 'proto_docs/google/cloud/dataproc/v1/jobs.rb', line 488 class PrestoJob include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class PropertiesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#output_format ⇒ ::String
Returns Optional. The format in which query output will be displayed. See the Presto documentation for supported output formats.
488 489 490 491 492 493 494 495 496 497 498 499 500 |
# File 'proto_docs/google/cloud/dataproc/v1/jobs.rb', line 488 class PrestoJob include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class PropertiesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#properties ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns Optional. A mapping of property names to values. Used to set Presto session properties Equivalent to using the --session flag in the Presto CLI.
488 489 490 491 492 493 494 495 496 497 498 499 500 |
# File 'proto_docs/google/cloud/dataproc/v1/jobs.rb', line 488 class PrestoJob include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class PropertiesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#query_file_uri ⇒ ::String
Returns The HCFS URI of the script that contains SQL queries.
488 489 490 491 492 493 494 495 496 497 498 499 500 |
# File 'proto_docs/google/cloud/dataproc/v1/jobs.rb', line 488 class PrestoJob include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class PropertiesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#query_list ⇒ ::Google::Cloud::Dataproc::V1::QueryList
Returns A list of queries.
488 489 490 491 492 493 494 495 496 497 498 499 500 |
# File 'proto_docs/google/cloud/dataproc/v1/jobs.rb', line 488 class PrestoJob include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class PropertiesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |