pub struct DateTimeIntervalExpr { /* private fields */ }
Expand description
Perform DATE/TIME/TIMESTAMP +/ INTERVAL math
Implementations
sourceimpl DateTimeIntervalExpr
impl DateTimeIntervalExpr
sourcepub fn try_new(
lhs: Arc<dyn PhysicalExpr>,
op: Operator,
rhs: Arc<dyn PhysicalExpr>,
input_schema: &Schema
) -> Result<Self>
pub fn try_new(
lhs: Arc<dyn PhysicalExpr>,
op: Operator,
rhs: Arc<dyn PhysicalExpr>,
input_schema: &Schema
) -> Result<Self>
Create a new instance of DateIntervalExpr
Trait Implementations
sourceimpl Debug for DateTimeIntervalExpr
impl Debug for DateTimeIntervalExpr
sourceimpl Display for DateTimeIntervalExpr
impl Display for DateTimeIntervalExpr
sourceimpl PhysicalExpr for DateTimeIntervalExpr
impl PhysicalExpr for DateTimeIntervalExpr
sourcefn data_type(&self, input_schema: &Schema) -> Result<DataType>
fn data_type(&self, input_schema: &Schema) -> Result<DataType>
Get the data type of this expression, given the schema of the input
sourcefn nullable(&self, input_schema: &Schema) -> Result<bool>
fn nullable(&self, input_schema: &Schema) -> Result<bool>
Determine whether this expression is nullable, given the schema of the input
sourcefn evaluate(&self, batch: &RecordBatch) -> Result<ColumnarValue>
fn evaluate(&self, batch: &RecordBatch) -> Result<ColumnarValue>
Evaluate an expression against a RecordBatch
sourcefn evaluate_selection(
&self,
batch: &RecordBatch,
selection: &BooleanArray
) -> Result<ColumnarValue>
fn evaluate_selection(
&self,
batch: &RecordBatch,
selection: &BooleanArray
) -> Result<ColumnarValue>
Evaluate an expression against a RecordBatch after first applying a validity array Read more
Auto Trait Implementations
impl !RefUnwindSafe for DateTimeIntervalExpr
impl Send for DateTimeIntervalExpr
impl Sync for DateTimeIntervalExpr
impl Unpin for DateTimeIntervalExpr
impl !UnwindSafe for DateTimeIntervalExpr
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more