Package io.trino.sql.tree
Class Intersect
- 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.Intersect
-
public class Intersect 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<? extends Node>getChildren()List<Relation>getRelations()inthashCode()StringtoString()-
Methods inherited from class io.trino.sql.tree.SetOperation
isDistinct
-
Methods inherited from class io.trino.sql.tree.Node
getLocation, shallowEquals
-
-
-
-
Constructor Detail
-
Intersect
public Intersect(NodeLocation location, List<Relation> relations, boolean distinct)
-
-
Method Detail
-
getRelations
public List<Relation> getRelations()
- Specified by:
getRelationsin classSetOperation
-
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<? extends Node> getChildren()
- Specified by:
getChildrenin classNode
-
-