Package edu.caltech.nanodb.sqlparse
Class NanoSQLParser.SelectStmtContext
- java.lang.Object
-
- org.antlr.v4.runtime.RuleContext
-
- org.antlr.v4.runtime.ParserRuleContext
-
- edu.caltech.nanodb.sqlparse.NanoSQLParser.SelectStmtContext
-
- 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:
- NanoSQLParser
public static class NanoSQLParser.SelectStmtContext extends org.antlr.v4.runtime.ParserRuleContext
-
-
Field Summary
Fields Modifier and Type Field Description NanoSQLParser.ExpressionContext
expression
java.util.List<NanoSQLParser.ExpressionContext>
groupExpr
NanoSQLParser.ExpressionContext
havingPred
org.antlr.v4.runtime.Token
limit
org.antlr.v4.runtime.Token
offset
NanoSQLParser.ExpressionContext
wherePred
-
Constructor Summary
Constructors Constructor Description SelectStmtContext(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
accept(org.antlr.v4.runtime.tree.ParseTreeVisitor<? extends T> visitor)
org.antlr.v4.runtime.tree.TerminalNode
ALL()
java.util.List<org.antlr.v4.runtime.tree.TerminalNode>
BY()
org.antlr.v4.runtime.tree.TerminalNode
BY(int i)
org.antlr.v4.runtime.tree.TerminalNode
DISTINCT()
void
enterRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
void
exitRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
java.util.List<NanoSQLParser.ExpressionContext>
expression()
NanoSQLParser.ExpressionContext
expression(int i)
org.antlr.v4.runtime.tree.TerminalNode
FROM()
NanoSQLParser.FromExprContext
fromExpr()
int
getRuleIndex()
org.antlr.v4.runtime.tree.TerminalNode
GROUP()
org.antlr.v4.runtime.tree.TerminalNode
HAVING()
java.util.List<org.antlr.v4.runtime.tree.TerminalNode>
INT_LITERAL()
org.antlr.v4.runtime.tree.TerminalNode
INT_LITERAL(int i)
org.antlr.v4.runtime.tree.TerminalNode
LIMIT()
org.antlr.v4.runtime.tree.TerminalNode
OFFSET()
org.antlr.v4.runtime.tree.TerminalNode
ORDER()
java.util.List<NanoSQLParser.OrderByExprContext>
orderByExpr()
NanoSQLParser.OrderByExprContext
orderByExpr(int i)
org.antlr.v4.runtime.tree.TerminalNode
SELECT()
java.util.List<NanoSQLParser.SelectValueContext>
selectValue()
NanoSQLParser.SelectValueContext
selectValue(int i)
org.antlr.v4.runtime.tree.TerminalNode
WHERE()
-
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
-
wherePred
public NanoSQLParser.ExpressionContext wherePred
-
expression
public NanoSQLParser.ExpressionContext expression
-
groupExpr
public java.util.List<NanoSQLParser.ExpressionContext> groupExpr
-
havingPred
public NanoSQLParser.ExpressionContext havingPred
-
limit
public org.antlr.v4.runtime.Token limit
-
offset
public org.antlr.v4.runtime.Token offset
-
-
Method Detail
-
SELECT
public org.antlr.v4.runtime.tree.TerminalNode SELECT()
-
selectValue
public java.util.List<NanoSQLParser.SelectValueContext> selectValue()
-
selectValue
public NanoSQLParser.SelectValueContext selectValue(int i)
-
FROM
public org.antlr.v4.runtime.tree.TerminalNode FROM()
-
fromExpr
public NanoSQLParser.FromExprContext fromExpr()
-
WHERE
public org.antlr.v4.runtime.tree.TerminalNode WHERE()
-
GROUP
public org.antlr.v4.runtime.tree.TerminalNode GROUP()
-
BY
public java.util.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()
-
orderByExpr
public java.util.List<NanoSQLParser.OrderByExprContext> orderByExpr()
-
orderByExpr
public NanoSQLParser.OrderByExprContext orderByExpr(int i)
-
LIMIT
public org.antlr.v4.runtime.tree.TerminalNode LIMIT()
-
OFFSET
public org.antlr.v4.runtime.tree.TerminalNode OFFSET()
-
ALL
public org.antlr.v4.runtime.tree.TerminalNode ALL()
-
DISTINCT
public org.antlr.v4.runtime.tree.TerminalNode DISTINCT()
-
expression
public java.util.List<NanoSQLParser.ExpressionContext> expression()
-
expression
public NanoSQLParser.ExpressionContext expression(int i)
-
INT_LITERAL
public java.util.List<org.antlr.v4.runtime.tree.TerminalNode> INT_LITERAL()
-
INT_LITERAL
public org.antlr.v4.runtime.tree.TerminalNode INT_LITERAL(int i)
-
HAVING
public org.antlr.v4.runtime.tree.TerminalNode HAVING()
-
getRuleIndex
public int getRuleIndex()
- Overrides:
getRuleIndex
in classorg.antlr.v4.runtime.RuleContext
-
enterRule
public void enterRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
- Overrides:
enterRule
in classorg.antlr.v4.runtime.ParserRuleContext
-
exitRule
public void exitRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
- Overrides:
exitRule
in classorg.antlr.v4.runtime.ParserRuleContext
-
accept
public <T> T accept(org.antlr.v4.runtime.tree.ParseTreeVisitor<? extends T> visitor)
- Specified by:
accept
in interfaceorg.antlr.v4.runtime.tree.ParseTree
- Overrides:
accept
in classorg.antlr.v4.runtime.RuleContext
-
-