Class: Google::Cloud::Dataproc::V1::TrinoJob
- Inherits:
-
Object
- Object
- Google::Cloud::Dataproc::V1::TrinoJob
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dataproc/v1/jobs.rb
Overview
A Dataproc job for running Trino queries. IMPORTANT: The Dataproc Trino Optional Component must be enabled when the cluster is created to submit a Trino 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. Trino client tags to attach to this query.
562 563 564 565 566 567 568 569 570 571 572 573 574 |
# File 'proto_docs/google/cloud/dataproc/v1/jobs.rb', line 562 class TrinoJob 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.
562 563 564 565 566 567 568 569 570 571 572 573 574 |
# File 'proto_docs/google/cloud/dataproc/v1/jobs.rb', line 562 class TrinoJob 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.
562 563 564 565 566 567 568 569 570 571 572 573 574 |
# File 'proto_docs/google/cloud/dataproc/v1/jobs.rb', line 562 class TrinoJob 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 Trino documentation for supported output formats.
562 563 564 565 566 567 568 569 570 571 572 573 574 |
# File 'proto_docs/google/cloud/dataproc/v1/jobs.rb', line 562 class TrinoJob 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 Trino session properties Equivalent to using the --session flag in the Trino CLI.
562 563 564 565 566 567 568 569 570 571 572 573 574 |
# File 'proto_docs/google/cloud/dataproc/v1/jobs.rb', line 562 class TrinoJob 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.
Note: The following fields are mutually exclusive: query_file_uri
, query_list
. If a field in that set is populated, all other fields in the set will automatically be cleared.
562 563 564 565 566 567 568 569 570 571 572 573 574 |
# File 'proto_docs/google/cloud/dataproc/v1/jobs.rb', line 562 class TrinoJob 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.
Note: The following fields are mutually exclusive: query_list
, query_file_uri
. If a field in that set is populated, all other fields in the set will automatically be cleared.
562 563 564 565 566 567 568 569 570 571 572 573 574 |
# File 'proto_docs/google/cloud/dataproc/v1/jobs.rb', line 562 class TrinoJob 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 |