Trait datafusion::types::AggregateFunction [−][src]
pub trait AggregateFunction { fn name(&self) -> String; fn args(&self) -> Vec<Field>; fn return_type(&self) -> DataType; fn execute(&mut self, args: &[Value]) -> Result<()>; fn finish(&self) -> Result<Value>; }
Aggregate function
Required Methods
fn name(&self) -> String
fn args(&self) -> Vec<Field>
fn return_type(&self) -> DataType
fn execute(&mut self, args: &[Value]) -> Result<()>
fn finish(&self) -> Result<Value>
Implementors
impl AggregateFunction for CountFunction
impl AggregateFunction for MaxFunction
impl AggregateFunction for MinFunction
impl AggregateFunction for SumFunction