pub struct ProjectOperator { /* private fields */ }Expand description
A project operator that selects and transforms columns.
Implementations§
Source§impl ProjectOperator
impl ProjectOperator
Sourcepub fn new(
child: Box<dyn Operator>,
projections: Vec<ProjectExpr>,
output_types: Vec<LogicalType>,
) -> Self
pub fn new( child: Box<dyn Operator>, projections: Vec<ProjectExpr>, output_types: Vec<LogicalType>, ) -> Self
Creates a new project operator.
Sourcepub fn with_store(
child: Box<dyn Operator>,
projections: Vec<ProjectExpr>,
output_types: Vec<LogicalType>,
store: Arc<LpgStore>,
) -> Self
pub fn with_store( child: Box<dyn Operator>, projections: Vec<ProjectExpr>, output_types: Vec<LogicalType>, store: Arc<LpgStore>, ) -> Self
Creates a new project operator with store access for property lookups.
Sourcepub fn select_columns(
child: Box<dyn Operator>,
columns: Vec<usize>,
types: Vec<LogicalType>,
) -> Self
pub fn select_columns( child: Box<dyn Operator>, columns: Vec<usize>, types: Vec<LogicalType>, ) -> Self
Creates a project operator that selects specific columns.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ProjectOperator
impl !RefUnwindSafe for ProjectOperator
impl Send for ProjectOperator
impl Sync for ProjectOperator
impl Unpin for ProjectOperator
impl !UnwindSafe for ProjectOperator
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more