Class: Google::Cloud::Dataproc::V1::TrinoJob

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

Instance Attribute Details

#client_tags::Array<::String>

Returns Optional. Trino client tags to attach to this query.

Returns:

  • (::Array<::String>)

    Optional. Trino client tags to attach to this query



533
534
535
536
537
538
539
540
541
542
543
544
545
# File 'proto_docs/google/cloud/dataproc/v1/jobs.rb', line 533

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.

Returns:

  • (::Boolean)

    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.



533
534
535
536
537
538
539
540
541
542
543
544
545
# File 'proto_docs/google/cloud/dataproc/v1/jobs.rb', line 533

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.

Returns:



533
534
535
536
537
538
539
540
541
542
543
544
545
# File 'proto_docs/google/cloud/dataproc/v1/jobs.rb', line 533

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.

Returns:

  • (::String)

    Optional. The format in which query output will be displayed. See the Trino documentation for supported output formats



533
534
535
536
537
538
539
540
541
542
543
544
545
# File 'proto_docs/google/cloud/dataproc/v1/jobs.rb', line 533

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.

Returns:

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

    Optional. A mapping of property names to values. Used to set Trino session properties Equivalent to using the --session flag in the Trino CLI



533
534
535
536
537
538
539
540
541
542
543
544
545
# File 'proto_docs/google/cloud/dataproc/v1/jobs.rb', line 533

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.

Returns:

  • (::String)

    The HCFS URI of the script that contains SQL queries.



533
534
535
536
537
538
539
540
541
542
543
544
545
# File 'proto_docs/google/cloud/dataproc/v1/jobs.rb', line 533

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.

Returns:



533
534
535
536
537
538
539
540
541
542
543
544
545
# File 'proto_docs/google/cloud/dataproc/v1/jobs.rb', line 533

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