Trait tidb_query_common::execute_stats::ExecSummaryCollector [−][src]
A trait for all execution summary collectors.
Associated Types
Loading content...Required methods
fn new(output_index: usize) -> Self where
Self: Sized,
[src]
Self: Sized,
Creates a new instance with specified output slot index.
fn on_start_iterate(&mut self) -> Self::DurationRecorder
[src]
Returns an instance that will record elapsed duration and increase
the iterations counter. The instance should be later passed back to
on_finish_iterate
when processing of next_batch
is completed.
fn on_finish_iterate(&mut self, dr: Self::DurationRecorder, rows: usize)
[src]
fn collect(&mut self, target: &mut [ExecSummary])
[src]
Takes and appends current execution summary into target
.