Interface GetQueryResultsResponse.Builder

All Superinterfaces:
AthenaResponse.Builder, AwsResponse.Builder, Buildable, CopyableBuilder<GetQueryResultsResponse.Builder,GetQueryResultsResponse>, SdkBuilder<GetQueryResultsResponse.Builder,GetQueryResultsResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
GetQueryResultsResponse

public static interface GetQueryResultsResponse.Builder extends AthenaResponse.Builder, SdkPojo, CopyableBuilder<GetQueryResultsResponse.Builder,GetQueryResultsResponse>
  • Method Details

    • updateCount

      GetQueryResultsResponse.Builder updateCount(Long updateCount)

      The number of rows inserted with a CREATE TABLE AS SELECT statement.

      Parameters:
      updateCount - The number of rows inserted with a CREATE TABLE AS SELECT statement.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resultSet

      The results of the query execution.

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

      The results of the query execution.

      This is a convenience method that creates an instance of the ResultSet.Builder avoiding the need to create one manually via ResultSet.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to resultSet(ResultSet).

      Parameters:
      resultSet - a consumer that will call methods on ResultSet.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.