Trait datafusion::api::ScalarFunction [] [src]

pub trait ScalarFunction {
    fn name(&self) -> String;
fn args(&self) -> Vec<Field>;
fn return_type(&self) -> DataType;
fn execute(&self, args: Vec<Value>) -> Result<Value, Box<String>>; }

Scalar function. User-defined implementations will be dynamically loaded at runtime.

Required Methods

Implementors