pub struct PhysicalSortExpr {
pub expr: Arc<dyn PhysicalExpr>,
pub options: SortOptions,
}
Expand description
Represents Sort operation for a column in a RecordBatch
Fields§
§expr: Arc<dyn PhysicalExpr>
Physical expression representing the column to sort
options: SortOptions
Option to specify how the given column should be sorted
Implementations§
source§impl PhysicalSortExpr
impl PhysicalSortExpr
sourcepub fn evaluate_to_sort_column(&self, batch: &RecordBatch) -> Result<SortColumn>
pub fn evaluate_to_sort_column(&self, batch: &RecordBatch) -> Result<SortColumn>
evaluate the sort expression into SortColumn that can be passed into arrow sort kernel
Trait Implementations§
source§impl Clone for PhysicalSortExpr
impl Clone for PhysicalSortExpr
source§fn clone(&self) -> PhysicalSortExpr
fn clone(&self) -> PhysicalSortExpr
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PhysicalSortExpr
impl Debug for PhysicalSortExpr
source§impl Display for PhysicalSortExpr
impl Display for PhysicalSortExpr
source§impl PartialEq<PhysicalSortExpr> for PhysicalSortExpr
impl PartialEq<PhysicalSortExpr> for PhysicalSortExpr
source§fn eq(&self, other: &PhysicalSortExpr) -> bool
fn eq(&self, other: &PhysicalSortExpr) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.