Struct aws_sdk_athena::model::query_execution_statistics::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for QueryExecutionStatistics
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn engine_execution_time_in_millis(self, input: i64) -> Self
pub fn engine_execution_time_in_millis(self, input: i64) -> Self
The number of milliseconds that the query took to execute.
sourcepub fn set_engine_execution_time_in_millis(self, input: Option<i64>) -> Self
pub fn set_engine_execution_time_in_millis(self, input: Option<i64>) -> Self
The number of milliseconds that the query took to execute.
sourcepub fn data_scanned_in_bytes(self, input: i64) -> Self
pub fn data_scanned_in_bytes(self, input: i64) -> Self
The number of bytes in the data that was queried.
sourcepub fn set_data_scanned_in_bytes(self, input: Option<i64>) -> Self
pub fn set_data_scanned_in_bytes(self, input: Option<i64>) -> Self
The number of bytes in the data that was queried.
sourcepub fn data_manifest_location(self, input: impl Into<String>) -> Self
pub fn data_manifest_location(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_data_manifest_location(self, input: Option<String>) -> Self
pub fn set_data_manifest_location(self, input: Option<String>) -> Self
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.
sourcepub fn total_execution_time_in_millis(self, input: i64) -> Self
pub fn total_execution_time_in_millis(self, input: i64) -> Self
The number of milliseconds that Athena took to run the query.
sourcepub fn set_total_execution_time_in_millis(self, input: Option<i64>) -> Self
pub fn set_total_execution_time_in_millis(self, input: Option<i64>) -> Self
The number of milliseconds that Athena took to run the query.
sourcepub fn query_queue_time_in_millis(self, input: i64) -> Self
pub fn query_queue_time_in_millis(self, input: i64) -> Self
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.
sourcepub fn set_query_queue_time_in_millis(self, input: Option<i64>) -> Self
pub fn set_query_queue_time_in_millis(self, input: Option<i64>) -> Self
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.
sourcepub fn query_planning_time_in_millis(self, input: i64) -> Self
pub fn query_planning_time_in_millis(self, input: i64) -> Self
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.
sourcepub fn set_query_planning_time_in_millis(self, input: Option<i64>) -> Self
pub fn set_query_planning_time_in_millis(self, input: Option<i64>) -> Self
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.
sourcepub fn service_processing_time_in_millis(self, input: i64) -> Self
pub fn service_processing_time_in_millis(self, input: i64) -> Self
The number of milliseconds that Athena took to finalize and publish the query results after the query engine finished running the query.
sourcepub fn set_service_processing_time_in_millis(self, input: Option<i64>) -> Self
pub fn set_service_processing_time_in_millis(self, input: Option<i64>) -> Self
The number of milliseconds that Athena took to finalize and publish the query results after the query engine finished running the query.
sourcepub fn result_reuse_information(self, input: ResultReuseInformation) -> Self
pub fn result_reuse_information(self, input: ResultReuseInformation) -> Self
Contains information about whether previous query results were reused for the query.
sourcepub fn set_result_reuse_information(
self,
input: Option<ResultReuseInformation>
) -> Self
pub fn set_result_reuse_information( self, input: Option<ResultReuseInformation> ) -> Self
Contains information about whether previous query results were reused for the query.
sourcepub fn build(self) -> QueryExecutionStatistics
pub fn build(self) -> QueryExecutionStatistics
Consumes the builder and constructs a QueryExecutionStatistics
.