Class: Google::Cloud::Dataproc::V1::PrestoJob

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 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

Instance Attribute Details

#client_tags::Array<::String>

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

Returns:

  • (::Array<::String>)

    Optional. Presto client tags to attach to this query



513
514
515
516
517
518
519
520
521
522
523
524
525
# File 'proto_docs/google/cloud/dataproc/v1/jobs.rb', line 513

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.

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.



513
514
515
516
517
518
519
520
521
522
523
524
525
# File 'proto_docs/google/cloud/dataproc/v1/jobs.rb', line 513

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.

Returns:



513
514
515
516
517
518
519
520
521
522
523
524
525
# File 'proto_docs/google/cloud/dataproc/v1/jobs.rb', line 513

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.

Returns:

  • (::String)

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



513
514
515
516
517
518
519
520
521
522
523
524
525
# File 'proto_docs/google/cloud/dataproc/v1/jobs.rb', line 513

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.

Returns:

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

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



513
514
515
516
517
518
519
520
521
522
523
524
525
# File 'proto_docs/google/cloud/dataproc/v1/jobs.rb', line 513

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.

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.

Returns:

  • (::String)

    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.



513
514
515
516
517
518
519
520
521
522
523
524
525
# File 'proto_docs/google/cloud/dataproc/v1/jobs.rb', line 513

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.

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.

Returns:

  • (::Google::Cloud::Dataproc::V1::QueryList)

    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.



513
514
515
516
517
518
519
520
521
522
523
524
525
# File 'proto_docs/google/cloud/dataproc/v1/jobs.rb', line 513

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