Class SchemaParser
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.drill.exec.record.metadata.schema.parser.SchemaParser
public class SchemaParser
extends org.antlr.v4.runtime.Parser
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
Nested classes/interfaces inherited from class org.antlr.v4.runtime.Parser
org.antlr.v4.runtime.Parser.TraceListener, org.antlr.v4.runtime.Parser.TrimToSizeListener
-
Field Summary
Modifier and TypeFieldDescriptionstatic final org.antlr.v4.runtime.atn.ATN
protected static final org.antlr.v4.runtime.dfa.DFA[]
static final String
protected static final org.antlr.v4.runtime.atn.PredictionContextCache
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final String[]
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final String[]
Deprecated.static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final org.antlr.v4.runtime.Vocabulary
static final int
Fields inherited from class org.antlr.v4.runtime.Parser
_buildParseTrees, _ctx, _errHandler, _input, _parseListeners, _precedenceStack, _syntaxErrors, matchedEOF
Fields inherited from class org.antlr.v4.runtime.Recognizer
_interp, EOF
-
Constructor Summary
-
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 Details
-
_decisionToDFA
protected static final org.antlr.v4.runtime.dfa.DFA[] _decisionToDFA -
INT
public static final int INT- See Also:
-
INTEGER
public static final int INTEGER- See Also:
-
BIGINT
public static final int BIGINT- See Also:
-
FLOAT
public static final int FLOAT- See Also:
-
DOUBLE
public static final int DOUBLE- See Also:
-
DEC
public static final int DEC- See Also:
-
DECIMAL
public static final int DECIMAL- See Also:
-
NUMERIC
public static final int NUMERIC- See Also:
-
BOOLEAN
public static final int BOOLEAN- See Also:
-
CHAR
public static final int CHAR- See Also:
-
CHARACTER
public static final int CHARACTER- See Also:
-
VARYING
public static final int VARYING- See Also:
-
VARCHAR
public static final int VARCHAR- See Also:
-
BINARY
public static final int BINARY- See Also:
-
VARBINARY
public static final int VARBINARY- See Also:
-
TIME
public static final int TIME- See Also:
-
DATE
public static final int DATE- See Also:
-
TIMESTAMP
public static final int TIMESTAMP- See Also:
-
INTERVAL
public static final int INTERVAL- See Also:
-
YEAR
public static final int YEAR- See Also:
-
MONTH
public static final int MONTH- See Also:
-
DAY
public static final int DAY- See Also:
-
HOUR
public static final int HOUR- See Also:
-
MINUTE
public static final int MINUTE- See Also:
-
SECOND
public static final int SECOND- See Also:
-
MAP
public static final int MAP- See Also:
-
STRUCT
public static final int STRUCT- See Also:
-
ARRAY
public static final int ARRAY- See Also:
-
UNION
public static final int UNION- See Also:
-
LATE
public static final int LATE- See Also:
-
DYNAMIC
public static final int DYNAMIC- See Also:
-
UINT1
public static final int UINT1- See Also:
-
UINT2
public static final int UINT2- See Also:
-
UINT4
public static final int UINT4- See Also:
-
UINT8
public static final int UINT8- See Also:
-
TINYINT
public static final int TINYINT- See Also:
-
SMALLINT
public static final int SMALLINT- See Also:
-
COMMA
public static final int COMMA- See Also:
-
REVERSE_QUOTE
public static final int REVERSE_QUOTE- See Also:
-
LEFT_PAREN
public static final int LEFT_PAREN- See Also:
-
RIGHT_PAREN
public static final int RIGHT_PAREN- See Also:
-
LEFT_ANGLE_BRACKET
public static final int LEFT_ANGLE_BRACKET- See Also:
-
RIGHT_ANGLE_BRACKET
public static final int RIGHT_ANGLE_BRACKET- See Also:
-
SINGLE_QUOTE
public static final int SINGLE_QUOTE- See Also:
-
DOUBLE_QUOTE
public static final int DOUBLE_QUOTE- See Also:
-
LEFT_BRACE
public static final int LEFT_BRACE- See Also:
-
RIGHT_BRACE
public static final int RIGHT_BRACE- See Also:
-
EQUALS_SIGN
public static final int EQUALS_SIGN- See Also:
-
NOT
public static final int NOT- See Also:
-
NULL
public static final int NULL- See Also:
-
AS
public static final int AS- See Also:
-
FORMAT
public static final int FORMAT- See Also:
-
DEFAULT
public static final int DEFAULT- See Also:
-
PROPERTIES
public static final int PROPERTIES- See Also:
-
NUMBER
public static final int NUMBER- See Also:
-
ID
public static final int ID- See Also:
-
QUOTED_ID
public static final int QUOTED_ID- See Also:
-
SINGLE_QUOTED_STRING
public static final int SINGLE_QUOTED_STRING- See Also:
-
DOUBLE_QUOTED_STRING
public static final int DOUBLE_QUOTED_STRING- See Also:
-
LINE_COMMENT
public static final int LINE_COMMENT- See Also:
-
BLOCK_COMMENT
public static final int BLOCK_COMMENT- See Also:
-
SPACE
public static final int SPACE- See Also:
-
RULE_schema
public static final int RULE_schema- See Also:
-
RULE_columns
public static final int RULE_columns- See Also:
-
RULE_column_def
public static final int RULE_column_def- See Also:
-
RULE_column
public static final int RULE_column- See Also:
-
RULE_primitive_column
public static final int RULE_primitive_column- See Also:
-
RULE_simple_array_column
public static final int RULE_simple_array_column- See Also:
-
RULE_struct_column
public static final int RULE_struct_column- See Also:
-
RULE_map_column
public static final int RULE_map_column- See Also:
-
RULE_complex_array_column
public static final int RULE_complex_array_column- See Also:
-
RULE_union_column
public static final int RULE_union_column- See Also:
-
RULE_column_id
public static final int RULE_column_id- See Also:
-
RULE_simple_type
public static final int RULE_simple_type- See Also:
-
RULE_union_type
public static final int RULE_union_type- See Also:
-
RULE_array_type
public static final int RULE_array_type- See Also:
-
RULE_simple_array_type
public static final int RULE_simple_array_type- See Also:
-
RULE_simple_array_value_type
public static final int RULE_simple_array_value_type- See Also:
-
RULE_complex_array_type
public static final int RULE_complex_array_type- See Also:
-
RULE_struct_type
public static final int RULE_struct_type- See Also:
-
RULE_map_type
public static final int RULE_map_type- See Also:
-
RULE_map_key_type_def
public static final int RULE_map_key_type_def- See Also:
-
RULE_map_key_type
public static final int RULE_map_key_type- See Also:
-
RULE_map_value_type_def
public static final int RULE_map_value_type_def- See Also:
-
RULE_map_value_type
public static final int RULE_map_value_type- See Also:
-
RULE_nullability
public static final int RULE_nullability- See Also:
-
RULE_format_value
public static final int RULE_format_value- See Also:
-
RULE_default_value
public static final int RULE_default_value- See Also:
-
RULE_property_values
public static final int RULE_property_values- See Also:
-
RULE_property_pair
public static final int RULE_property_pair- See Also:
-
RULE_string_value
public static final int RULE_string_value- See Also:
-
ruleNames
-
VOCABULARY
public static final org.antlr.v4.runtime.Vocabulary VOCABULARY -
tokenNames
Deprecated.UseVOCABULARY
instead. -
_serializedATN
- See Also:
-
_ATN
public static final org.antlr.v4.runtime.atn.ATN _ATN
-
-
Constructor Details
-
SchemaParser
public SchemaParser(org.antlr.v4.runtime.TokenStream input)
-
-
Method Details
-
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
- Specified by:
getGrammarFileName
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,
org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getRuleNames
- Specified by:
getRuleNames
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,
org.antlr.v4.runtime.atn.ParserATNSimulator>
-
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>
-
schema
- Throws:
org.antlr.v4.runtime.RecognitionException
-
columns
- Throws:
org.antlr.v4.runtime.RecognitionException
-
column_def
public final SchemaParser.Column_defContext column_def() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
column
- Throws:
org.antlr.v4.runtime.RecognitionException
-
primitive_column
public final SchemaParser.Primitive_columnContext primitive_column() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
simple_array_column
public final SchemaParser.Simple_array_columnContext simple_array_column() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
struct_column
public final SchemaParser.Struct_columnContext struct_column() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
map_column
public final SchemaParser.Map_columnContext map_column() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
complex_array_column
public final SchemaParser.Complex_array_columnContext complex_array_column() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
union_column
public final SchemaParser.Union_columnContext union_column() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
column_id
public final SchemaParser.Column_idContext column_id() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
simple_type
public final SchemaParser.Simple_typeContext simple_type() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
union_type
public final SchemaParser.Union_typeContext union_type() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
array_type
public final SchemaParser.Array_typeContext array_type() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
simple_array_type
public final SchemaParser.Simple_array_typeContext simple_array_type() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
simple_array_value_type
public final SchemaParser.Simple_array_value_typeContext simple_array_value_type() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
complex_array_type
public final SchemaParser.Complex_array_typeContext complex_array_type() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
struct_type
public final SchemaParser.Struct_typeContext struct_type() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
map_type
public final SchemaParser.Map_typeContext map_type() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
map_key_type_def
public final SchemaParser.Map_key_type_defContext map_key_type_def() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
map_key_type
public final SchemaParser.Map_key_typeContext map_key_type() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
map_value_type_def
public final SchemaParser.Map_value_type_defContext map_value_type_def() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
map_value_type
public final SchemaParser.Map_value_typeContext map_value_type() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
nullability
public final SchemaParser.NullabilityContext nullability() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
format_value
public final SchemaParser.Format_valueContext format_value() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
default_value
public final SchemaParser.Default_valueContext default_value() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
property_values
public final SchemaParser.Property_valuesContext property_values() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
property_pair
public final SchemaParser.Property_pairContext property_pair() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
string_value
public final SchemaParser.String_valueContext string_value() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
VOCABULARY
instead.