Package io.trino.sql.tree
Class Delete
- java.lang.Object
-
- io.trino.sql.tree.Node
-
- io.trino.sql.tree.Statement
-
- io.trino.sql.tree.Delete
-
public class Delete extends Statement
-
-
Constructor Summary
Constructors Constructor Description Delete(NodeLocation location, Table table, Optional<Expression> where)
Delete(Table table, Optional<Expression> where)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R,C>
Raccept(AstVisitor<R,C> visitor, C context)
Accessible forAstVisitor
, useAstVisitor.process(Node, Object)
instead.boolean
equals(Object obj)
List<Node>
getChildren()
Table
getTable()
Optional<Expression>
getWhere()
int
hashCode()
String
toString()
-
Methods inherited from class io.trino.sql.tree.Node
getLocation, shallowEquals
-
-
-
-
Constructor Detail
-
Delete
public Delete(Table table, Optional<Expression> where)
-
Delete
public Delete(NodeLocation location, Table table, Optional<Expression> where)
-
-
Method Detail
-
getTable
public Table getTable()
-
getWhere
public Optional<Expression> getWhere()
-
accept
public <R,C> R accept(AstVisitor<R,C> visitor, C context)
Description copied from class:Node
Accessible forAstVisitor
, useAstVisitor.process(Node, Object)
instead.
-
getChildren
public List<Node> getChildren()
- Specified by:
getChildren
in classNode
-
-