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) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetQueryResultsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-