MCPcopy Create free account
hub / github.com/apache/datafusion / push

Method push

datafusion-cli/src/object_storage/instrumented.rs:710–718  ·  view source on GitHub ↗
(&mut self, request: &RequestDetails)

Source from the content-addressed store, hash-verified

708 }
709 }
710 fn push(&mut self, request: &RequestDetails) {
711 self.count += 1;
712 if let Some(dur) = request.duration() {
713 self.duration_stats.get_or_insert_default().push(dur)
714 }
715 if let Some(size) = request.size {
716 self.size_stats.get_or_insert_default().push(size)
717 }
718 }
719}
720
721struct Stats<T: Copy + Ord + AddAssign<T>> {

Callers 15

discover_example_groupsFunction · 0.45
parse_main_rs_docsFunction · 0.45
count_treesFunction · 0.45
count_treeFunction · 0.45
parse_value_optionsMethod · 0.45
deserialize_to_structFunction · 0.45
plan_pivotFunction · 0.45
plan_unpivotFunction · 0.45
scanMethod · 0.45
read_csv_batchesFunction · 0.45
add_rowMethod · 0.45
tablesMethod · 0.45

Calls 3

minFunction · 0.85
maxFunction · 0.85
durationMethod · 0.80

Tested by 1

request_summaryFunction · 0.36