Struct datafusion_physical_expr::expressions::WindowShift  
source · pub struct WindowShift { /* private fields */ }Expand description
window shift expression
Implementations§
source§impl WindowShift
 
impl WindowShift
sourcepub fn get_shift_offset(&self) -> i64
 
pub fn get_shift_offset(&self) -> i64
Get shift_offset of window shift expression
Trait Implementations§
source§impl BuiltInWindowFunctionExpr for WindowShift
 
impl BuiltInWindowFunctionExpr for WindowShift
source§fn expressions(&self) -> Vec<Arc<dyn PhysicalExpr>> ⓘ
 
fn expressions(&self) -> Vec<Arc<dyn PhysicalExpr>> ⓘ
expressions that are passed to the Accumulator.
Single-column aggregations such as 
sum return a single value, others (e.g. cov) return many.source§fn name(&self) -> &str
 
fn name(&self) -> &str
Human readable name such as 
"MIN(c2)" or "RANK()". The default
implementation returns placeholder text.source§fn create_evaluator(&self) -> Result<Box<dyn PartitionEvaluator>>
 
fn create_evaluator(&self) -> Result<Box<dyn PartitionEvaluator>>
Create built-in window evaluator with a batch
fn supports_bounded_execution(&self) -> bool
source§fn reverse_expr(&self) -> Option<Arc<dyn BuiltInWindowFunctionExpr>>
 
fn reverse_expr(&self) -> Option<Arc<dyn BuiltInWindowFunctionExpr>>
Construct Reverse Expression that produces the same result
on a reversed window.  For example 
lead(10) –> lag(10)source§fn evaluate_args(&self, batch: &RecordBatch) -> Result<Vec<ArrayRef>>
 
fn evaluate_args(&self, batch: &RecordBatch) -> Result<Vec<ArrayRef>>
Evaluate window function arguments against the batch and return
an array ref. Typically, the resulting vector is a single element vector.