Class QuerySpecification
java.lang.Object
io.trino.sql.tree.Node
io.trino.sql.tree.Relation
io.trino.sql.tree.QueryBody
io.trino.sql.tree.QuerySpecification
-
Constructor Summary
ConstructorsConstructorDescriptionQuerySpecification(NodeLocation location, Select select, Optional<Relation> from, Optional<Expression> where, Optional<GroupBy> groupBy, Optional<Expression> having, List<WindowDefinition> windows, Optional<OrderBy> orderBy, Optional<Offset> offset, Optional<Node> limit) QuerySpecification(Select select, Optional<Relation> from, Optional<Expression> where, Optional<GroupBy> groupBy, Optional<Expression> having, List<WindowDefinition> windows, Optional<OrderBy> orderBy, Optional<Offset> offset, Optional<Node> limit) -
Method Summary
Modifier and TypeMethodDescription<R,C> R accept(AstVisitor<R, C> visitor, C context) Accessible forAstVisitor, useAstVisitor.process(Node, Object)instead.booleangetFrom()getLimit()getWhere()inthashCode()booleanshallowEquals(Node other) Compare with another node by considering internal state excluding any Node returned by getChildren()toString()Methods inherited from class io.trino.sql.tree.Node
getLocation
-
Constructor Details
-
QuerySpecification
-
QuerySpecification
public QuerySpecification(NodeLocation location, Select select, Optional<Relation> from, Optional<Expression> where, Optional<GroupBy> groupBy, Optional<Expression> having, List<WindowDefinition> windows, Optional<OrderBy> orderBy, Optional<Offset> offset, Optional<Node> limit)
-
-
Method Details
-
getSelect
-
getFrom
-
getWhere
-
getGroupBy
-
getHaving
-
getWindows
-
getOrderBy
-
getOffset
-
getLimit
-
accept
Description copied from class:NodeAccessible forAstVisitor, useAstVisitor.process(Node, Object)instead. -
getChildren
- Specified by:
getChildrenin classNode
-
toString
-
equals
-
hashCode
-
shallowEquals
Description copied from class:NodeCompare with another node by considering internal state excluding any Node returned by getChildren()- Overrides:
shallowEqualsin classNode
-