#[non_exhaustive]pub struct QueryRuntimeStatisticsBuilder { /* private fields */ }Expand description
A builder for QueryRuntimeStatistics.
Implementations§
source§impl QueryRuntimeStatisticsBuilder
impl QueryRuntimeStatisticsBuilder
sourcepub fn timeline(self, input: QueryRuntimeStatisticsTimeline) -> Self
pub fn timeline(self, input: QueryRuntimeStatisticsTimeline) -> Self
Timeline statistics such as query queue time, planning time, execution time, service processing time, and total execution time.
sourcepub fn set_timeline(self, input: Option<QueryRuntimeStatisticsTimeline>) -> Self
pub fn set_timeline(self, input: Option<QueryRuntimeStatisticsTimeline>) -> Self
Timeline statistics such as query queue time, planning time, execution time, service processing time, and total execution time.
sourcepub fn get_timeline(&self) -> &Option<QueryRuntimeStatisticsTimeline>
pub fn get_timeline(&self) -> &Option<QueryRuntimeStatisticsTimeline>
Timeline statistics such as query queue time, planning time, execution time, service processing time, and total execution time.
sourcepub fn rows(self, input: QueryRuntimeStatisticsRows) -> Self
pub fn rows(self, input: QueryRuntimeStatisticsRows) -> Self
Statistics such as input rows and bytes read by the query, rows and bytes output by the query, and the number of rows written by the query.
sourcepub fn set_rows(self, input: Option<QueryRuntimeStatisticsRows>) -> Self
pub fn set_rows(self, input: Option<QueryRuntimeStatisticsRows>) -> Self
Statistics such as input rows and bytes read by the query, rows and bytes output by the query, and the number of rows written by the query.
sourcepub fn get_rows(&self) -> &Option<QueryRuntimeStatisticsRows>
pub fn get_rows(&self) -> &Option<QueryRuntimeStatisticsRows>
Statistics such as input rows and bytes read by the query, rows and bytes output by the query, and the number of rows written by the query.
sourcepub fn output_stage(self, input: QueryStage) -> Self
pub fn output_stage(self, input: QueryStage) -> Self
Stage statistics such as input and output rows and bytes, execution time, and stage state. This information also includes substages and the query stage plan.
sourcepub fn set_output_stage(self, input: Option<QueryStage>) -> Self
pub fn set_output_stage(self, input: Option<QueryStage>) -> Self
Stage statistics such as input and output rows and bytes, execution time, and stage state. This information also includes substages and the query stage plan.
sourcepub fn get_output_stage(&self) -> &Option<QueryStage>
pub fn get_output_stage(&self) -> &Option<QueryStage>
Stage statistics such as input and output rows and bytes, execution time, and stage state. This information also includes substages and the query stage plan.
sourcepub fn build(self) -> QueryRuntimeStatistics
pub fn build(self) -> QueryRuntimeStatistics
Consumes the builder and constructs a QueryRuntimeStatistics.
Trait Implementations§
source§impl Clone for QueryRuntimeStatisticsBuilder
impl Clone for QueryRuntimeStatisticsBuilder
source§fn clone(&self) -> QueryRuntimeStatisticsBuilder
fn clone(&self) -> QueryRuntimeStatisticsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for QueryRuntimeStatisticsBuilder
impl Default for QueryRuntimeStatisticsBuilder
source§fn default() -> QueryRuntimeStatisticsBuilder
fn default() -> QueryRuntimeStatisticsBuilder
source§impl PartialEq for QueryRuntimeStatisticsBuilder
impl PartialEq for QueryRuntimeStatisticsBuilder
source§fn eq(&self, other: &QueryRuntimeStatisticsBuilder) -> bool
fn eq(&self, other: &QueryRuntimeStatisticsBuilder) -> bool
self and other values to be equal, and is used
by ==.