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
VarProvider in datafusion_expr::var_provider - Rust
[go: Go Back, main page]

datafusion_expr::var_provider

Trait VarProvider

source
pub trait VarProvider: Debug {
    // Required methods
    fn get_value(&self, var_names: Vec<String>) -> Result<ScalarValue>;
    fn get_type(&self, var_names: &[String]) -> Option<DataType>;
}
Expand description

A var provider for @variable and @@variable runtime values.

Required Methods§

source

fn get_value(&self, var_names: Vec<String>) -> Result<ScalarValue>

Get variable value

source

fn get_type(&self, var_names: &[String]) -> Option<DataType>

Return the type of the given variable

Implementors§