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

Method size

datafusion/functions-aggregate/src/first_last.rs:709–715  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

707 }
708
709 fn size(&self) -> usize {
710 self.state.size()
711 + self.is_sets.capacity() / 8 // capacity is in bits, so convert to bytes
712 + self.size_of_orderings
713 + self.extreme_of_each_group_buf.0.capacity() * size_of::<usize>()
714 + self.extreme_of_each_group_buf.1.capacity() / 8
715 }
716
717 fn supports_convert_to_state(&self) -> bool {
718 true

Callers 1

size_after_batchFunction · 0.45

Calls 1

capacityMethod · 0.45

Tested by

no test coverage detected