Trait datafusion::types::ScalarFunction [−][src]
pub trait ScalarFunction { fn name(&self) -> String; fn args(&self) -> Vec<Field>; fn return_type(&self) -> DataType; fn execute(&self, args: &[Value]) -> Result<Value>; }
Scalar function
Required Methods
fn name(&self) -> String
fn args(&self) -> Vec<Field>
fn return_type(&self) -> DataType
fn execute(&self, args: &[Value]) -> Result<Value>
Implementors
impl ScalarFunction for STAsText
impl ScalarFunction for STPointFunc
impl ScalarFunction for SqrtFunction