Class WindowSpecification
java.lang.Object
io.trino.sql.tree.Node
io.trino.sql.tree.WindowSpecification
-
Constructor Summary
ConstructorsConstructorDescriptionWindowSpecification(NodeLocation location, Optional<Identifier> existingWindowName, List<Expression> partitionBy, Optional<OrderBy> orderBy, Optional<WindowFrame> frame) WindowSpecification(Optional<Identifier> existingWindowName, List<Expression> partitionBy, Optional<OrderBy> orderBy, Optional<WindowFrame> frame) -
Method Summary
Modifier and TypeMethodDescription<R,C> R accept(AstVisitor<R, C> visitor, C context) Accessible forAstVisitor, useAstVisitor.process(Node, Object)instead.booleangetFrame()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
-
WindowSpecification
public WindowSpecification(Optional<Identifier> existingWindowName, List<Expression> partitionBy, Optional<OrderBy> orderBy, Optional<WindowFrame> frame) -
WindowSpecification
public WindowSpecification(NodeLocation location, Optional<Identifier> existingWindowName, List<Expression> partitionBy, Optional<OrderBy> orderBy, Optional<WindowFrame> frame)
-
-
Method Details
-
getExistingWindowName
-
getPartitionBy
-
getOrderBy
-
getFrame
-
accept
Description copied from class:NodeAccessible forAstVisitor, useAstVisitor.process(Node, Object)instead. -
getChildren
- Specified by:
getChildrenin classNode
-
equals
-
hashCode
-
toString
-
shallowEquals
Description copied from class:NodeCompare with another node by considering internal state excluding any Node returned by getChildren()- Overrides:
shallowEqualsin classNode
-