Package edu.caltech.nanodb.sqlparse
Class NanoSQLParser
- java.lang.Object
-
- org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
- org.antlr.v4.runtime.Parser
-
- edu.caltech.nanodb.sqlparse.NanoSQLParser
-
public class NanoSQLParser 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
private static java.lang.String[]
_LITERAL_NAMES
static java.lang.String
_serializedATN
protected static org.antlr.v4.runtime.atn.PredictionContextCache
_sharedContextCache
private static java.lang.String[]
_SYMBOLIC_NAMES
static int
ADD
static int
ALL
static int
ALTER
static int
ANALYZE
static int
AND
static int
ANY
static int
AS
static int
ASC
static int
ASCENDING
static int
BEGIN
static int
BETWEEN
static int
BY
static int
CASCADE
static int
CHECK
static int
COLUMN
static int
COMMENT
static int
COMMIT
static int
CONSTRAINT
static int
CRASH
static int
CREATE
static int
CROSS
static int
DECIMAL_LITERAL
static int
DEFAULT
static int
DELETE
static int
DESC
static int
DESCENDING
static int
DISTINCT
static int
DROP
static int
DUMP
static int
EXCEPT
static int
EXISTS
static int
EXIT
static int
EXPLAIN
static int
FALSE
static int
FILE
static int
FLUSH
static int
FOREIGN
static int
FORMAT
static int
FROM
static int
FULL
static int
GROUP
static int
HAVING
static int
IDENT
static int
IF
static int
IN
static int
INDEX
static int
INNER
static int
INSERT
static int
INT_LITERAL
static int
INTERSECT
static int
INTERVAL
static int
INTO
static int
IS
static int
JOIN
static int
KEY
static int
LEFT
static int
LIKE
static int
LIMIT
static int
LINE_COMMENT
static int
MINUS
static int
NATURAL
static int
NOT
static int
NULL
static int
OFFSET
static int
ON
static int
OPTIMIZE
static int
OR
static int
ORDER
static int
OUTER
static int
PRIMARY
static int
PROPERTIES
static int
PROPERTY
static int
QUIT
static int
RECURSIVE
static int
REFERENCES
static int
RENAME
static int
RESTRICT
static int
RIGHT
static int
ROLLBACK
static int
RULE_analyzeStmt
static int
RULE_beginTxnStmt
static int
RULE_cascadeOption
static int
RULE_cmdProperties
static int
RULE_columnConstraint
static int
RULE_columnRef
static int
RULE_columnType
static int
RULE_command
static int
RULE_commandNoSemicolon
static int
RULE_commands
static int
RULE_commitTxnStmt
static int
RULE_crashStmt
static int
RULE_createIndexStmt
static int
RULE_createTableStmt
static int
RULE_deleteStmt
static int
RULE_dropIndexStmt
static int
RULE_dropTableStmt
static int
RULE_dumpIndexStmt
static int
RULE_dumpTableStmt
static int
RULE_exitStmt
static int
RULE_explainStmt
static int
RULE_expression
static int
RULE_expressionList
static int
RULE_flushStmt
static int
RULE_fromExpr
static int
RULE_functionCall
static int
RULE_insertStmt
static int
RULE_joinType
static int
RULE_literalValue
static int
RULE_optimizeStmt
static int
RULE_orderByExpr
static int
RULE_rollbackTxnStmt
static int
RULE_selectStmt
static int
RULE_selectValue
static int
RULE_setPropStmt
static int
RULE_showPropsStmt
static int
RULE_showSystemStatsStmt
static int
RULE_showTablesStmt
static int
RULE_showTableStatsStmt
static int
RULE_tableColDecl
static int
RULE_tableConstraint
static int
RULE_updateStmt
static int
RULE_verifyStmt
static java.lang.String[]
ruleNames
static int
SELECT
static int
SET
static int
SHOW
static int
SIMILAR
static int
SOME
static int
START
static int
STATS
static int
STRING_LITERAL
static int
T__0
static int
T__1
static int
T__10
static int
T__11
static int
T__12
static int
T__13
static int
T__14
static int
T__15
static int
T__16
static int
T__17
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 int
T__8
static int
T__9
static int
TABLE
static int
TABLES
static int
TEMPORARY
static int
TO
static java.lang.String[]
tokenNames
Deprecated.UseVOCABULARY
instead.static int
TRANSACTION
static int
TRUE
static int
TYPE
static int
TYPE_BIGINT
static int
TYPE_BLOB
static int
TYPE_CHAR
static int
TYPE_CHARACTER
static int
TYPE_DATE
static int
TYPE_DATETIME
static int
TYPE_DECIMAL
static int
TYPE_DOUBLE
static int
TYPE_FLOAT
static int
TYPE_INT
static int
TYPE_INTEGER
static int
TYPE_NUMERIC
static int
TYPE_SMALLINT
static int
TYPE_TEXT
static int
TYPE_TIME
static int
TYPE_TIMESTAMP
static int
TYPE_TINYINT
static int
TYPE_VARCHAR
static int
TYPE_VARYING
static int
UNION
static int
UNIQUE
static int
UNKNOWN
static int
UPDATE
static int
USING
static int
VALUES
static int
VERBOSE
static int
VERIFY
static int
VIEW
static org.antlr.v4.runtime.Vocabulary
VOCABULARY
static int
WHERE
static int
WITH
static int
WORK
static int
WS
-
Constructor Summary
Constructors Constructor Description NanoSQLParser(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, 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
-
T__5
public static final int T__5
- See Also:
- Constant Field Values
-
T__6
public static final int T__6
- See Also:
- Constant Field Values
-
T__7
public static final int T__7
- See Also:
- Constant Field Values
-
T__8
public static final int T__8
- See Also:
- Constant Field Values
-
T__9
public static final int T__9
- See Also:
- Constant Field Values
-
T__10
public static final int T__10
- See Also:
- Constant Field Values
-
T__11
public static final int T__11
- See Also:
- Constant Field Values
-
T__12
public static final int T__12
- See Also:
- Constant Field Values
-
T__13
public static final int T__13
- See Also:
- Constant Field Values
-
T__14
public static final int T__14
- See Also:
- Constant Field Values
-
T__15
public static final int T__15
- See Also:
- Constant Field Values
-
T__16
public static final int T__16
- See Also:
- Constant Field Values
-
T__17
public static final int T__17
- See Also:
- Constant Field Values
-
ADD
public static final int ADD
- See Also:
- Constant Field Values
-
ALL
public static final int ALL
- See Also:
- Constant Field Values
-
ALTER
public static final int ALTER
- See Also:
- Constant Field Values
-
ANALYZE
public static final int ANALYZE
- See Also:
- Constant Field Values
-
AND
public static final int AND
- See Also:
- Constant Field Values
-
ANY
public static final int ANY
- 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
-
ASCENDING
public static final int ASCENDING
- See Also:
- Constant Field Values
-
BEGIN
public static final int BEGIN
- See Also:
- Constant Field Values
-
BETWEEN
public static final int BETWEEN
- See Also:
- Constant Field Values
-
BY
public static final int BY
- See Also:
- Constant Field Values
-
CASCADE
public static final int CASCADE
- See Also:
- Constant Field Values
-
CHECK
public static final int CHECK
- See Also:
- Constant Field Values
-
COLUMN
public static final int COLUMN
- See Also:
- Constant Field Values
-
COMMIT
public static final int COMMIT
- See Also:
- Constant Field Values
-
CONSTRAINT
public static final int CONSTRAINT
- See Also:
- Constant Field Values
-
CRASH
public static final int CRASH
- See Also:
- Constant Field Values
-
CREATE
public static final int CREATE
- See Also:
- Constant Field Values
-
CROSS
public static final int CROSS
- See Also:
- Constant Field Values
-
DEFAULT
public static final int DEFAULT
- See Also:
- Constant Field Values
-
DELETE
public static final int DELETE
- See Also:
- Constant Field Values
-
DESC
public static final int DESC
- See Also:
- Constant Field Values
-
DESCENDING
public static final int DESCENDING
- See Also:
- Constant Field Values
-
DISTINCT
public static final int DISTINCT
- See Also:
- Constant Field Values
-
DROP
public static final int DROP
- See Also:
- Constant Field Values
-
DUMP
public static final int DUMP
- See Also:
- Constant Field Values
-
EXCEPT
public static final int EXCEPT
- See Also:
- Constant Field Values
-
EXISTS
public static final int EXISTS
- See Also:
- Constant Field Values
-
EXIT
public static final int EXIT
- See Also:
- Constant Field Values
-
EXPLAIN
public static final int EXPLAIN
- See Also:
- Constant Field Values
-
FALSE
public static final int FALSE
- See Also:
- Constant Field Values
-
FILE
public static final int FILE
- See Also:
- Constant Field Values
-
FLUSH
public static final int FLUSH
- See Also:
- Constant Field Values
-
FOREIGN
public static final int FOREIGN
- See Also:
- Constant Field Values
-
FORMAT
public static final int FORMAT
- See Also:
- Constant Field Values
-
FROM
public static final int FROM
- See Also:
- Constant Field Values
-
FULL
public static final int FULL
- See Also:
- Constant Field Values
-
GROUP
public static final int GROUP
- See Also:
- Constant Field Values
-
HAVING
public static final int HAVING
- See Also:
- Constant Field Values
-
IF
public static final int IF
- See Also:
- Constant Field Values
-
IN
public static final int IN
- See Also:
- Constant Field Values
-
INDEX
public static final int INDEX
- See Also:
- Constant Field Values
-
INNER
public static final int INNER
- See Also:
- Constant Field Values
-
INSERT
public static final int INSERT
- See Also:
- Constant Field Values
-
INTERSECT
public static final int INTERSECT
- See Also:
- Constant Field Values
-
INTERVAL
public static final int INTERVAL
- See Also:
- Constant Field Values
-
INTO
public static final int INTO
- See Also:
- Constant Field Values
-
IS
public static final int IS
- See Also:
- Constant Field Values
-
JOIN
public static final int JOIN
- See Also:
- Constant Field Values
-
KEY
public static final int KEY
- See Also:
- Constant Field Values
-
LEFT
public static final int LEFT
- See Also:
- Constant Field Values
-
LIKE
public static final int LIKE
- See Also:
- Constant Field Values
-
LIMIT
public static final int LIMIT
- See Also:
- Constant Field Values
-
MINUS
public static final int MINUS
- See Also:
- Constant Field Values
-
NATURAL
public static final int NATURAL
- See Also:
- Constant Field Values
-
NOT
public static final int NOT
- See Also:
- Constant Field Values
-
NULL
public static final int NULL
- See Also:
- Constant Field Values
-
OFFSET
public static final int OFFSET
- See Also:
- Constant Field Values
-
ON
public static final int ON
- See Also:
- Constant Field Values
-
OPTIMIZE
public static final int OPTIMIZE
- See Also:
- Constant Field Values
-
OR
public static final int OR
- See Also:
- Constant Field Values
-
ORDER
public static final int ORDER
- See Also:
- Constant Field Values
-
OUTER
public static final int OUTER
- See Also:
- Constant Field Values
-
PRIMARY
public static final int PRIMARY
- See Also:
- Constant Field Values
-
PROPERTIES
public static final int PROPERTIES
- See Also:
- Constant Field Values
-
PROPERTY
public static final int PROPERTY
- See Also:
- Constant Field Values
-
QUIT
public static final int QUIT
- See Also:
- Constant Field Values
-
RECURSIVE
public static final int RECURSIVE
- See Also:
- Constant Field Values
-
REFERENCES
public static final int REFERENCES
- See Also:
- Constant Field Values
-
RENAME
public static final int RENAME
- See Also:
- Constant Field Values
-
RESTRICT
public static final int RESTRICT
- See Also:
- Constant Field Values
-
RIGHT
public static final int RIGHT
- See Also:
- Constant Field Values
-
ROLLBACK
public static final int ROLLBACK
- See Also:
- Constant Field Values
-
SELECT
public static final int SELECT
- See Also:
- Constant Field Values
-
SET
public static final int SET
- See Also:
- Constant Field Values
-
SHOW
public static final int SHOW
- See Also:
- Constant Field Values
-
SIMILAR
public static final int SIMILAR
- See Also:
- Constant Field Values
-
SOME
public static final int SOME
- See Also:
- Constant Field Values
-
START
public static final int START
- See Also:
- Constant Field Values
-
STATS
public static final int STATS
- See Also:
- Constant Field Values
-
TABLE
public static final int TABLE
- See Also:
- Constant Field Values
-
TABLES
public static final int TABLES
- See Also:
- Constant Field Values
-
TEMPORARY
public static final int TEMPORARY
- See Also:
- Constant Field Values
-
TO
public static final int TO
- See Also:
- Constant Field Values
-
TRANSACTION
public static final int TRANSACTION
- See Also:
- Constant Field Values
-
TRUE
public static final int TRUE
- See Also:
- Constant Field Values
-
TYPE
public static final int TYPE
- See Also:
- Constant Field Values
-
UNION
public static final int UNION
- See Also:
- Constant Field Values
-
UNIQUE
public static final int UNIQUE
- See Also:
- Constant Field Values
-
UNKNOWN
public static final int UNKNOWN
- See Also:
- Constant Field Values
-
UPDATE
public static final int UPDATE
- See Also:
- Constant Field Values
-
USING
public static final int USING
- See Also:
- Constant Field Values
-
VALUES
public static final int VALUES
- See Also:
- Constant Field Values
-
VERBOSE
public static final int VERBOSE
- See Also:
- Constant Field Values
-
VERIFY
public static final int VERIFY
- See Also:
- Constant Field Values
-
VIEW
public static final int VIEW
- See Also:
- Constant Field Values
-
WHERE
public static final int WHERE
- See Also:
- Constant Field Values
-
WITH
public static final int WITH
- See Also:
- Constant Field Values
-
WORK
public static final int WORK
- See Also:
- Constant Field Values
-
TYPE_BIGINT
public static final int TYPE_BIGINT
- See Also:
- Constant Field Values
-
TYPE_BLOB
public static final int TYPE_BLOB
- See Also:
- Constant Field Values
-
TYPE_CHAR
public static final int TYPE_CHAR
- See Also:
- Constant Field Values
-
TYPE_CHARACTER
public static final int TYPE_CHARACTER
- See Also:
- Constant Field Values
-
TYPE_DATE
public static final int TYPE_DATE
- See Also:
- Constant Field Values
-
TYPE_DATETIME
public static final int TYPE_DATETIME
- See Also:
- Constant Field Values
-
TYPE_DECIMAL
public static final int TYPE_DECIMAL
- See Also:
- Constant Field Values
-
TYPE_FLOAT
public static final int TYPE_FLOAT
- See Also:
- Constant Field Values
-
TYPE_DOUBLE
public static final int TYPE_DOUBLE
- See Also:
- Constant Field Values
-
TYPE_INT
public static final int TYPE_INT
- See Also:
- Constant Field Values
-
TYPE_INTEGER
public static final int TYPE_INTEGER
- See Also:
- Constant Field Values
-
TYPE_NUMERIC
public static final int TYPE_NUMERIC
- See Also:
- Constant Field Values
-
TYPE_SMALLINT
public static final int TYPE_SMALLINT
- See Also:
- Constant Field Values
-
TYPE_TEXT
public static final int TYPE_TEXT
- See Also:
- Constant Field Values
-
TYPE_TIME
public static final int TYPE_TIME
- See Also:
- Constant Field Values
-
TYPE_TIMESTAMP
public static final int TYPE_TIMESTAMP
- See Also:
- Constant Field Values
-
TYPE_TINYINT
public static final int TYPE_TINYINT
- See Also:
- Constant Field Values
-
TYPE_VARCHAR
public static final int TYPE_VARCHAR
- See Also:
- Constant Field Values
-
TYPE_VARYING
public static final int TYPE_VARYING
- See Also:
- Constant Field Values
-
IDENT
public static final int IDENT
- See Also:
- Constant Field Values
-
INT_LITERAL
public static final int INT_LITERAL
- See Also:
- Constant Field Values
-
DECIMAL_LITERAL
public static final int DECIMAL_LITERAL
- See Also:
- Constant Field Values
-
STRING_LITERAL
public static final int STRING_LITERAL
- See Also:
- Constant Field Values
-
WS
public static final int WS
- See Also:
- Constant Field Values
-
COMMENT
public static final int COMMENT
- See Also:
- Constant Field Values
-
LINE_COMMENT
public static final int LINE_COMMENT
- See Also:
- Constant Field Values
-
RULE_commands
public static final int RULE_commands
- See Also:
- Constant Field Values
-
RULE_command
public static final int RULE_command
- See Also:
- Constant Field Values
-
RULE_commandNoSemicolon
public static final int RULE_commandNoSemicolon
- See Also:
- Constant Field Values
-
RULE_createTableStmt
public static final int RULE_createTableStmt
- See Also:
- Constant Field Values
-
RULE_tableColDecl
public static final int RULE_tableColDecl
- See Also:
- Constant Field Values
-
RULE_columnType
public static final int RULE_columnType
- See Also:
- Constant Field Values
-
RULE_columnConstraint
public static final int RULE_columnConstraint
- See Also:
- Constant Field Values
-
RULE_tableConstraint
public static final int RULE_tableConstraint
- See Also:
- Constant Field Values
-
RULE_cascadeOption
public static final int RULE_cascadeOption
- See Also:
- Constant Field Values
-
RULE_dropTableStmt
public static final int RULE_dropTableStmt
- See Also:
- Constant Field Values
-
RULE_createIndexStmt
public static final int RULE_createIndexStmt
- See Also:
- Constant Field Values
-
RULE_dropIndexStmt
public static final int RULE_dropIndexStmt
- See Also:
- Constant Field Values
-
RULE_showTablesStmt
public static final int RULE_showTablesStmt
- See Also:
- Constant Field Values
-
RULE_analyzeStmt
public static final int RULE_analyzeStmt
- See Also:
- Constant Field Values
-
RULE_optimizeStmt
public static final int RULE_optimizeStmt
- See Also:
- Constant Field Values
-
RULE_verifyStmt
public static final int RULE_verifyStmt
- See Also:
- Constant Field Values
-
RULE_dumpTableStmt
public static final int RULE_dumpTableStmt
- See Also:
- Constant Field Values
-
RULE_dumpIndexStmt
public static final int RULE_dumpIndexStmt
- See Also:
- Constant Field Values
-
RULE_showTableStatsStmt
public static final int RULE_showTableStatsStmt
- See Also:
- Constant Field Values
-
RULE_beginTxnStmt
public static final int RULE_beginTxnStmt
- See Also:
- Constant Field Values
-
RULE_commitTxnStmt
public static final int RULE_commitTxnStmt
- See Also:
- Constant Field Values
-
RULE_rollbackTxnStmt
public static final int RULE_rollbackTxnStmt
- See Also:
- Constant Field Values
-
RULE_showPropsStmt
public static final int RULE_showPropsStmt
- See Also:
- Constant Field Values
-
RULE_setPropStmt
public static final int RULE_setPropStmt
- See Also:
- Constant Field Values
-
RULE_showSystemStatsStmt
public static final int RULE_showSystemStatsStmt
- See Also:
- Constant Field Values
-
RULE_flushStmt
public static final int RULE_flushStmt
- See Also:
- Constant Field Values
-
RULE_crashStmt
public static final int RULE_crashStmt
- See Also:
- Constant Field Values
-
RULE_exitStmt
public static final int RULE_exitStmt
- See Also:
- Constant Field Values
-
RULE_selectStmt
public static final int RULE_selectStmt
- See Also:
- Constant Field Values
-
RULE_selectValue
public static final int RULE_selectValue
- See Also:
- Constant Field Values
-
RULE_joinType
public static final int RULE_joinType
- See Also:
- Constant Field Values
-
RULE_fromExpr
public static final int RULE_fromExpr
- See Also:
- Constant Field Values
-
RULE_orderByExpr
public static final int RULE_orderByExpr
- See Also:
- Constant Field Values
-
RULE_insertStmt
public static final int RULE_insertStmt
- See Also:
- Constant Field Values
-
RULE_updateStmt
public static final int RULE_updateStmt
- See Also:
- Constant Field Values
-
RULE_deleteStmt
public static final int RULE_deleteStmt
- See Also:
- Constant Field Values
-
RULE_explainStmt
public static final int RULE_explainStmt
- See Also:
- Constant Field Values
-
RULE_cmdProperties
public static final int RULE_cmdProperties
- See Also:
- Constant Field Values
-
RULE_expression
public static final int RULE_expression
- See Also:
- Constant Field Values
-
RULE_literalValue
public static final int RULE_literalValue
- See Also:
- Constant Field Values
-
RULE_columnRef
public static final int RULE_columnRef
- See Also:
- Constant Field Values
-
RULE_expressionList
public static final int RULE_expressionList
- See Also:
- Constant Field Values
-
RULE_functionCall
public static final int RULE_functionCall
- See Also:
- Constant Field Values
-
ruleNames
public static final java.lang.String[] ruleNames
-
_LITERAL_NAMES
private static final java.lang.String[] _LITERAL_NAMES
-
_SYMBOLIC_NAMES
private static final java.lang.String[] _SYMBOLIC_NAMES
-
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>
-
commands
public final NanoSQLParser.CommandsContext commands() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
command
public final NanoSQLParser.CommandContext command() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
commandNoSemicolon
public final NanoSQLParser.CommandNoSemicolonContext commandNoSemicolon() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
createTableStmt
public final NanoSQLParser.CreateTableStmtContext createTableStmt() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
tableColDecl
public final NanoSQLParser.TableColDeclContext tableColDecl() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
columnType
public final NanoSQLParser.ColumnTypeContext columnType() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
columnConstraint
public final NanoSQLParser.ColumnConstraintContext columnConstraint() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
tableConstraint
public final NanoSQLParser.TableConstraintContext tableConstraint() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
cascadeOption
public final NanoSQLParser.CascadeOptionContext cascadeOption() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
dropTableStmt
public final NanoSQLParser.DropTableStmtContext dropTableStmt() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
createIndexStmt
public final NanoSQLParser.CreateIndexStmtContext createIndexStmt() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
dropIndexStmt
public final NanoSQLParser.DropIndexStmtContext dropIndexStmt() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
showTablesStmt
public final NanoSQLParser.ShowTablesStmtContext showTablesStmt() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
analyzeStmt
public final NanoSQLParser.AnalyzeStmtContext analyzeStmt() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
optimizeStmt
public final NanoSQLParser.OptimizeStmtContext optimizeStmt() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
verifyStmt
public final NanoSQLParser.VerifyStmtContext verifyStmt() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
dumpTableStmt
public final NanoSQLParser.DumpTableStmtContext dumpTableStmt() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
dumpIndexStmt
public final NanoSQLParser.DumpIndexStmtContext dumpIndexStmt() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
showTableStatsStmt
public final NanoSQLParser.ShowTableStatsStmtContext showTableStatsStmt() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
beginTxnStmt
public final NanoSQLParser.BeginTxnStmtContext beginTxnStmt() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
commitTxnStmt
public final NanoSQLParser.CommitTxnStmtContext commitTxnStmt() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
rollbackTxnStmt
public final NanoSQLParser.RollbackTxnStmtContext rollbackTxnStmt() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
showPropsStmt
public final NanoSQLParser.ShowPropsStmtContext showPropsStmt() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
setPropStmt
public final NanoSQLParser.SetPropStmtContext setPropStmt() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
showSystemStatsStmt
public final NanoSQLParser.ShowSystemStatsStmtContext showSystemStatsStmt() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
flushStmt
public final NanoSQLParser.FlushStmtContext flushStmt() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
crashStmt
public final NanoSQLParser.CrashStmtContext crashStmt() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
exitStmt
public final NanoSQLParser.ExitStmtContext exitStmt() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
selectStmt
public final NanoSQLParser.SelectStmtContext selectStmt() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
selectValue
public final NanoSQLParser.SelectValueContext selectValue() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
joinType
public final NanoSQLParser.JoinTypeContext joinType() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
fromExpr
public final NanoSQLParser.FromExprContext fromExpr() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
fromExpr
private NanoSQLParser.FromExprContext fromExpr(int _p) throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
orderByExpr
public final NanoSQLParser.OrderByExprContext orderByExpr() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
insertStmt
public final NanoSQLParser.InsertStmtContext insertStmt() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
updateStmt
public final NanoSQLParser.UpdateStmtContext updateStmt() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
deleteStmt
public final NanoSQLParser.DeleteStmtContext deleteStmt() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
explainStmt
public final NanoSQLParser.ExplainStmtContext explainStmt() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
cmdProperties
public final NanoSQLParser.CmdPropertiesContext cmdProperties() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
expression
public final NanoSQLParser.ExpressionContext expression() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
expression
private NanoSQLParser.ExpressionContext expression(int _p) throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
literalValue
public final NanoSQLParser.LiteralValueContext literalValue() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
columnRef
public final NanoSQLParser.ColumnRefContext columnRef() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
expressionList
public final NanoSQLParser.ExpressionListContext expressionList() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
functionCall
public final NanoSQLParser.FunctionCallContext functionCall() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
sempred
public boolean sempred(org.antlr.v4.runtime.RuleContext _localctx, int ruleIndex, int predIndex)
- Overrides:
sempred
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
fromExpr_sempred
private boolean fromExpr_sempred(NanoSQLParser.FromExprContext _localctx, int predIndex)
-
expression_sempred
private boolean expression_sempred(NanoSQLParser.ExpressionContext _localctx, int predIndex)
-
-