project_orderings

Function project_orderings 

Source
pub fn project_orderings(
    orderings: &[LexOrdering],
    schema: &SchemaRef,
) -> Vec<LexOrdering>
Expand description

Projects a slice of LexOrderings onto the given schema.

This is a convenience wrapper that applies project_ordering to each input ordering and collects the successful projections:

  • For each input ordering, the result of project_ordering is appended to the output if it is Some(...).
  • Order is preserved and no deduplication is attempted.
  • If none of the input orderings can be projected, an empty Vec is returned.

See project_ordering for the semantics of projecting a single LexOrdering.