Class WindowFrame
java.lang.Object
io.trino.sql.tree.Node
io.trino.sql.tree.WindowFrame
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionWindowFrame(NodeLocation location, WindowFrame.Type type, FrameBound start, Optional<FrameBound> end, List<MeasureDefinition> measures, Optional<SkipTo> afterMatchSkipTo, Optional<PatternSearchMode> patternSearchMode, Optional<RowPattern> pattern, List<SubsetDefinition> subsets, List<VariableDefinition> variableDefinitions) WindowFrame(WindowFrame.Type type, FrameBound start, Optional<FrameBound> end, List<MeasureDefinition> measures, Optional<SkipTo> afterMatchSkipTo, Optional<PatternSearchMode> patternSearchMode, Optional<RowPattern> pattern, List<SubsetDefinition> subsets, List<VariableDefinition> variableDefinitions) -
Method Summary
Modifier and TypeMethodDescription<R,C> R accept(AstVisitor<R, C> visitor, C context) Accessible forAstVisitor, useAstVisitor.process(Node, Object)instead.booleangetEnd()getStart()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
-
WindowFrame
public WindowFrame(WindowFrame.Type type, FrameBound start, Optional<FrameBound> end, List<MeasureDefinition> measures, Optional<SkipTo> afterMatchSkipTo, Optional<PatternSearchMode> patternSearchMode, Optional<RowPattern> pattern, List<SubsetDefinition> subsets, List<VariableDefinition> variableDefinitions) -
WindowFrame
public WindowFrame(NodeLocation location, WindowFrame.Type type, FrameBound start, Optional<FrameBound> end, List<MeasureDefinition> measures, Optional<SkipTo> afterMatchSkipTo, Optional<PatternSearchMode> patternSearchMode, Optional<RowPattern> pattern, List<SubsetDefinition> subsets, List<VariableDefinition> variableDefinitions)
-
-
Method Details
-
getType
-
getStart
-
getEnd
-
getMeasures
-
getAfterMatchSkipTo
-
getPatternSearchMode
-
getPattern
-
getSubsets
-
getVariableDefinitions
-
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
-