Enum datafusion::sql::ASTNode
[−]
[src]
pub enum ASTNode { SQLIdentifier { id: String, parts: Vec<String>, }, SQLBinaryExpr { left: Box<ASTNode>, op: SQLOperator, right: Box<ASTNode>, }, SQLNested(Box<ASTNode>), SQLUnary { operator: SQLOperator, rex: Box<ASTNode>, }, SQLLiteralInt(i64), SQLFunction { id: String, args: Vec<ASTNode>, }, SQLSelect { projection: Vec<ASTNode>, relation: Option<Box<ASTNode>>, selection: Option<Box<ASTNode>>, order: Option<Box<ASTNode>>, limit: Option<Box<ASTNode>>, }, }
Variants
SQLIdentifier
Fields of SQLIdentifier
id: String | |
parts: Vec<String> |
SQLBinaryExpr
Fields of SQLBinaryExpr
left: Box<ASTNode> | |
op: SQLOperator | |
right: Box<ASTNode> |
SQLNested(Box<ASTNode>)
SQLUnary
Fields of SQLUnary
operator: SQLOperator | |
rex: Box<ASTNode> |
SQLLiteralInt(i64)
SQLFunction
Fields of SQLFunction
id: String | |
args: Vec<ASTNode> |
SQLSelect
Fields of SQLSelect
projection: Vec<ASTNode> | |
relation: Option<Box<ASTNode>> | |
selection: Option<Box<ASTNode>> | |
order: Option<Box<ASTNode>> | |
limit: Option<Box<ASTNode>> |
Trait Implementations
impl Debug for ASTNode
[src]
impl Clone for ASTNode
[src]
fn clone(&self) -> ASTNode
[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