MCPcopy Create free account
hub / github.com/apache/arrow / AsOrdering

Function AsOrdering

cpp/src/arrow/compute/api_vector.h:144–144  ·  view source on GitHub ↗

Convenience constructor to create an ordering from SortOptions Note: Both classes contain the exact same information. However, sort_options should only be used in a "function options" context while Ordering is used more generally.

Source from the content-addressed store, hash-verified

142 /// sort_options should only be used in a "function options" context while Ordering
143 /// is used more generally.
144 Ordering AsOrdering() && { return Ordering{std::move(sort_keys)}; }
145 Ordering AsOrdering() const& { return Ordering{sort_keys}; }
146
147 /// Get sort_keys with overwritten null_placement

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected