Package io.trino.sql.tree
Class WindowFrame
- java.lang.Object
-
- io.trino.sql.tree.Node
-
- io.trino.sql.tree.WindowFrame
-
public class WindowFrame extends Node
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindowFrame.Type
-
Constructor Summary
Constructors Constructor Description WindowFrame(NodeLocation location, WindowFrame.Type type, FrameBound start, Optional<FrameBound> end)WindowFrame(WindowFrame.Type type, FrameBound start, Optional<FrameBound> end)
-
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<Node>getChildren()Optional<FrameBound>getEnd()FrameBoundgetStart()WindowFrame.TypegetType()inthashCode()booleanshallowEquals(Node other)Compare with another node by considering internal state excluding any Node returned by getChildren()StringtoString()-
Methods inherited from class io.trino.sql.tree.Node
getLocation
-
-
-
-
Constructor Detail
-
WindowFrame
public WindowFrame(WindowFrame.Type type, FrameBound start, Optional<FrameBound> end)
-
WindowFrame
public WindowFrame(NodeLocation location, WindowFrame.Type type, FrameBound start, Optional<FrameBound> end)
-
-
Method Detail
-
getType
public WindowFrame.Type getType()
-
getStart
public FrameBound getStart()
-
getEnd
public Optional<FrameBound> getEnd()
-
accept
public <R,C> R accept(AstVisitor<R,C> visitor, C context)
Description copied from class:NodeAccessible forAstVisitor, useAstVisitor.process(Node, Object)instead.
-
getChildren
public List<Node> getChildren()
- Specified by:
getChildrenin classNode
-
shallowEquals
public boolean shallowEquals(Node other)
Description copied from class:NodeCompare with another node by considering internal state excluding any Node returned by getChildren()- Overrides:
shallowEqualsin classNode
-
-