Package io.trino.sql.tree
Class SortItem
java.lang.Object
io.trino.sql.tree.Node
io.trino.sql.tree.SortItem
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionSortItem(Expression sortKey, SortItem.Ordering ordering, SortItem.NullOrdering nullOrdering) SortItem(NodeLocation location, Expression sortKey, SortItem.Ordering ordering, SortItem.NullOrdering nullOrdering) -
Method Summary
Modifier and TypeMethodDescription<R,C> R accept(AstVisitor<R, C> visitor, C context) Accessible forAstVisitor, useAstVisitor.process(Node, Object)instead.booleaninthashCode()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
-
SortItem
-
SortItem
public SortItem(NodeLocation location, Expression sortKey, SortItem.Ordering ordering, SortItem.NullOrdering nullOrdering)
-
-
Method Details
-
getSortKey
-
getOrdering
-
getNullOrdering
-
accept
Description copied from class:NodeAccessible forAstVisitor, useAstVisitor.process(Node, Object)instead. -
getChildren
- Specified by:
getChildrenin classNode
-
toString
-
equals
-
hashCode
public int hashCode() -
shallowEquals
Description copied from class:NodeCompare with another node by considering internal state excluding any Node returned by getChildren()- Overrides:
shallowEqualsin classNode
-