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_ROWS
or empty,GetQueryResults
returns the query results in rows.queryResultType
(QueryResultType queryResultType) When you set this toDATA_ROWS
or empty,GetQueryResults
returns the query results in rows.Methods inherited from interface software.amazon.awssdk.services.athena.model.AthenaRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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
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 theNextToken
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
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_ROWS
or empty,GetQueryResults
returns the query results in rows. If set toDATA_MANIFEST
, it returns the manifest file in rows. Only the query typesCREATE TABLE AS SELECT
,UNLOAD
, andINSERT
can generate a manifest file. If you useDATA_MANIFEST
for other query types, the query will fail.- Parameters:
queryResultType
- When you set this toDATA_ROWS
or empty,GetQueryResults
returns the query results in rows. If set toDATA_MANIFEST
, it returns the manifest file in rows. Only the query typesCREATE TABLE AS SELECT
,UNLOAD
, andINSERT
can generate a manifest file. If you useDATA_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
When you set this to
DATA_ROWS
or empty,GetQueryResults
returns the query results in rows. If set toDATA_MANIFEST
, it returns the manifest file in rows. Only the query typesCREATE TABLE AS SELECT
,UNLOAD
, andINSERT
can generate a manifest file. If you useDATA_MANIFEST
for other query types, the query will fail.- Parameters:
queryResultType
- When you set this toDATA_ROWS
or empty,GetQueryResults
returns the query results in rows. If set toDATA_MANIFEST
, it returns the manifest file in rows. Only the query typesCREATE TABLE AS SELECT
,UNLOAD
, andINSERT
can generate a manifest file. If you useDATA_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 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-