Interface QueryExecutionStatistics.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<QueryExecutionStatistics.Builder,
,QueryExecutionStatistics> SdkBuilder<QueryExecutionStatistics.Builder,
,QueryExecutionStatistics> SdkPojo
- Enclosing class:
QueryExecutionStatistics
-
Method Summary
Modifier and TypeMethodDescriptiondataManifestLocation
(String dataManifestLocation) The location and file name of a data manifest file.dataScannedInBytes
(Long dataScannedInBytes) The number of bytes in the data that was queried.engineExecutionTimeInMillis
(Long engineExecutionTimeInMillis) The number of milliseconds that the query took to execute.queryPlanningTimeInMillis
(Long queryPlanningTimeInMillis) The number of milliseconds that Athena took to plan the query processing flow.queryQueueTimeInMillis
(Long queryQueueTimeInMillis) The number of milliseconds that the query was in your query queue waiting for resources.default QueryExecutionStatistics.Builder
resultReuseInformation
(Consumer<ResultReuseInformation.Builder> resultReuseInformation) Contains information about whether previous query results were reused for the query.resultReuseInformation
(ResultReuseInformation resultReuseInformation) Contains information about whether previous query results were reused for the query.servicePreProcessingTimeInMillis
(Long servicePreProcessingTimeInMillis) The number of milliseconds that Athena took to preprocess the query before submitting the query to the query engine.serviceProcessingTimeInMillis
(Long serviceProcessingTimeInMillis) The number of milliseconds that Athena took to finalize and publish the query results after the query engine finished running the query.totalExecutionTimeInMillis
(Long totalExecutionTimeInMillis) The number of milliseconds that Athena took to run the query.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, sdkFields
-
Method Details
-
engineExecutionTimeInMillis
The number of milliseconds that the query took to execute.
- Parameters:
engineExecutionTimeInMillis
- The number of milliseconds that the query took to execute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataScannedInBytes
The number of bytes in the data that was queried.
- Parameters:
dataScannedInBytes
- The number of bytes in the data that was queried.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataManifestLocation
The location and file name of a data manifest file. The manifest file is saved to the Athena query results location in Amazon S3. The manifest file tracks files that the query wrote to Amazon S3. If the query fails, the manifest file also tracks files that the query intended to write. The manifest is useful for identifying orphaned files resulting from a failed query. For more information, see Working with Query Results, Output Files, and Query History in the Amazon Athena User Guide.
- Parameters:
dataManifestLocation
- The location and file name of a data manifest file. The manifest file is saved to the Athena query results location in Amazon S3. The manifest file tracks files that the query wrote to Amazon S3. If the query fails, the manifest file also tracks files that the query intended to write. The manifest is useful for identifying orphaned files resulting from a failed query. For more information, see Working with Query Results, Output Files, and Query History in the Amazon Athena User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalExecutionTimeInMillis
The number of milliseconds that Athena took to run the query.
- Parameters:
totalExecutionTimeInMillis
- The number of milliseconds that Athena took to run the query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryQueueTimeInMillis
The number of milliseconds that the query was in your query queue waiting for resources. Note that if transient errors occur, Athena might automatically add the query back to the queue.
- Parameters:
queryQueueTimeInMillis
- The number of milliseconds that the query was in your query queue waiting for resources. Note that if transient errors occur, Athena might automatically add the query back to the queue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
servicePreProcessingTimeInMillis
QueryExecutionStatistics.Builder servicePreProcessingTimeInMillis(Long servicePreProcessingTimeInMillis) The number of milliseconds that Athena took to preprocess the query before submitting the query to the query engine.
- Parameters:
servicePreProcessingTimeInMillis
- The number of milliseconds that Athena took to preprocess the query before submitting the query to the query engine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryPlanningTimeInMillis
The number of milliseconds that Athena took to plan the query processing flow. This includes the time spent retrieving table partitions from the data source. Note that because the query engine performs the query planning, query planning time is a subset of engine processing time.
- Parameters:
queryPlanningTimeInMillis
- The number of milliseconds that Athena took to plan the query processing flow. This includes the time spent retrieving table partitions from the data source. Note that because the query engine performs the query planning, query planning time is a subset of engine processing time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceProcessingTimeInMillis
The number of milliseconds that Athena took to finalize and publish the query results after the query engine finished running the query.
- Parameters:
serviceProcessingTimeInMillis
- The number of milliseconds that Athena took to finalize and publish the query results after the query engine finished running the query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resultReuseInformation
QueryExecutionStatistics.Builder resultReuseInformation(ResultReuseInformation resultReuseInformation) Contains information about whether previous query results were reused for the query.
- Parameters:
resultReuseInformation
- Contains information about whether previous query results were reused for the query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resultReuseInformation
default QueryExecutionStatistics.Builder resultReuseInformation(Consumer<ResultReuseInformation.Builder> resultReuseInformation) Contains information about whether previous query results were reused for the query.
This is a convenience method that creates an instance of theResultReuseInformation.Builder
avoiding the need to create one manually viaResultReuseInformation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresultReuseInformation(ResultReuseInformation)
.- Parameters:
resultReuseInformation
- a consumer that will call methods onResultReuseInformation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-