Package io.trino.sql.tree
Class GroupingSets
java.lang.Object
io.trino.sql.tree.Node
io.trino.sql.tree.GroupingElement
io.trino.sql.tree.GroupingSets
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionGroupingSets(GroupingSets.Type type, List<List<Expression>> groupingSets) GroupingSets(NodeLocation location, GroupingSets.Type type, List<List<Expression>> sets) -
Method Summary
Modifier and TypeMethodDescriptionprotected <R,C> R accept(AstVisitor<R, C> visitor, C context) Accessible forAstVisitor, useAstVisitor.process(Node, Object)instead.booleangetSets()getType()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
-
GroupingSets
-
GroupingSets
-
-
Method Details
-
getType
-
getSets
-
getExpressions
- Specified by:
getExpressionsin classGroupingElement
-
accept
Description copied from class:NodeAccessible forAstVisitor, useAstVisitor.process(Node, Object)instead.- Overrides:
acceptin classGroupingElement
-
getChildren
- Specified by:
getChildrenin classNode
-
equals
-
hashCode
public int hashCode() -
toString
-
shallowEquals
Description copied from class:NodeCompare with another node by considering internal state excluding any Node returned by getChildren()- Overrides:
shallowEqualsin classNode
-