Cloud Dataproc V1 API - Class Google::Cloud::Dataproc::V1::QueryList (v1.0.0)

Reference documentation and code samples for the Cloud Dataproc V1 API class Google::Cloud::Dataproc::V1::QueryList.

A list of queries to run on a cluster.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#queries

def queries() -> ::Array<::String>
Returns
  • (::Array<::String>) —

    Required. The queries to execute. You do not need to end a query expression with a semicolon. Multiple queries can be specified in one string by separating each with a semicolon. Here is an example of a Dataproc API snippet that uses a QueryList to specify a HiveJob:

    "hiveJob": {
      "queryList": {
        "queries": [
          "query1",
          "query2",
          "query3;query4",
        ]
      }
    }
    

#queries=

def queries=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) —

    Required. The queries to execute. You do not need to end a query expression with a semicolon. Multiple queries can be specified in one string by separating each with a semicolon. Here is an example of a Dataproc API snippet that uses a QueryList to specify a HiveJob:

    "hiveJob": {
      "queryList": {
        "queries": [
          "query1",
          "query2",
          "query3;query4",
        ]
      }
    }
    
Returns
  • (::Array<::String>) —

    Required. The queries to execute. You do not need to end a query expression with a semicolon. Multiple queries can be specified in one string by separating each with a semicolon. Here is an example of a Dataproc API snippet that uses a QueryList to specify a HiveJob:

    "hiveJob": {
      "queryList": {
        "queries": [
          "query1",
          "query2",
          "query3;query4",
        ]
      }
    }