Enum datafusion::rel::Expr
[−]
[src]
pub enum Expr { Column(usize), Literal(ScalarValue), BinaryExpr { left: Box<Expr>, op: Operator, right: Box<Expr>, }, Sort { expr: Box<Expr>, asc: bool, }, ScalarFunction { name: String, args: Vec<Expr>, }, }
Relation Expression
Variants
Column(usize)
index into a value within the row or complex value
Literal(ScalarValue)
literal value
BinaryExpr
binary expression e.g. "age > 21"
Fields of BinaryExpr
left: Box<Expr> | |
op: Operator | |
right: Box<Expr> |
Sort
sort expression
Fields of Sort
expr: Box<Expr> | |
asc: bool |
ScalarFunction
scalar function
Fields of ScalarFunction
name: String | |
args: Vec<Expr> |
Methods
impl Expr
[src]
pub fn eq(&self, other: &Expr) -> Expr
[src]
pub fn gt(&self, other: &Expr) -> Expr
[src]
pub fn lt(&self, other: &Expr) -> Expr
[src]
Trait Implementations
impl Debug for Expr
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more