Class IcebergSqlExtensionsParser
- java.lang.Object
-
- org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
- org.antlr.v4.runtime.Parser
-
- org.apache.spark.sql.catalyst.parser.extensions.IcebergSqlExtensionsParser
-
public class IcebergSqlExtensionsParser extends org.antlr.v4.runtime.Parser
-
-
Nested Class Summary
-
Field Summary
Fields Modifier and Type Field Description static org.antlr.v4.runtime.atn.ATN
_ATN
protected static org.antlr.v4.runtime.dfa.DFA[]
_decisionToDFA
static java.lang.String
_serializedATN
protected static org.antlr.v4.runtime.atn.PredictionContextCache
_sharedContextCache
static int
ADD
static int
ALTER
static int
AS
static int
ASC
static int
BACKQUOTED_IDENTIFIER
static int
BIGDECIMAL_LITERAL
static int
BIGINT_LITERAL
static int
BRACKETED_COMMENT
static int
BY
static int
CALL
static int
DECIMAL_VALUE
static int
DESC
static int
DISTRIBUTED
static int
DOUBLE_LITERAL
static int
DROP
static int
EXPONENT_VALUE
static int
FALSE
static int
FIELD
static int
FIELDS
static int
FIRST
static int
FLOAT_LITERAL
static int
IDENTIFIER
static int
IDENTIFIER_KW
static int
INTEGER_VALUE
static int
LAST
static int
LOCALLY
static int
MAP
static int
MINUS
static int
NULLS
static int
ORDERED
static int
PARTITION
static int
PLUS
static int
REPLACE
static int
RULE_booleanValue
static int
RULE_callArgument
static int
RULE_constant
static int
RULE_expression
static int
RULE_fieldList
static int
RULE_identifier
static int
RULE_multipartIdentifier
static int
RULE_nonReserved
static int
RULE_number
static int
RULE_order
static int
RULE_orderField
static int
RULE_quotedIdentifier
static int
RULE_singleStatement
static int
RULE_statement
static int
RULE_stringMap
static int
RULE_transform
static int
RULE_transformArgument
static int
RULE_writeDistributionSpec
static int
RULE_writeOrderingSpec
static int
RULE_writeSpec
static java.lang.String[]
ruleNames
static int
SET
static int
SIMPLE_COMMENT
static int
SMALLINT_LITERAL
static int
STRING
static int
T__0
static int
T__1
static int
T__2
static int
T__3
static int
T__4
static int
TABLE
static int
TINYINT_LITERAL
static java.lang.String[]
tokenNames
Deprecated.UseVOCABULARY
instead.static int
TRUE
static int
UNORDERED
static int
UNRECOGNIZED
static org.antlr.v4.runtime.Vocabulary
VOCABULARY
static int
WITH
static int
WRITE
static int
WS
-
Constructor Summary
Constructors Constructor Description IcebergSqlExtensionsParser(org.antlr.v4.runtime.TokenStream input)
-
Method Summary
-
Methods inherited from class org.antlr.v4.runtime.Parser
addContextToParseTree, addParseListener, compileParseTreePattern, compileParseTreePattern, consume, createErrorNode, createTerminalNode, dumpDFA, enterOuterAlt, enterRecursionRule, enterRecursionRule, enterRule, exitRule, getATNWithBypassAlts, getBuildParseTree, getContext, getCurrentToken, getDFAStrings, getErrorHandler, getExpectedTokens, getExpectedTokensWithinCurrentRule, getInputStream, getInvokingContext, getNumberOfSyntaxErrors, getParseInfo, getParseListeners, getPrecedence, getRuleContext, getRuleIndex, getRuleInvocationStack, getRuleInvocationStack, getSourceName, getTokenFactory, getTokenStream, getTrimParseTree, inContext, isExpectedToken, isMatchedEOF, isTrace, match, matchWildcard, notifyErrorListeners, notifyErrorListeners, precpred, pushNewRecursionContext, removeParseListener, removeParseListeners, reset, setBuildParseTree, setContext, setErrorHandler, setInputStream, setProfile, setTokenFactory, setTokenStream, setTrace, setTrimParseTree, triggerEnterRuleEvent, triggerExitRuleEvent, unrollRecursionContexts
-
Methods inherited from class org.antlr.v4.runtime.Recognizer
action, addErrorListener, getErrorHeader, getErrorListenerDispatch, getErrorListeners, getInterpreter, getRuleIndexMap, getState, getTokenErrorDisplay, getTokenType, getTokenTypeMap, removeErrorListener, removeErrorListeners, sempred, setInterpreter, setState
-
-
-
-
Field Detail
-
_decisionToDFA
protected static final org.antlr.v4.runtime.dfa.DFA[] _decisionToDFA
-
_sharedContextCache
protected static final org.antlr.v4.runtime.atn.PredictionContextCache _sharedContextCache
-
T__0
public static final int T__0
- See Also:
- Constant Field Values
-
T__1
public static final int T__1
- See Also:
- Constant Field Values
-
T__2
public static final int T__2
- See Also:
- Constant Field Values
-
T__3
public static final int T__3
- See Also:
- Constant Field Values
-
T__4
public static final int T__4
- See Also:
- Constant Field Values
-
ADD
public static final int ADD
- See Also:
- Constant Field Values
-
ALTER
public static final int ALTER
- See Also:
- Constant Field Values
-
AS
public static final int AS
- See Also:
- Constant Field Values
-
ASC
public static final int ASC
- See Also:
- Constant Field Values
-
BY
public static final int BY
- See Also:
- Constant Field Values
-
CALL
public static final int CALL
- See Also:
- Constant Field Values
-
DESC
public static final int DESC
- See Also:
- Constant Field Values
-
DISTRIBUTED
public static final int DISTRIBUTED
- See Also:
- Constant Field Values
-
DROP
public static final int DROP
- See Also:
- Constant Field Values
-
FIELD
public static final int FIELD
- See Also:
- Constant Field Values
-
FIELDS
public static final int FIELDS
- See Also:
- Constant Field Values
-
FIRST
public static final int FIRST
- See Also:
- Constant Field Values
-
LAST
public static final int LAST
- See Also:
- Constant Field Values
-
LOCALLY
public static final int LOCALLY
- See Also:
- Constant Field Values
-
NULLS
public static final int NULLS
- See Also:
- Constant Field Values
-
ORDERED
public static final int ORDERED
- See Also:
- Constant Field Values
-
PARTITION
public static final int PARTITION
- See Also:
- Constant Field Values
-
REPLACE
public static final int REPLACE
- See Also:
- Constant Field Values
-
IDENTIFIER_KW
public static final int IDENTIFIER_KW
- See Also:
- Constant Field Values
-
SET
public static final int SET
- See Also:
- Constant Field Values
-
TABLE
public static final int TABLE
- See Also:
- Constant Field Values
-
UNORDERED
public static final int UNORDERED
- See Also:
- Constant Field Values
-
WITH
public static final int WITH
- See Also:
- Constant Field Values
-
WRITE
public static final int WRITE
- See Also:
- Constant Field Values
-
TRUE
public static final int TRUE
- See Also:
- Constant Field Values
-
FALSE
public static final int FALSE
- See Also:
- Constant Field Values
-
MAP
public static final int MAP
- See Also:
- Constant Field Values
-
PLUS
public static final int PLUS
- See Also:
- Constant Field Values
-
MINUS
public static final int MINUS
- See Also:
- Constant Field Values
-
STRING
public static final int STRING
- See Also:
- Constant Field Values
-
BIGINT_LITERAL
public static final int BIGINT_LITERAL
- See Also:
- Constant Field Values
-
SMALLINT_LITERAL
public static final int SMALLINT_LITERAL
- See Also:
- Constant Field Values
-
TINYINT_LITERAL
public static final int TINYINT_LITERAL
- See Also:
- Constant Field Values
-
INTEGER_VALUE
public static final int INTEGER_VALUE
- See Also:
- Constant Field Values
-
EXPONENT_VALUE
public static final int EXPONENT_VALUE
- See Also:
- Constant Field Values
-
DECIMAL_VALUE
public static final int DECIMAL_VALUE
- See Also:
- Constant Field Values
-
FLOAT_LITERAL
public static final int FLOAT_LITERAL
- See Also:
- Constant Field Values
-
DOUBLE_LITERAL
public static final int DOUBLE_LITERAL
- See Also:
- Constant Field Values
-
BIGDECIMAL_LITERAL
public static final int BIGDECIMAL_LITERAL
- See Also:
- Constant Field Values
-
IDENTIFIER
public static final int IDENTIFIER
- See Also:
- Constant Field Values
-
BACKQUOTED_IDENTIFIER
public static final int BACKQUOTED_IDENTIFIER
- See Also:
- Constant Field Values
-
SIMPLE_COMMENT
public static final int SIMPLE_COMMENT
- See Also:
- Constant Field Values
-
BRACKETED_COMMENT
public static final int BRACKETED_COMMENT
- See Also:
- Constant Field Values
-
WS
public static final int WS
- See Also:
- Constant Field Values
-
UNRECOGNIZED
public static final int UNRECOGNIZED
- See Also:
- Constant Field Values
-
RULE_singleStatement
public static final int RULE_singleStatement
- See Also:
- Constant Field Values
-
RULE_statement
public static final int RULE_statement
- See Also:
- Constant Field Values
-
RULE_writeSpec
public static final int RULE_writeSpec
- See Also:
- Constant Field Values
-
RULE_writeDistributionSpec
public static final int RULE_writeDistributionSpec
- See Also:
- Constant Field Values
-
RULE_writeOrderingSpec
public static final int RULE_writeOrderingSpec
- See Also:
- Constant Field Values
-
RULE_callArgument
public static final int RULE_callArgument
- See Also:
- Constant Field Values
-
RULE_order
public static final int RULE_order
- See Also:
- Constant Field Values
-
RULE_orderField
public static final int RULE_orderField
- See Also:
- Constant Field Values
-
RULE_transform
public static final int RULE_transform
- See Also:
- Constant Field Values
-
RULE_transformArgument
public static final int RULE_transformArgument
- See Also:
- Constant Field Values
-
RULE_expression
public static final int RULE_expression
- See Also:
- Constant Field Values
-
RULE_constant
public static final int RULE_constant
- See Also:
- Constant Field Values
-
RULE_stringMap
public static final int RULE_stringMap
- See Also:
- Constant Field Values
-
RULE_booleanValue
public static final int RULE_booleanValue
- See Also:
- Constant Field Values
-
RULE_number
public static final int RULE_number
- See Also:
- Constant Field Values
-
RULE_multipartIdentifier
public static final int RULE_multipartIdentifier
- See Also:
- Constant Field Values
-
RULE_identifier
public static final int RULE_identifier
- See Also:
- Constant Field Values
-
RULE_quotedIdentifier
public static final int RULE_quotedIdentifier
- See Also:
- Constant Field Values
-
RULE_fieldList
public static final int RULE_fieldList
- See Also:
- Constant Field Values
-
RULE_nonReserved
public static final int RULE_nonReserved
- See Also:
- Constant Field Values
-
ruleNames
public static final java.lang.String[] ruleNames
-
VOCABULARY
public static final org.antlr.v4.runtime.Vocabulary VOCABULARY
-
tokenNames
@Deprecated public static final java.lang.String[] tokenNames
Deprecated.UseVOCABULARY
instead.
-
_serializedATN
public static final java.lang.String _serializedATN
- See Also:
- Constant Field Values
-
_ATN
public static final org.antlr.v4.runtime.atn.ATN _ATN
-
-
Method Detail
-
getTokenNames
@Deprecated public java.lang.String[] getTokenNames()
Deprecated.- Specified by:
getTokenNames
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getVocabulary
public org.antlr.v4.runtime.Vocabulary getVocabulary()
- Overrides:
getVocabulary
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getGrammarFileName
public java.lang.String getGrammarFileName()
- Specified by:
getGrammarFileName
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getRuleNames
public java.lang.String[] getRuleNames()
- Specified by:
getRuleNames
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getSerializedATN
public java.lang.String getSerializedATN()
- Overrides:
getSerializedATN
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getATN
public org.antlr.v4.runtime.atn.ATN getATN()
- Specified by:
getATN
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
singleStatement
public final IcebergSqlExtensionsParser.SingleStatementContext singleStatement() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
statement
public final IcebergSqlExtensionsParser.StatementContext statement() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
writeSpec
public final IcebergSqlExtensionsParser.WriteSpecContext writeSpec() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
writeDistributionSpec
public final IcebergSqlExtensionsParser.WriteDistributionSpecContext writeDistributionSpec() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
writeOrderingSpec
public final IcebergSqlExtensionsParser.WriteOrderingSpecContext writeOrderingSpec() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
callArgument
public final IcebergSqlExtensionsParser.CallArgumentContext callArgument() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
order
public final IcebergSqlExtensionsParser.OrderContext order() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
orderField
public final IcebergSqlExtensionsParser.OrderFieldContext orderField() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
transform
public final IcebergSqlExtensionsParser.TransformContext transform() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
transformArgument
public final IcebergSqlExtensionsParser.TransformArgumentContext transformArgument() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
expression
public final IcebergSqlExtensionsParser.ExpressionContext expression() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
constant
public final IcebergSqlExtensionsParser.ConstantContext constant() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
stringMap
public final IcebergSqlExtensionsParser.StringMapContext stringMap() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
booleanValue
public final IcebergSqlExtensionsParser.BooleanValueContext booleanValue() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
number
public final IcebergSqlExtensionsParser.NumberContext number() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
multipartIdentifier
public final IcebergSqlExtensionsParser.MultipartIdentifierContext multipartIdentifier() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
identifier
public final IcebergSqlExtensionsParser.IdentifierContext identifier() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
quotedIdentifier
public final IcebergSqlExtensionsParser.QuotedIdentifierContext quotedIdentifier() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
fieldList
public final IcebergSqlExtensionsParser.FieldListContext fieldList() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
nonReserved
public final IcebergSqlExtensionsParser.NonReservedContext nonReserved() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
-