public final class SQL92Parser extends SQL92StatementParser implements org.apache.shardingsphere.sql.parser.api.parser.SQLParser
SQL92StatementParser.AddColumnSpecificationContext, SQL92StatementParser.AddConstraintSpecificationContext, SQL92StatementParser.AggregationFunctionContext, SQL92StatementParser.AggregationFunctionNameContext, SQL92StatementParser.AliasContext, SQL92StatementParser.AlterDefinitionClauseContext, SQL92StatementParser.AlterTableContext, SQL92StatementParser.AssignmentContext, SQL92StatementParser.AssignmentValueContext, SQL92StatementParser.AssignmentValuesContext, SQL92StatementParser.BitExprContext, SQL92StatementParser.BitValueLiteralsContext, SQL92StatementParser.BlobValueContext, SQL92StatementParser.BooleanLiteralsContext, SQL92StatementParser.BooleanPrimaryContext, SQL92StatementParser.CaseElse_Context, SQL92StatementParser.CaseExpressionContext, SQL92StatementParser.CaseWhen_Context, SQL92StatementParser.CastFunctionContext, SQL92StatementParser.CharacterSet_Context, SQL92StatementParser.CharacterSetName_Context, SQL92StatementParser.CheckConstraintDefinition_Context, SQL92StatementParser.CollateClause_Context, SQL92StatementParser.ColumnDefinitionContext, SQL92StatementParser.ColumnNameContext, SQL92StatementParser.ColumnNamesContext, SQL92StatementParser.CommitContext, SQL92StatementParser.ComparisonOperatorContext, SQL92StatementParser.ConstraintDefinitionContext, SQL92StatementParser.ConvertFunctionContext, SQL92StatementParser.CreateDatabaseContext, SQL92StatementParser.CreateDatabaseSpecification_Context, SQL92StatementParser.CreateDefinitionClauseContext, SQL92StatementParser.CreateDefinitionContext, SQL92StatementParser.CreateLikeClause_Context, SQL92StatementParser.CreateTableContext, SQL92StatementParser.CreateTableSpecification_Context, SQL92StatementParser.CreateViewContext, SQL92StatementParser.DataTypeContext, SQL92StatementParser.DataTypeLengthContext, SQL92StatementParser.DataTypeNameContext, SQL92StatementParser.DataTypeOptionContext, SQL92StatementParser.DateTimeLiteralsContext, SQL92StatementParser.DeleteContext, SQL92StatementParser.DistinctContext, SQL92StatementParser.DropBehaviour_Context, SQL92StatementParser.DropColumnSpecificationContext, SQL92StatementParser.DropConstraintSpecificationContext, SQL92StatementParser.DropDatabaseContext, SQL92StatementParser.DropTableContext, SQL92StatementParser.DropViewContext, SQL92StatementParser.DuplicateSpecificationContext, SQL92StatementParser.EscapedTableReferenceContext, SQL92StatementParser.ExecuteContext, SQL92StatementParser.ExprContext, SQL92StatementParser.ExtractFunctionContext, SQL92StatementParser.ForeignKeyOptionContext, SQL92StatementParser.FromClauseContext, SQL92StatementParser.FunctionCallContext, SQL92StatementParser.GrantContext, SQL92StatementParser.Grantee_Context, SQL92StatementParser.GroupByClauseContext, SQL92StatementParser.HavingClauseContext, SQL92StatementParser.HexadecimalLiteralsContext, SQL92StatementParser.IdentifierContext, SQL92StatementParser.IgnoredIdentifier_Context, SQL92StatementParser.InsertContext, SQL92StatementParser.InsertSelectClauseContext, SQL92StatementParser.InsertValuesClauseContext, SQL92StatementParser.IntervalExpressionContext, SQL92StatementParser.IntervalUnit_Context, SQL92StatementParser.JoinedTableContext, SQL92StatementParser.JoinSpecificationContext, SQL92StatementParser.KeyPart_Context, SQL92StatementParser.KeyParts_Context, SQL92StatementParser.LevelOfIsolation_Context, SQL92StatementParser.LimitClauseContext, SQL92StatementParser.LimitOffsetContext, SQL92StatementParser.LimitRowCountContext, SQL92StatementParser.LiteralsContext, SQL92StatementParser.LogicalOperatorContext, SQL92StatementParser.MatchExpression_Context, SQL92StatementParser.ModifyColumnSpecificationContext, SQL92StatementParser.NameContext, SQL92StatementParser.NotOperator_Context, SQL92StatementParser.NullValueLiteralsContext, SQL92StatementParser.NumberLiteralsContext, SQL92StatementParser.ObjectType_Context, SQL92StatementParser.OnObjectClauseContext, SQL92StatementParser.OrderByClauseContext, SQL92StatementParser.OrderByItemContext, SQL92StatementParser.OwnerContext, SQL92StatementParser.ParameterMarkerContext, SQL92StatementParser.PositionFunctionContext, SQL92StatementParser.PredicateContext, SQL92StatementParser.PrimaryKeyContext, SQL92StatementParser.PrimaryKeyOptionContext, SQL92StatementParser.PrivilegeClauseContext, SQL92StatementParser.PrivilegeLevelContext, SQL92StatementParser.Privileges_Context, SQL92StatementParser.PrivilegeType_Context, SQL92StatementParser.ProjectionContext, SQL92StatementParser.ProjectionsContext, SQL92StatementParser.QualifiedShorthandContext, SQL92StatementParser.ReferenceDefinitionContext, SQL92StatementParser.ReferenceOption_Context, SQL92StatementParser.RegularFunctionContext, SQL92StatementParser.RegularFunctionName_Context, SQL92StatementParser.RevokeContext, SQL92StatementParser.RollbackContext, SQL92StatementParser.SchemaNameContext, SQL92StatementParser.SelectClauseContext, SQL92StatementParser.SelectContext, SQL92StatementParser.SelectSpecificationContext, SQL92StatementParser.SetAssignmentsClauseContext, SQL92StatementParser.SetTransactionContext, SQL92StatementParser.SimpleExprContext, SQL92StatementParser.SingleTableClauseContext, SQL92StatementParser.SpecialFunctionContext, SQL92StatementParser.StringLiteralsContext, SQL92StatementParser.SubqueryContext, SQL92StatementParser.SubstringFunctionContext, SQL92StatementParser.TableFactorContext, SQL92StatementParser.TableNameContext, SQL92StatementParser.TableNamesContext, SQL92StatementParser.TableReferenceContext, SQL92StatementParser.TableReferencesContext, SQL92StatementParser.TrimFunction_Context, SQL92StatementParser.UnionClauseContext, SQL92StatementParser.UniqueOption_Context, SQL92StatementParser.UnqualifiedShorthandContext, SQL92StatementParser.UnreservedWordContext, SQL92StatementParser.UpdateContext, SQL92StatementParser.VariableContext, SQL92StatementParser.ViewNameContext, SQL92StatementParser.WhereClauseContext_ATN, _decisionToDFA, _serializedATN, _sharedContextCache, ABSOLUTE, ACTION, ADA, ADD, ALL, ALLOCATE, ALTER, AMPERSAND_, AND, AND_, ANY, ARE, ARRAY, AS, ASC, ASSERTION, ASTERISK_, AT, AT_, AUTHORIZATION, AVG, BACKSLASH_, BEGIN, BETWEEN, BIT, BIT_LENGTH, BIT_NUM_, BOOLEAN, BOTH, BY, C92, CALL, CARET_, CASCADE, CASCADED, CASE, CAST, CATALOG, CATALOG_NAME, CHAR, CHAR_LENGTH, CHARACTER, CHARACTER_LENGTH, CHARACTER_SET_CATALOG, CHARACTER_SET_NAME, CHARACTER_SET_SCHEMA, CHECK, CLASS_ORIGIN, CLOSE, COALESCE, COBOL, COLLATE, COLLATION, COLLATION_CATALOG, COLLATION_NAME, COLLATION_SCHEMA, COLON_, COLUMN, COLUMN_NAME, COMMA_, COMMAND_FUNCTION, COMMIT, COMMITTED, CONCAT_, CONDITION_NUMBER, CONNECT, CONNECTION, CONNECTION_NAME, CONSTRAINT, CONSTRAINT_CATALOG, CONSTRAINT_NAME, CONSTRAINT_SCHEMA, CONSTRAINTS, CONTINUE, CONVERT, CORRESPONDING, COUNT, CREATE, CROSS, CURRENT, CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP, CURRENT_USER, CURSOR, CURSOR_NAME, DATA, DATE, DATETIME_INTERVAL_CODE, DATETIME_INTERVAL_PRECISION, DAY, DEALLOCATE, DEC, DECIMAL, DECLARE, DEFAULT, DEFERRABLE, DEFERRED, DEFINER, DELETE, DEQ_, DESC, DESCRIBE, DESCRIPTOR, DIAGNOSTICS, DISABLE, DISCONNECT, DISTINCT, DO, DOMAIN, DOT_, DOT_ASTERISK_, DOUBLE, DQ_, DROP, DYNAMIC_FUNCTION, ELSE, ENABLE, END, END_EXEC, EQ_, ESCAPE, EXCEPT, EXCEPTION, EXEC, EXECUTE, EXISTS, EXTERNAL, EXTRACT, FALSE, FETCH, FIRST, FLOAT, FOR, FOR_GENERATOR, FOREIGN, FORTRAN, FOUND, FROM, FULL, FUNCTION, GET, GLOBAL, GO, GOTO, GRANT, GROUP, GT_, GTE_, HAVING, HEX_DIGIT_, HOUR, IDENTIFIER_, IDENTITY, IF, IMMEDIATE, IN, INDEX, INDICATOR, INITIALLY, INLINE_COMMENT, INNER, INPUT, INSENSITIVE, INSERT, INSTANCE, INTEGER, INTERSECT, INTERVAL, INTO, IS, ISOLATION, JOIN, KEY, LANGUAGE, LAST, LBE_, LBT_, LEADING, LEFT, LENGTH, LEVEL, LIKE, LIMIT, LOCAL, LOCALTIME, LOCALTIMESTAMP, LOWER, LP_, LT_, LTE_, MATCH, MAX, MESSAGE_LENGTH, MESSAGE_OCTET_LENGTH, MESSAGE_TEXT, MICROSECOND, MIN, MINUS_, MINUTE, MOD_, MODULE, MONTH, MORE92, MUMPS, NAME, NAMES, NATIONAL, NATURAL, NCHAR, NEQ_, NEXT, NO, NOT, NOT_, NULL, NULLABLE, NULLIF, NUMBER, NUMBER_, NUMERIC, OCTET_LENGTH, OF, OFFSET, ON, ONLY, OPEN, OPTION, OR, ORDER, OUTER, OUTPUT, OVERLAPS, PAD, PARTIAL, PASCAL, PLI, PLUS_, POSITION, POUND_, PRECISION, PREPARE, PRESERVE, PRIMARY, PRIOR, PRIVILEGES, PROCEDURE, PUBLIC, QUARTER, QUESTION_, RBE_, RBT_, READ, REAL, REFERENCES, RELATIVE, REPEATABLE, RESTRICT, RETURNED_LENGTH, RETURNED_OCTET_LENGTH, RETURNED_SQLSTATE, REVOKE, RIGHT, ROLLBACK, ROW_COUNT, ROWS, RP_, RULE_addColumnSpecification, RULE_addConstraintSpecification, RULE_aggregationFunction, RULE_aggregationFunctionName, RULE_alias, RULE_alterDefinitionClause, RULE_alterTable, RULE_assignment, RULE_assignmentValue, RULE_assignmentValues, RULE_bitExpr, RULE_bitValueLiterals, RULE_blobValue, RULE_booleanLiterals, RULE_booleanPrimary, RULE_caseElse_, RULE_caseExpression, RULE_caseWhen_, RULE_castFunction, RULE_characterSet_, RULE_characterSetName_, RULE_checkConstraintDefinition_, RULE_collateClause_, RULE_columnDefinition, RULE_columnName, RULE_columnNames, RULE_commit, RULE_comparisonOperator, RULE_constraintDefinition, RULE_convertFunction, RULE_createDatabase, RULE_createDatabaseSpecification_, RULE_createDefinition, RULE_createDefinitionClause, RULE_createLikeClause_, RULE_createTable, RULE_createTableSpecification_, RULE_createView, RULE_dataType, RULE_dataTypeLength, RULE_dataTypeName, RULE_dataTypeOption, RULE_dateTimeLiterals, RULE_delete, RULE_distinct, RULE_dropBehaviour_, RULE_dropColumnSpecification, RULE_dropConstraintSpecification, RULE_dropDatabase, RULE_dropTable, RULE_dropView, RULE_duplicateSpecification, RULE_escapedTableReference, RULE_execute, RULE_expr, RULE_extractFunction, RULE_foreignKeyOption, RULE_fromClause, RULE_functionCall, RULE_grant, RULE_grantee_, RULE_groupByClause, RULE_havingClause, RULE_hexadecimalLiterals, RULE_identifier, RULE_ignoredIdentifier_, RULE_insert, RULE_insertSelectClause, RULE_insertValuesClause, RULE_intervalExpression, RULE_intervalUnit_, RULE_joinedTable, RULE_joinSpecification, RULE_keyPart_, RULE_keyParts_, RULE_levelOfIsolation_, RULE_limitClause, RULE_limitOffset, RULE_limitRowCount, RULE_literals, RULE_logicalOperator, RULE_matchExpression_, RULE_modifyColumnSpecification, RULE_name, RULE_notOperator_, RULE_nullValueLiterals, RULE_numberLiterals, RULE_objectType_, RULE_onObjectClause, RULE_orderByClause, RULE_orderByItem, RULE_owner, RULE_parameterMarker, RULE_positionFunction, RULE_predicate, RULE_primaryKey, RULE_primaryKeyOption, RULE_privilegeClause, RULE_privilegeLevel, RULE_privileges_, RULE_privilegeType_, RULE_projection, RULE_projections, RULE_qualifiedShorthand, RULE_referenceDefinition, RULE_referenceOption_, RULE_regularFunction, RULE_regularFunctionName_, RULE_revoke, RULE_rollback, RULE_schemaName, RULE_select, RULE_selectClause, RULE_selectSpecification, RULE_setAssignmentsClause, RULE_setTransaction, RULE_simpleExpr, RULE_singleTableClause, RULE_specialFunction, RULE_stringLiterals, RULE_subquery, RULE_substringFunction, RULE_tableFactor, RULE_tableName, RULE_tableNames, RULE_tableReference, RULE_tableReferences, RULE_trimFunction_, RULE_unionClause, RULE_uniqueOption_, RULE_unqualifiedShorthand, RULE_unreservedWord, RULE_update, RULE_variable, RULE_viewName, RULE_whereClause, ruleNames, SAFE_EQ_, SAVEPOINT, SCALE, SCHEMA, SCHEMA_NAME, SCROLL, SECOND, SECTION, SELECT, SEMI_, SERIALIZABLE, SERVER_NAME, SESSION, SESSION_USER, SET, SIGNED_LEFT_SHIFT_, SIGNED_RIGHT_SHIFT_, SIZE, SLASH_, SMALLINT, SOME, SPACE, SQ_, SQL, SQLCODE, SQLERROR, SQLSTATE, STRING_, SUBCLASS_ORIGIN, SUBSTRING, SUM, SYSTEM_USER, TABLE, TABLE_NAME, TEMPORARY, THEN, TILDE_, TIME, TIMESTAMP, TIMEZONE_HOUR, TIMEZONE_MINUTE, TO, tokenNames, TRAILING, TRANSACTION, TRANSLATE, TRANSLATION, TRIGGER, TRIM, TRUE, TRUNCATE, TYPE, UNCOMMITTED, UNION, UNIQUE, UNKNOWN, UNNAMED, UPDATE, UPPER, USAGE, USER, USING, VALUE, VALUES, VARCHAR, VARYING, VERTICAL_BAR_, VIEW, VOCABULARY, WEEK, WHEN, WHENEVER, WHERE, WITH, WORK, WRITE, WS, YEAR, ZONE| 构造器和说明 |
|---|
SQL92Parser(org.antlr.v4.runtime.TokenStream input) |
| 限定符和类型 | 方法和说明 |
|---|---|
org.apache.shardingsphere.sql.parser.api.ASTNode |
parse() |
addColumnSpecification, addConstraintSpecification, aggregationFunction, aggregationFunctionName, alias, alterDefinitionClause, alterTable, assignment, assignmentValue, assignmentValues, bitExpr, bitValueLiterals, blobValue, booleanLiterals, booleanPrimary, caseElse_, caseExpression, caseWhen_, castFunction, characterSet_, characterSetName_, checkConstraintDefinition_, collateClause_, columnDefinition, columnName, columnNames, commit, comparisonOperator, constraintDefinition, convertFunction, createDatabase, createDatabaseSpecification_, createDefinition, createDefinitionClause, createLikeClause_, createTable, createTableSpecification_, createView, dataType, dataTypeLength, dataTypeName, dataTypeOption, dateTimeLiterals, delete, distinct, dropBehaviour_, dropColumnSpecification, dropConstraintSpecification, dropDatabase, dropTable, dropView, duplicateSpecification, escapedTableReference, execute, expr, extractFunction, foreignKeyOption, fromClause, functionCall, getATN, getGrammarFileName, getRuleNames, getSerializedATN, getTokenNames, getVocabulary, grant, grantee_, groupByClause, havingClause, hexadecimalLiterals, identifier, ignoredIdentifier_, insert, insertSelectClause, insertValuesClause, intervalExpression, intervalUnit_, joinedTable, joinSpecification, keyPart_, keyParts_, levelOfIsolation_, limitClause, limitOffset, limitRowCount, literals, logicalOperator, matchExpression_, modifyColumnSpecification, name, notOperator_, nullValueLiterals, numberLiterals, objectType_, onObjectClause, orderByClause, orderByItem, owner, parameterMarker, positionFunction, predicate, primaryKey, primaryKeyOption, privilegeClause, privilegeLevel, privileges_, privilegeType_, projection, projections, qualifiedShorthand, referenceDefinition, referenceOption_, regularFunction, regularFunctionName_, revoke, rollback, schemaName, select, selectClause, selectSpecification, sempred, setAssignmentsClause, setTransaction, simpleExpr, singleTableClause, specialFunction, stringLiterals, subquery, substringFunction, tableFactor, tableName, tableNames, tableReference, tableReferences, trimFunction_, unionClause, uniqueOption_, unqualifiedShorthand, unreservedWord, update, variable, viewName, whereClauseaddContextToParseTree, 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, unrollRecursionContextspublic org.apache.shardingsphere.sql.parser.api.ASTNode parse()
parse 在接口中 org.apache.shardingsphere.sql.parser.api.parser.SQLParserCopyright © 2020 The Apache Software Foundation. All rights reserved.