Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
datafusion::api::ScalarFunction - Rust
[go: Go Back, main page]

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<Rc<Value>>) -> Result<Rc<Value>, ExecutionError>; }

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

Required Methods

Implementors