Package io.trino.sql.parser
Class SqlBaseParser.WindowSpecificationContext
- java.lang.Object
-
- org.antlr.v4.runtime.RuleContext
-
- org.antlr.v4.runtime.ParserRuleContext
-
- io.trino.sql.parser.SqlBaseParser.WindowSpecificationContext
-
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTree,org.antlr.v4.runtime.tree.RuleNode,org.antlr.v4.runtime.tree.SyntaxTree,org.antlr.v4.runtime.tree.Tree
- Enclosing class:
- SqlBaseParser
public static class SqlBaseParser.WindowSpecificationContext extends org.antlr.v4.runtime.ParserRuleContext
-
-
Field Summary
Fields Modifier and Type Field Description SqlBaseParser.IdentifierContextexistingWindowNameSqlBaseParser.ExpressionContextexpressionList<SqlBaseParser.ExpressionContext>partition
-
Constructor Summary
Constructors Constructor Description WindowSpecificationContext(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Taccept(org.antlr.v4.runtime.tree.ParseTreeVisitor<? extends T> visitor)List<org.antlr.v4.runtime.tree.TerminalNode>BY()org.antlr.v4.runtime.tree.TerminalNodeBY(int i)voidenterRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)voidexitRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)List<SqlBaseParser.ExpressionContext>expression()SqlBaseParser.ExpressionContextexpression(int i)intgetRuleIndex()SqlBaseParser.IdentifierContextidentifier()org.antlr.v4.runtime.tree.TerminalNodeORDER()org.antlr.v4.runtime.tree.TerminalNodePARTITION()List<SqlBaseParser.SortItemContext>sortItem()SqlBaseParser.SortItemContextsortItem(int i)SqlBaseParser.WindowFrameContextwindowFrame()-
Methods inherited from class org.antlr.v4.runtime.ParserRuleContext
addAnyChild, addChild, addChild, addChild, addErrorNode, addErrorNode, copyFrom, getChild, getChild, getChildCount, getParent, getRuleContext, getRuleContexts, getSourceInterval, getStart, getStop, getToken, getTokens, removeLastChild, toInfoString
-
-
-
-
Field Detail
-
existingWindowName
public SqlBaseParser.IdentifierContext existingWindowName
-
expression
public SqlBaseParser.ExpressionContext expression
-
partition
public List<SqlBaseParser.ExpressionContext> partition
-
-
Method Detail
-
PARTITION
public org.antlr.v4.runtime.tree.TerminalNode PARTITION()
-
BY
public List<org.antlr.v4.runtime.tree.TerminalNode> BY()
-
BY
public org.antlr.v4.runtime.tree.TerminalNode BY(int i)
-
ORDER
public org.antlr.v4.runtime.tree.TerminalNode ORDER()
-
sortItem
public List<SqlBaseParser.SortItemContext> sortItem()
-
sortItem
public SqlBaseParser.SortItemContext sortItem(int i)
-
windowFrame
public SqlBaseParser.WindowFrameContext windowFrame()
-
identifier
public SqlBaseParser.IdentifierContext identifier()
-
expression
public List<SqlBaseParser.ExpressionContext> expression()
-
expression
public SqlBaseParser.ExpressionContext expression(int i)
-
getRuleIndex
public int getRuleIndex()
- Overrides:
getRuleIndexin classorg.antlr.v4.runtime.RuleContext
-
enterRule
public void enterRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
- Overrides:
enterRulein classorg.antlr.v4.runtime.ParserRuleContext
-
exitRule
public void exitRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
- Overrides:
exitRulein classorg.antlr.v4.runtime.ParserRuleContext
-
accept
public <T> T accept(org.antlr.v4.runtime.tree.ParseTreeVisitor<? extends T> visitor)
- Specified by:
acceptin interfaceorg.antlr.v4.runtime.tree.ParseTree- Overrides:
acceptin classorg.antlr.v4.runtime.RuleContext
-
-