pub(super) struct SortMergeJoinMetrics {
join_time: Time,
input_batches: Count,
input_rows: Count,
output_batches: Count,
baseline_metrics: BaselineMetrics,
peak_mem_used: Gauge,
spill_metrics: SpillMetrics,
}Expand description
Metrics for SortMergeJoinExec
Fields§
§join_time: TimeTotal time for joining probe-side batches to the build-side batches
input_batches: CountNumber of batches consumed by this operator
input_rows: CountNumber of rows consumed by this operator
output_batches: CountNumber of batches produced by this operator
baseline_metrics: BaselineMetricsExecution metrics
peak_mem_used: GaugePeak memory used for buffered data. Calculated as sum of peak memory values across partitions
spill_metrics: SpillMetricsMetrics related to spilling
Implementations§
Source§impl SortMergeJoinMetrics
impl SortMergeJoinMetrics
pub fn new(partition: usize, metrics: &ExecutionPlanMetricsSet) -> Self
pub fn join_time(&self) -> Time
pub fn baseline_metrics(&self) -> BaselineMetrics
pub fn input_batches(&self) -> Count
pub fn input_rows(&self) -> Count
pub fn output_batches(&self) -> Count
pub fn peak_mem_used(&self) -> Gauge
pub fn spill_metrics(&self) -> SpillMetrics
Auto Trait Implementations§
impl Freeze for SortMergeJoinMetrics
impl !RefUnwindSafe for SortMergeJoinMetrics
impl Send for SortMergeJoinMetrics
impl Sync for SortMergeJoinMetrics
impl Unpin for SortMergeJoinMetrics
impl !UnwindSafe for SortMergeJoinMetrics
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more