Trait datafusion::variable::VarProvider
source · [−]pub trait VarProvider {
fn get_value(
&self,
var_names: Vec<String, Global>
) -> Result<ScalarValue, DataFusionError>;
fn get_type(&self, var_names: &[String]) -> Option<DataType>;
}
Expand description
A var provider for @variable
Required Methods
fn get_value(
&self,
var_names: Vec<String, Global>
) -> Result<ScalarValue, DataFusionError>
fn get_value(
&self,
var_names: Vec<String, Global>
) -> Result<ScalarValue, DataFusionError>
Get variable value