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 Summary
Modifier and TypeMethodDescriptionA token generated by the Athena service that specifies where to continue pagination if a previous request was truncated.default GetQueryResultsResponse.BuilderresultSet(Consumer<ResultSet.Builder> resultSet) The results of the query execution.The results of the query execution.updateCount(Long updateCount) The number of rows inserted with aCREATE TABLE AS SELECTstatement.Methods inherited from interface software.amazon.awssdk.services.athena.model.AthenaResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
updateCount
The number of rows inserted with a
CREATE TABLE AS SELECTstatement.- Parameters:
updateCount- The number of rows inserted with aCREATE TABLE AS SELECTstatement.- 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 theResultSet.Builderavoiding the need to create one manually viaResultSet.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresultSet(ResultSet).- Parameters:
resultSet- a consumer that will call methods onResultSet.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
NextTokenfrom 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 theNextTokenfrom the response object of the previous page call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-