Interface GetQueryResultsRequest.Builder

  • Method Details

    • queryExecutionId

      GetQueryResultsRequest.Builder queryExecutionId(String queryExecutionId)

      The unique ID of the query execution.

      Parameters:
      queryExecutionId - The unique ID of the query execution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      GetQueryResultsRequest.Builder nextToken(String nextToken)

      A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the NextToken from the response object of the previous page call.

      Parameters:
      nextToken - A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the NextToken from the response object of the previous page call.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxResults

      GetQueryResultsRequest.Builder maxResults(Integer maxResults)

      The maximum number of results (rows) to return in this request.

      Parameters:
      maxResults - The maximum number of results (rows) to return in this request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • queryResultType

      GetQueryResultsRequest.Builder queryResultType(String queryResultType)

      When you set this to DATA_ROWS or empty, GetQueryResults returns the query results in rows. If set to DATA_MANIFEST, it returns the manifest file in rows. Only the query types CREATE TABLE AS SELECT, UNLOAD, and INSERT can generate a manifest file. If you use DATA_MANIFEST for other query types, the query will fail.

      Parameters:
      queryResultType - When you set this to DATA_ROWS or empty, GetQueryResults returns the query results in rows. If set to DATA_MANIFEST, it returns the manifest file in rows. Only the query types CREATE TABLE AS SELECT, UNLOAD, and INSERT can generate a manifest file. If you use DATA_MANIFEST for other query types, the query will fail.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • queryResultType

      GetQueryResultsRequest.Builder queryResultType(QueryResultType queryResultType)

      When you set this to DATA_ROWS or empty, GetQueryResults returns the query results in rows. If set to DATA_MANIFEST, it returns the manifest file in rows. Only the query types CREATE TABLE AS SELECT, UNLOAD, and INSERT can generate a manifest file. If you use DATA_MANIFEST for other query types, the query will fail.

      Parameters:
      queryResultType - When you set this to DATA_ROWS or empty, GetQueryResults returns the query results in rows. If set to DATA_MANIFEST, it returns the manifest file in rows. Only the query types CREATE TABLE AS SELECT, UNLOAD, and INSERT can generate a manifest file. If you use DATA_MANIFEST for other query types, the query will fail.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      GetQueryResultsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.