Struct datafusion::exec::ExecutionContext
[−]
[src]
pub struct ExecutionContext { /* fields omitted */ }
Methods
impl ExecutionContext
[src]
fn new(schemas: HashMap<String, TupleType>) -> Self
[src]
fn define_function(&mut self, fm: FunctionMeta)
[src]
fn load(
&self,
filename: &str,
schema: &TupleType
) -> Result<Box<DataFrame>, ExecutionError>
[src]
&self,
filename: &str,
schema: &TupleType
) -> Result<Box<DataFrame>, ExecutionError>
Open a CSV file TODO: this is building a relational plan not an execution plan so shouldn't really be here
fn register_table(&mut self, name: String, schema: TupleType)
[src]
fn create_execution_plan(
&self,
plan: &Rel
) -> Result<Box<SimpleRelation>, ExecutionError>
[src]
&self,
plan: &Rel
) -> Result<Box<SimpleRelation>, ExecutionError>
fn evaluate(
&self,
tuple: &Tuple,
tt: &TupleType,
rex: &Rex
) -> Result<Value, Box<ExecutionError>>
[src]
&self,
tuple: &Tuple,
tt: &TupleType,
rex: &Rex
) -> Result<Value, Box<ExecutionError>>
Evaluate a relational expression against a tuple
Trait Implementations
impl Debug for ExecutionContext
[src]
impl Clone for ExecutionContext
[src]
fn clone(&self) -> ExecutionContext
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more