Class GetQueryResultsRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetQueryResultsRequest.Builder,GetQueryResultsRequest>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final IntegerThe maximum number of results (rows) to return in this request.final StringA token generated by the Athena service that specifies where to continue pagination if a previous request was truncated.final StringThe unique ID of the query execution.final QueryResultTypeWhen you set this toDATA_ROWSor empty,GetQueryResultsreturns the query results in rows.final StringWhen you set this toDATA_ROWSor empty,GetQueryResultsreturns the query results in rows.static Class<? extends GetQueryResultsRequest.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
queryExecutionId
The unique ID of the query execution.
- Returns:
- The unique ID of the query execution.
-
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.- Returns:
- 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.
-
maxResults
The maximum number of results (rows) to return in this request.
- Returns:
- The maximum number of results (rows) to return in this request.
-
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.If the service returns an enum value that is not available in the current SDK version,
queryResultTypewill returnQueryResultType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromqueryResultTypeAsString().- Returns:
- 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. - See Also:
-
queryResultTypeAsString
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.If the service returns an enum value that is not available in the current SDK version,
queryResultTypewill returnQueryResultType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromqueryResultTypeAsString().- Returns:
- 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. - See Also:
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetQueryResultsRequest.Builder,GetQueryResultsRequest> - Specified by:
toBuilderin classAthenaRequest
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-