public class DruidSQLParser
extends org.antlr.v4.runtime.Parser
Modifier and Type | Field and Description |
---|---|
static org.antlr.v4.runtime.atn.ATN |
_ATN |
protected static org.antlr.v4.runtime.dfa.DFA[] |
_decisionToDFA |
static String |
_serializedATN |
protected static org.antlr.v4.runtime.atn.PredictionContextCache |
_sharedContextCache |
Map<String,AggregatorFactory> |
aggregators |
static int |
AND |
static int |
AS |
static int |
CLOSE |
static int |
COMMA |
static int |
COMMENT |
static int |
COUNT |
static int |
DIV |
static int |
EQ |
static int |
ESC |
static int |
EXPONENT |
List<String> |
fields |
DimFilter |
filter |
QueryGranularity |
granularity |
static int |
GROUP |
Map<String,DimensionSpec> |
groupByDimensions |
static int |
IDENT |
List<org.joda.time.Interval> |
intervals |
static int |
LINE_COMMENT |
static int |
MATCH |
static int |
MAX |
static int |
MIN |
static int |
MINUS |
static int |
NEQ |
static int |
NOT |
static int |
NUMBER |
static int |
OPEN |
static int |
OR |
static int |
PLUS |
List<PostAggregator> |
postAggregators |
static int |
QUOTED_STRING |
static int |
RULE_additiveExpression |
static int |
RULE_aggregate |
static int |
RULE_aliasedExpression |
static int |
RULE_andDimFilter |
static int |
RULE_constant |
static int |
RULE_datasource |
static int |
RULE_dimFilter |
static int |
RULE_expression |
static int |
RULE_granularityFn |
static int |
RULE_groupby_stmt |
static int |
RULE_groupByExpression |
static int |
RULE_inListDimFilter |
static int |
RULE_multiplyExpression |
static int |
RULE_orDimFilter |
static int |
RULE_primaryDimFilter |
static int |
RULE_primaryExpression |
static int |
RULE_query |
static int |
RULE_select_stmt |
static int |
RULE_selectorDimFilter |
static int |
RULE_timeAndDimFilter |
static int |
RULE_timeFilter |
static int |
RULE_timestamp |
static int |
RULE_unaryExpression |
static int |
RULE_where_stmt |
static String[] |
ruleNames |
static int |
STAR |
static int |
SUM |
static int |
T__0 |
static int |
T__1 |
static int |
T__2 |
static int |
T__3 |
static int |
T__4 |
static int |
T__5 |
static int |
T__6 |
static int |
T__7 |
static String[] |
tokenNames |
static int |
WS |
Constructor and Description |
---|
DruidSQLParser(org.antlr.v4.runtime.TokenStream input) |
addContextToParseTree, addParseListener, consume, dumpDFA, enterOuterAlt, enterRecursionRule, enterRule, exitRule, getBuildParseTree, getContext, getCurrentToken, getDFAStrings, getErrorHandler, getExpectedTokens, getExpectedTokensWithinCurrentRule, getInputStream, getInvokingContext, getNumberOfSyntaxErrors, getParseListeners, getRuleContext, getRuleInvocationStack, getRuleInvocationStack, getSourceName, getTokenStream, getTrimParseTree, inContext, isExpectedToken, match, matchWildcard, notifyErrorListeners, notifyErrorListeners, pushNewRecursionContext, removeParseListener, removeParseListeners, reset, setBuildParseTree, setErrorHandler, setInputStream, setTokenFactory, setTokenStream, setTrace, setTrimParseTree, toStrings, triggerEnterRuleEvent, triggerExitRuleEvent, unrollRecursionContexts
protected static final org.antlr.v4.runtime.dfa.DFA[] _decisionToDFA
protected static final org.antlr.v4.runtime.atn.PredictionContextCache _sharedContextCache
public static final int T__7
public static final int T__6
public static final int T__5
public static final int T__4
public static final int T__3
public static final int T__2
public static final int T__1
public static final int T__0
public static final int AND
public static final int OR
public static final int SUM
public static final int MIN
public static final int MAX
public static final int COUNT
public static final int AS
public static final int OPEN
public static final int CLOSE
public static final int STAR
public static final int NOT
public static final int PLUS
public static final int MINUS
public static final int DIV
public static final int COMMA
public static final int EQ
public static final int NEQ
public static final int MATCH
public static final int GROUP
public static final int IDENT
public static final int QUOTED_STRING
public static final int ESC
public static final int NUMBER
public static final int EXPONENT
public static final int LINE_COMMENT
public static final int COMMENT
public static final int WS
public static final String[] tokenNames
public static final int RULE_query
public static final int RULE_select_stmt
public static final int RULE_where_stmt
public static final int RULE_groupby_stmt
public static final int RULE_groupByExpression
public static final int RULE_datasource
public static final int RULE_aliasedExpression
public static final int RULE_expression
public static final int RULE_additiveExpression
public static final int RULE_multiplyExpression
public static final int RULE_unaryExpression
public static final int RULE_primaryExpression
public static final int RULE_aggregate
public static final int RULE_constant
public static final int RULE_timeAndDimFilter
public static final int RULE_dimFilter
public static final int RULE_orDimFilter
public static final int RULE_andDimFilter
public static final int RULE_primaryDimFilter
public static final int RULE_selectorDimFilter
public static final int RULE_inListDimFilter
public static final int RULE_timeFilter
public static final int RULE_granularityFn
public static final int RULE_timestamp
public static final String[] ruleNames
public Map<String,AggregatorFactory> aggregators
public List<PostAggregator> postAggregators
public DimFilter filter
public List<org.joda.time.Interval> intervals
public QueryGranularity granularity
public Map<String,DimensionSpec> groupByDimensions
public static final String _serializedATN
public static final org.antlr.v4.runtime.atn.ATN _ATN
public String getGrammarFileName()
getGrammarFileName
in class org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
public String[] getTokenNames()
getTokenNames
in class org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
public String[] getRuleNames()
getRuleNames
in class org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
public org.antlr.v4.runtime.atn.ATN getATN()
getATN
in class org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
public String getDataSource()
public final DruidSQLParser.QueryContext query() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final DruidSQLParser.Select_stmtContext select_stmt() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final DruidSQLParser.Where_stmtContext where_stmt() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final DruidSQLParser.Groupby_stmtContext groupby_stmt() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final DruidSQLParser.GroupByExpressionContext groupByExpression() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final DruidSQLParser.DatasourceContext datasource() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final DruidSQLParser.AliasedExpressionContext aliasedExpression() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final DruidSQLParser.ExpressionContext expression() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final DruidSQLParser.AdditiveExpressionContext additiveExpression() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final DruidSQLParser.MultiplyExpressionContext multiplyExpression() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final DruidSQLParser.UnaryExpressionContext unaryExpression() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final DruidSQLParser.PrimaryExpressionContext primaryExpression() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final DruidSQLParser.AggregateContext aggregate() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final DruidSQLParser.ConstantContext constant() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final DruidSQLParser.TimeAndDimFilterContext timeAndDimFilter() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final DruidSQLParser.DimFilterContext dimFilter() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final DruidSQLParser.OrDimFilterContext orDimFilter() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final DruidSQLParser.AndDimFilterContext andDimFilter() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final DruidSQLParser.PrimaryDimFilterContext primaryDimFilter() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final DruidSQLParser.SelectorDimFilterContext selectorDimFilter() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final DruidSQLParser.InListDimFilterContext inListDimFilter() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final DruidSQLParser.TimeFilterContext timeFilter() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final DruidSQLParser.GranularityFnContext granularityFn() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final DruidSQLParser.TimestampContext timestamp() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
Copyright © 2011–2015. All rights reserved.