Package io.trino.sql.tree
Class Except
- java.lang.Object
-
- io.trino.sql.tree.Node
-
- io.trino.sql.tree.Relation
-
- io.trino.sql.tree.QueryBody
-
- io.trino.sql.tree.SetOperation
-
- io.trino.sql.tree.Except
-
public class Except extends SetOperation
-
-
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.booleanequals(Object obj)List<Node>getChildren()RelationgetLeft()List<Relation>getRelations()RelationgetRight()inthashCode()booleanshallowEquals(Node other)Compare with another node by considering internal state excluding any Node returned by getChildren()StringtoString()-
Methods inherited from class io.trino.sql.tree.SetOperation
isDistinct
-
Methods inherited from class io.trino.sql.tree.Node
getLocation
-
-
-
-
Constructor Detail
-
Except
public Except(NodeLocation location, Relation left, Relation right, boolean distinct)
-
-
Method Detail
-
getLeft
public Relation getLeft()
-
getRight
public Relation getRight()
-
accept
public <R,C> R accept(AstVisitor<R,C> visitor, C context)
Description copied from class:NodeAccessible forAstVisitor, useAstVisitor.process(Node, Object)instead.- Overrides:
acceptin classSetOperation
-
getChildren
public List<Node> getChildren()
- Specified by:
getChildrenin classNode
-
getRelations
public List<Relation> getRelations()
- Specified by:
getRelationsin classSetOperation
-
shallowEquals
public boolean shallowEquals(Node other)
Description copied from class:NodeCompare with another node by considering internal state excluding any Node returned by getChildren()- Overrides:
shallowEqualsin classNode
-
-