Enum datafusion::sql::ASTNode
[−]
[src]
pub enum ASTNode { SQLIdentifier(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>, }, SQLOrderBy { expr: Box<ASTNode>, asc: bool, }, SQLSelect { projection: Vec<ASTNode>, relation: Option<Box<ASTNode>>, selection: Option<Box<ASTNode>>, order_by: Option<Vec<ASTNode>>, group_by: Option<Vec<ASTNode>>, having: Option<Box<ASTNode>>, limit: Option<Box<ASTNode>>, }, SQLCreateTable { name: String, columns: Vec<SQLColumnDef>, }, }
Variants
SQLIdentifier(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> |
SQLOrderBy
Fields of SQLOrderBy
expr: Box<ASTNode> | |
asc: bool |
SQLSelect
Fields of SQLSelect
projection: Vec<ASTNode> | |
relation: Option<Box<ASTNode>> | |
selection: Option<Box<ASTNode>> | |
order_by: Option<Vec<ASTNode>> | |
group_by: Option<Vec<ASTNode>> | |
having: Option<Box<ASTNode>> | |
limit: Option<Box<ASTNode>> |
SQLCreateTable
Fields of SQLCreateTable
name: String | |
columns: Vec<SQLColumnDef> |
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