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

Method capacity

datafusion/physical-expr-common/src/sort_expr.rs:409–411  ·  view source on GitHub ↗

Returns the number of elements that can be stored in the `LexOrdering` without reallocating.

(&self)

Source from the content-addressed store, hash-verified

407 /// Returns the number of elements that can be stored in the `LexOrdering`
408 /// without reallocating.
409 pub fn capacity(&self) -> usize {
410 self.exprs.capacity()
411 }
412
413 /// Truncates the `LexOrdering`, keeping only the first `len` elements.
414 /// Returns `true` if truncation made a change, `false` otherwise. Negative

Callers 2

sizeMethod · 0.45
sizeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected