Interface GetQueryResultsRequest.Builder
- All Superinterfaces:
AthenaRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<GetQueryResultsRequest.Builder,,GetQueryResultsRequest> SdkBuilder<GetQueryResultsRequest.Builder,,GetQueryResultsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
- GetQueryResultsRequest
-
Method Summary
Modifier and TypeMethodDescriptionmaxResults(Integer maxResults) The maximum number of results (rows) to return in this request.A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) queryExecutionId(String queryExecutionId) The unique ID of the query execution.queryResultType(String queryResultType) When you set this toDATA_ROWSor empty,GetQueryResultsreturns the query results in rows.queryResultType(QueryResultType queryResultType) When you set this toDATA_ROWSor empty,GetQueryResultsreturns the query results in rows.Methods inherited from interface software.amazon.awssdk.services.athena.model.AthenaRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods 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, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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.
-
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
When you set this to
DATA_ROWSor empty,GetQueryResultsreturns the query results in rows. If set toDATA_MANIFEST, it returns the manifest file in rows. Only the query typesCREATE TABLE AS SELECT,UNLOAD, andINSERTcan generate a manifest file. If you useDATA_MANIFESTfor other query types, the query will fail.- Parameters:
queryResultType- When you set this toDATA_ROWSor empty,GetQueryResultsreturns the query results in rows. If set toDATA_MANIFEST, it returns the manifest file in rows. Only the query typesCREATE TABLE AS SELECT,UNLOAD, andINSERTcan generate a manifest file. If you useDATA_MANIFESTfor 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
When you set this to
DATA_ROWSor empty,GetQueryResultsreturns the query results in rows. If set toDATA_MANIFEST, it returns the manifest file in rows. Only the query typesCREATE TABLE AS SELECT,UNLOAD, andINSERTcan generate a manifest file. If you useDATA_MANIFESTfor other query types, the query will fail.- Parameters:
queryResultType- When you set this toDATA_ROWSor empty,GetQueryResultsreturns the query results in rows. If set toDATA_MANIFEST, it returns the manifest file in rows. Only the query typesCREATE TABLE AS SELECT,UNLOAD, andINSERTcan generate a manifest file. If you useDATA_MANIFESTfor 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) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
GetQueryResultsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-