org.eigenbase.sql.parser.impl
Class SqlParserImpl

java.lang.Object
  extended by org.eigenbase.sql.parser.SqlAbstractParserImpl
      extended by org.eigenbase.sql.parser.impl.SqlParserImpl
All Implemented Interfaces:
SqlParserImplConstants

public class SqlParserImpl
extends SqlAbstractParserImpl
implements SqlParserImplConstants

SQL parser, generated from Parser.jj and CommonParser.jj by JavaCC.

The public wrapper for this parser is SqlParser.

Since:
Mar 18, 2003
Version:
$Id: //open/dev/farrago/src/org/eigenbase/sql/parser/Parser.jj#19 $
Author:
jhyde

Nested Class Summary
(package private) static class SqlParserImpl.JJCalls
           
private static class SqlParserImpl.LookaheadSuccess
           
 
Nested classes/interfaces inherited from class org.eigenbase.sql.parser.SqlAbstractParserImpl
SqlAbstractParserImpl.ExprContext, SqlAbstractParserImpl.Metadata, SqlAbstractParserImpl.MetadataImpl
 
Field Summary
private  SqlParserImpl.JJCalls[] jj_2_rtns
           
private  int jj_endpos
           
private  Vector jj_expentries
           
private  int[] jj_expentry
           
private  int jj_gc
           
private  int jj_gen
           
(package private)  SimpleCharStream jj_input_stream
           
private  int jj_kind
           
private  int jj_la
           
private  int[] jj_la1
           
private static int[] jj_la1_0
           
private static int[] jj_la1_1
           
private static int[] jj_la1_10
           
private static int[] jj_la1_11
           
private static int[] jj_la1_12
           
private static int[] jj_la1_13
           
private static int[] jj_la1_14
           
private static int[] jj_la1_15
           
private static int[] jj_la1_16
           
private static int[] jj_la1_17
           
private static int[] jj_la1_18
           
private static int[] jj_la1_2
           
private static int[] jj_la1_3
           
private static int[] jj_la1_4
           
private static int[] jj_la1_5
           
private static int[] jj_la1_6
           
private static int[] jj_la1_7
           
private static int[] jj_la1_8
           
private static int[] jj_la1_9
           
private  Token jj_lastpos
           
private  int[] jj_lasttokens
           
private  SqlParserImpl.LookaheadSuccess jj_ls
           
 Token jj_nt
           
private  int jj_ntk
           
private  boolean jj_rescan
           
private  Token jj_scanpos
           
private  boolean jj_semLA
           
 boolean lookingAhead
           
private static SqlAbstractParserImpl.Metadata metadata
           
 Token token
           
 SqlParserImplTokenManager token_source
           
private static Logger tracer
           
 
Fields inherited from class org.eigenbase.sql.parser.SqlAbstractParserImpl
nDynamicParams, opTab
 
Fields inherited from interface org.eigenbase.sql.parser.impl.SqlParserImplConstants
A, ABS, ABSOLUTE, ACTION, ADA, ADD, ADMIN, AFTER, ALL, ALLOCATE, ALLOW, ALTER, ALWAYS, AND, ANY, APPROX_NUMERIC_LITERAL, ARE, ARRAY, AS, ASC, ASENSITIVE, ASSERTION, ASSIGNMENT, ASYMMETRIC, AT, ATOMIC, ATTRIBUTE, ATTRIBUTES, AUTHORIZATION, AVG, BEFORE, BEGIN, BEL, BERNOULLI, BETWEEN, BIGINT, BINARY, BINARY_STRING_LITERAL, BIT, BLOB, BOOLEAN, BOTH, BREADTH, BY, C, CALL, CALLED, CARDINALITY, CASCADE, CASCADED, CASE, CAST, CATALOG, CATALOG_NAME, CEIL, CEILING, CHAIN, CHAR, CHAR_LENGTH, CHARACTER, CHARACTER_LENGTH, CHARACTER_SET_CATALOG, CHARACTER_SET_NAME, CHARACTER_SET_SCHEMA, CHARACTERISTICS, CHARACTERS, CHARSETNAME, CHECK, CLASS_ORIGIN, CLOB, CLOSE, COALESCE, COBOL, COLLATE, COLLATION, COLLATION_CATALOG, COLLATION_ID, COLLATION_NAME, COLLATION_SCHEMA, COLLECT, COLON, COLUMN, COLUMN_NAME, COMMA, COMMAND_FUNCTION, COMMAND_FUNCTION_CODE, COMMIT, COMMITTED, CONCAT, CONDITION, CONDITION_NUMBER, CONNECT, CONNECTION, CONNECTION_NAME, CONSTRAINT, CONSTRAINT_CATALOG, CONSTRAINT_NAME, CONSTRAINT_SCHEMA, CONSTRAINTS, CONSTRUCTOR, CONTAINS, CONTINUE, CONVERT, CORR, CORRESPONDING, COUNT, COVAR_POP, COVAR_SAMP, CREATE, CROSS, CUBE, CUME_DIST, CURRENT, CURRENT_CATALOG, CURRENT_DATE, CURRENT_DEFAULT_TRANSFORM_GROUP, CURRENT_PATH, CURRENT_ROLE, CURRENT_SCHEMA, CURRENT_TIME, CURRENT_TIMESTAMP, CURRENT_TRANSFORM_GROUP_FOR_TYPE, CURRENT_USER, CURSOR, CURSOR_NAME, CYCLE, DATA, DATE, DATETIME_INTERVAL_CODE, DATETIME_INTERVAL_PRECISION, DAY, DEALLOCATE, DEC, DECIMAL, DECIMAL_NUMERIC_LITERAL, DECLARE, DEFAULT, DEFAULT_KW, DEFAULTS, DEFERRABLE, DEFERRED, DEFINED, DEFINER, DEGREE, DELETE, DENSE_RANK, DEPTH, DEREF, DERIVED, DESC, DESCRIBE, DESCRIPTION, DESCRIPTOR, DETERMINISTIC, DIAGNOSTICS, DIGIT, DISALLOW, DISCONNECT, DISPATCH, DISTINCT, DOMAIN, DOT, DOUBLE, DOUBLE_PERIOD, DROP, DYNAMIC, DYNAMIC_FUNCTION, DYNAMIC_FUNCTION_CODE, EACH, ELEMENT, ELSE, END, END_EXEC, EOF, EQ, EQUALS, ESCAPE, EVERY, EXCEPT, EXCEPTION, EXCLUDE, EXCLUDING, EXEC, EXECUTE, EXISTS, EXP, EXPLAIN, EXPONENT, EXTERNAL, EXTRACT, FALSE, FETCH, FILTER, FINAL, FIRST, FIRST_VALUE, FLOAT, FLOOR, FOLLOWING, FOR, FOREIGN, FORMAL_COMMENT, FORTRAN, FOUND, FREE, FROM, FULL, FUNCTION, FUSION, G, GE, GENERAL, GENERATED, GET, GLOBAL, GO, GOTO, GRANT, GRANTED, GROUP, GROUPING, GT, HAVING, HEXDIGIT, HIERARCHY, HOLD, HOOK, HOUR, IDENTIFIER, IDENTITY, IMMEDIATE, IMPLEMENTATION, IMPORT, IN, IN_FORMAL_COMMENT, IN_MULTI_LINE_COMMENT, IN_SINGLE_LINE_COMMENT, INCLUDING, INCREMENT, INDICATOR, INITIALLY, INNER, INOUT, INPUT, INSENSITIVE, INSERT, INSTANCE, INSTANTIABLE, INT, INTEGER, INTERSECT, INTERSECTION, INTERVAL, INTO, INVOKER, IS, ISOLATION, JAVA, JOIN, K, KEY, KEY_MEMBER, KEY_TYPE, LABEL, LANGUAGE, LARGE, LAST, LAST_VALUE, LATERAL, LBRACE, LBRACE_D, LBRACE_FN, LBRACE_T, LBRACE_TS, LBRACKET, LE, LEADING, LEFT, LENGTH, LETTER, LEVEL, LIBRARY, LIKE, LIMIT, LN, LOCAL, LOCALTIME, LOCALTIMESTAMP, LOCATOR, LOWER, LPAREN, LT, M, MAP, MATCH, MATCHED, MAX, MAXVALUE, MEMBER, MERGE, MESSAGE_LENGTH, MESSAGE_OCTET_LENGTH, MESSAGE_TEXT, METHOD, MIN, MINUS, MINUTE, MINVALUE, MOD, MODIFIES, MODULE, MONTH, MORE_KW, MULTI_LINE_COMMENT, MULTISET, MUMPS, NAME, NAMES, NATIONAL, NATURAL, NCHAR, NCLOB, NE, NESTING, NEW, NEXT, NO, NONE, NORMALIZE, NORMALIZED, NOT, NULL, NULLABLE, NULLIF, NULLS, NUMBER, NUMERIC, OBJECT, OCTET_LENGTH, OCTETS, OF, OLD, ON, ONLY, OPEN, OPTION, OPTIONS, OR, ORDER, ORDERING, ORDINALITY, OTHERS, OUT, OUTER, OUTPUT, OVER, OVERLAPS, OVERLAY, OVERRIDING, PAD, PARAMETER, PARAMETER_MODE, PARAMETER_NAME, PARAMETER_ORDINAL_POSITION, PARAMETER_SPECIFIC_CATALOG, PARAMETER_SPECIFIC_NAME, PARAMETER_SPECIFIC_SCHEMA, PARTIAL, PARTITION, PASCAL, PATH, PERCENT_RANK, PERCENTILE_CONT, PERCENTILE_DISC, PLACING, PLAN, PLI, PLUS, POSITION, POWER, PRECEDING, PRECISION, PREFIXED_STRING_LITERAL, PREPARE, PRESERVE, PRIMARY, PRIOR, PRIVILEGES, PROCEDURE, PUBLIC, QUOTE, QUOTED_IDENTIFIER, QUOTED_STRING, RANGE, RANK, RBRACE, RBRACKET, READ, READS, REAL, RECURSIVE, REF, REFERENCES, REFERENCING, REGR_AVGX, REGR_AVGY, REGR_COUNT, REGR_INTERCEPT, REGR_R2, REGR_SLOPE, REGR_SXX, REGR_SXY, RELATIVE, RELEASE, REPEATABLE, RESTART, RESTRICT, RESULT, RETURN, RETURNED_CARDINALITY, RETURNED_LENGTH, RETURNED_OCTET_LENGTH, RETURNED_SQLSTATE, RETURNS, REVOKE, RIGHT, ROLE, ROLLBACK, ROLLUP, ROUTINE, ROUTINE_CATALOG, ROUTINE_NAME, ROUTINE_SCHEMA, ROW, ROW_COUNT, ROW_NUMBER, ROWS, RPAREN, SAVEPOINT, SCALE, SCHEMA, SCHEMA_NAME, SCOPE, SCOPE_CATALOGS, SCOPE_NAME, SCOPE_SCHEMA, SCROLL, SEARCH, SECOND, SECTION, SECURITY, SELECT, SELF, SEMICOLON, SENSITIVE, SEQUENCE, SERIALIZABLE, SERVER, SERVER_NAME, SESSION, SESSION_USER, SET, SETS, SIMILAR, SIMPLE, SINGLE_LINE_COMMENT, SIZE, SLASH, SMALLINT, SOME, SOURCE, SPACE, SPECIFIC, SPECIFIC_NAME, SPECIFICTYPE, SQL, SQLEXCEPTION, SQLSTATE, SQLWARNING, SQRT, STAR, START, STATE, STATEMENT, STATIC, STDDEV_POP, STDDEV_SAMP, STRUCTURE, STYLE, SUBCLASS_ORIGIN, SUBMULTISET, SUBSTITUTE, SUBSTRING, SUM, SYMMETRIC, SYSTEM, SYSTEM_USER, TABLE, TABLE_NAME, TABLESAMPLE, TEMPORARY, THEN, TIES, TIME, TIMESTAMP, TIMEZONE_HOUR, TIMEZONE_MINUTE, TINYINT, TO, tokenImage, TOP_LEVEL_COUNT, TRAILING, TRANSACTION, TRANSACTIONS_ACTIVE, TRANSACTIONS_COMMITTED, TRANSACTIONS_ROLLED_BACK, TRANSFORM, TRANSFORMS, TRANSLATE, TRANSLATION, TREAT, TRIGGER, TRIGGER_CATALOG, TRIGGER_NAME, TRIGGER_SCHEMA, TRIM, TRUE, TYPE, UESCAPE, UNBOUNDED, UNCOMMITTED, UNDER, UNICODE_QUOTED_ESCAPE_CHAR, UNICODE_QUOTED_IDENTIFIER, UNICODE_STRING_LITERAL, UNION, UNIQUE, UNKNOWN, UNNAMED, UNNEST, UNSIGNED_INTEGER_LITERAL, UPDATE, UPPER, USAGE, USER, USER_DEFINED_TYPE_CATALOG, USER_DEFINED_TYPE_CODE, USER_DEFINED_TYPE_NAME, USER_DEFINED_TYPE_SCHEMA, USING, VALUE, VALUES, VAR_POP, VAR_SAMP, VARBINARY, VARCHAR, VARYING, VERSION, VIEW, WHEN, WHENEVER, WHERE, WHITESPACE, WIDTH_BUCKET, WINDOW, WITH, WITHIN, WITHOUT, WORK, WRAPPER, WRITE, XML, YEAR, ZONE
 
Constructor Summary
SqlParserImpl(InputStream stream)
           
SqlParserImpl(InputStream stream, String encoding)
           
SqlParserImpl(Reader stream)
           
SqlParserImpl(SqlParserImplTokenManager tm)
           
 
Method Summary
 SqlNode AtomicRowExpression()
          Parses an atomic row expression.
 SqlBinaryOperator BinaryMultisetOperator()
          Parses a binary multiset operator.
 SqlBinaryOperator BinaryQueryOperator()
          Parses a binary query operator like UNION.
 SqlBinaryOperator BinaryRowOperator()
          Parses a binary row operator like AND.
 SqlNode BuiltinFunctionCall()
          Parses a call to a builtin function with special syntax.
(package private)  void checkNonQueryExpression(SqlAbstractParserImpl.ExprContext exprContext)
           
(package private)  void checkQueryExpression(SqlAbstractParserImpl.ExprContext exprContext)
           
(package private)  ParseException cleanupParseException(ParseException ex)
           
 SqlCollation CollateClause()
          Parses a COLLATE clause
 SqlIdentifier CollectionsTypeName()
           
 String CommonNonReservedKeyWord()
          Parses a non-reserved keyword for use as an identifier.
 SqlIdentifier CompoundIdentifier()
          Parses a compound identifier.
 SqlIdentifier ContextVariable()
           
(package private)  SqlParseException convertException(Throwable ex)
           
 SqlNode CursorExpression(SqlAbstractParserImpl.ExprContext exprContext)
          Parses a CURSOR(query) expression.
 SqlDataTypeSpec DataType()
           
 SqlLiteral DateTimeLiteral()
          Parses a date/time literal.
(package private)  void debug_message1()
           
 void disable_tracing()
           
 SqlDynamicParam DynamicParam()
          Parses a dynamic parameter marker.
(package private)  void E()
           
 void enable_tracing()
           
 SqlExplain.Depth ExplainDepth()
          Parses WITH TYPE | WITH IMPLEMENTATION | WITHOUT IMPLEMENTATION modifier for EXPLAIN PLAN.
 SqlExplainLevel ExplainDetailLevel()
          Parses INCLUDING ALL ATTRIBUTES modifier for EXPLAIN PLAN.
 SqlNode ExplicitTable(SqlParserPos pos)
          Parses an explicit TABLE t reference.
 SqlNode Expression(SqlAbstractParserImpl.ExprContext exprContext)
          Parses a row expression or a parenthesized expression of any kind.
 List Expression2(SqlAbstractParserImpl.ExprContext exprContext)
          Parses a binary row expression, or a parenthesized expression of any kind.
 SqlNode Expression3(SqlAbstractParserImpl.ExprContext exprContext)
          Parses a unary row expression, or a parenthesized expression of any kind.
 SqlNodeList ExpressionCommaList(SqlParserPos pos, SqlAbstractParserImpl.ExprContext exprContext)
          Parses a list of expressions separated by commas.
 SqlNode ExtendedBuiltinFunctionCall()
           
 SqlNode ExtendedTableRef()
          Allows parser to be extended with new types of table references.
 SqlNode FloorCeilOptions(SqlParserPos pos, boolean floorFlag)
           
 SqlNode FromClause()
          Parses the FROM clause a SELECT.
 SqlIdentifier FunctionName()
          Parses the name of a function (either a compound identifier or a reserved word which can be used as a function name).
 List FunctionParameterList(SqlAbstractParserImpl.ExprContext exprContext)
          Parses function parameter lists including DISTINCT keyword recognition
 ParseException generateParseException()
           
 SqlAbstractParserImpl.Metadata getMetadata()
          Returns metadata about this parser: keywords, etc.
 Token getNextToken()
           
(package private)  SqlParserPos getPos()
           
 Token getToken(int index)
           
 SqlNode GroupByOpt()
          Parses the optional GROUP BY clause for SELECT.
 SqlNode HavingOpt()
          Parses the optional HAVING clause for SELECT.
 String Identifier()
          Parses a simple identifier as a string.
 SqlLiteral IntervalLiteral()
          Parses an interval literal.
 SqlIntervalQualifier IntervalQualifier()
           
 int IntLiteral()
           
 SqlNode JdbcFunctionCall()
          Parses a function call expression with JDBC syntax.
private  boolean jj_2_1(int xla)
           
private  boolean jj_2_10(int xla)
           
private  boolean jj_2_11(int xla)
           
private  boolean jj_2_12(int xla)
           
private  boolean jj_2_13(int xla)
           
private  boolean jj_2_14(int xla)
           
private  boolean jj_2_15(int xla)
           
private  boolean jj_2_16(int xla)
           
private  boolean jj_2_17(int xla)
           
private  boolean jj_2_18(int xla)
           
private  boolean jj_2_19(int xla)
           
private  boolean jj_2_2(int xla)
           
private  boolean jj_2_20(int xla)
           
private  boolean jj_2_21(int xla)
           
private  boolean jj_2_22(int xla)
           
private  boolean jj_2_23(int xla)
           
private  boolean jj_2_24(int xla)
           
private  boolean jj_2_25(int xla)
           
private  boolean jj_2_26(int xla)
           
private  boolean jj_2_27(int xla)
           
private  boolean jj_2_28(int xla)
           
private  boolean jj_2_29(int xla)
           
private  boolean jj_2_3(int xla)
           
private  boolean jj_2_30(int xla)
           
private  boolean jj_2_31(int xla)
           
private  boolean jj_2_32(int xla)
           
private  boolean jj_2_33(int xla)
           
private  boolean jj_2_34(int xla)
           
private  boolean jj_2_35(int xla)
           
private  boolean jj_2_36(int xla)
           
private  boolean jj_2_37(int xla)
           
private  boolean jj_2_38(int xla)
           
private  boolean jj_2_39(int xla)
           
private  boolean jj_2_4(int xla)
           
private  boolean jj_2_40(int xla)
           
private  boolean jj_2_41(int xla)
           
private  boolean jj_2_42(int xla)
           
private  boolean jj_2_43(int xla)
           
private  boolean jj_2_44(int xla)
           
private  boolean jj_2_45(int xla)
           
private  boolean jj_2_5(int xla)
           
private  boolean jj_2_6(int xla)
           
private  boolean jj_2_7(int xla)
           
private  boolean jj_2_8(int xla)
           
private  boolean jj_2_9(int xla)
           
private  boolean jj_3_1()
           
private  boolean jj_3_10()
           
private  boolean jj_3_11()
           
private  boolean jj_3_12()
           
private  boolean jj_3_13()
           
private  boolean jj_3_14()
           
private  boolean jj_3_15()
           
private  boolean jj_3_16()
           
private  boolean jj_3_17()
           
private  boolean jj_3_18()
           
private  boolean jj_3_19()
           
private  boolean jj_3_2()
           
private  boolean jj_3_20()
           
private  boolean jj_3_21()
           
private  boolean jj_3_22()
           
private  boolean jj_3_23()
           
private  boolean jj_3_24()
           
private  boolean jj_3_25()
           
private  boolean jj_3_26()
           
private  boolean jj_3_27()
           
private  boolean jj_3_28()
           
private  boolean jj_3_29()
           
private  boolean jj_3_3()
           
private  boolean jj_3_30()
           
private  boolean jj_3_31()
           
private  boolean jj_3_32()
           
private  boolean jj_3_33()
           
private  boolean jj_3_34()
           
private  boolean jj_3_35()
           
private  boolean jj_3_36()
           
private  boolean jj_3_37()
           
private  boolean jj_3_38()
           
private  boolean jj_3_39()
           
private  boolean jj_3_4()
           
private  boolean jj_3_40()
           
private  boolean jj_3_41()
           
private  boolean jj_3_42()
           
private  boolean jj_3_43()
           
private  boolean jj_3_44()
           
private  boolean jj_3_45()
           
private  boolean jj_3_5()
           
private  boolean jj_3_6()
           
private  boolean jj_3_7()
           
private  boolean jj_3_8()
           
private  boolean jj_3_9()
           
private  boolean jj_3R_100()
           
private  boolean jj_3R_101()
           
private  boolean jj_3R_102()
           
private  boolean jj_3R_103()
           
private  boolean jj_3R_104()
           
private  boolean jj_3R_105()
           
private  boolean jj_3R_106()
           
private  boolean jj_3R_107()
           
private  boolean jj_3R_108()
           
private  boolean jj_3R_109()
           
private  boolean jj_3R_110()
           
private  boolean jj_3R_111()
           
private  boolean jj_3R_112()
           
private  boolean jj_3R_113()
           
private  boolean jj_3R_114()
           
private  boolean jj_3R_115()
           
private  boolean jj_3R_116()
           
private  boolean jj_3R_117()
           
private  boolean jj_3R_118()
           
private  boolean jj_3R_119()
           
private  boolean jj_3R_120()
           
private  boolean jj_3R_121()
           
private  boolean jj_3R_122()
           
private  boolean jj_3R_123()
           
private  boolean jj_3R_124()
           
private  boolean jj_3R_125()
           
private  boolean jj_3R_126()
           
private  boolean jj_3R_127()
           
private  boolean jj_3R_128()
           
private  boolean jj_3R_129()
           
private  boolean jj_3R_130()
           
private  boolean jj_3R_131()
           
private  boolean jj_3R_132()
           
private  boolean jj_3R_133()
           
private  boolean jj_3R_134()
           
private  boolean jj_3R_135()
           
private  boolean jj_3R_136()
           
private  boolean jj_3R_137()
           
private  boolean jj_3R_138()
           
private  boolean jj_3R_139()
           
private  boolean jj_3R_140()
           
private  boolean jj_3R_141()
           
private  boolean jj_3R_142()
           
private  boolean jj_3R_143()
           
private  boolean jj_3R_144()
           
private  boolean jj_3R_145()
           
private  boolean jj_3R_146()
           
private  boolean jj_3R_147()
           
private  boolean jj_3R_148()
           
private  boolean jj_3R_149()
           
private  boolean jj_3R_150()
           
private  boolean jj_3R_151()
           
private  boolean jj_3R_152()
           
private  boolean jj_3R_153()
           
private  boolean jj_3R_154()
           
private  boolean jj_3R_155()
           
private  boolean jj_3R_156()
           
private  boolean jj_3R_157()
           
private  boolean jj_3R_158()
           
private  boolean jj_3R_159()
           
private  boolean jj_3R_160()
           
private  boolean jj_3R_161()
           
private  boolean jj_3R_162()
           
private  boolean jj_3R_163()
           
private  boolean jj_3R_164()
           
private  boolean jj_3R_165()
           
private  boolean jj_3R_166()
           
private  boolean jj_3R_167()
           
private  boolean jj_3R_168()
           
private  boolean jj_3R_169()
           
private  boolean jj_3R_170()
           
private  boolean jj_3R_171()
           
private  boolean jj_3R_172()
           
private  boolean jj_3R_173()
           
private  boolean jj_3R_174()
           
private  boolean jj_3R_175()
           
private  boolean jj_3R_176()
           
private  boolean jj_3R_177()
           
private  boolean jj_3R_178()
           
private  boolean jj_3R_179()
           
private  boolean jj_3R_180()
           
private  boolean jj_3R_181()
           
private  boolean jj_3R_182()
           
private  boolean jj_3R_183()
           
private  boolean jj_3R_184()
           
private  boolean jj_3R_185()
           
private  boolean jj_3R_186()
           
private  boolean jj_3R_187()
           
private  boolean jj_3R_188()
           
private  boolean jj_3R_189()
           
private  boolean jj_3R_19()
           
private  boolean jj_3R_190()
           
private  boolean jj_3R_191()
           
private  boolean jj_3R_192()
           
private  boolean jj_3R_193()
           
private  boolean jj_3R_194()
           
private  boolean jj_3R_195()
           
private  boolean jj_3R_196()
           
private  boolean jj_3R_197()
           
private  boolean jj_3R_198()
           
private  boolean jj_3R_199()
           
private  boolean jj_3R_20()
           
private  boolean jj_3R_200()
           
private  boolean jj_3R_201()
           
private  boolean jj_3R_202()
           
private  boolean jj_3R_203()
           
private  boolean jj_3R_204()
           
private  boolean jj_3R_205()
           
private  boolean jj_3R_206()
           
private  boolean jj_3R_207()
           
private  boolean jj_3R_208()
           
private  boolean jj_3R_209()
           
private  boolean jj_3R_21()
           
private  boolean jj_3R_210()
           
private  boolean jj_3R_211()
           
private  boolean jj_3R_212()
           
private  boolean jj_3R_213()
           
private  boolean jj_3R_214()
           
private  boolean jj_3R_215()
           
private  boolean jj_3R_216()
           
private  boolean jj_3R_217()
           
private  boolean jj_3R_218()
           
private  boolean jj_3R_219()
           
private  boolean jj_3R_22()
           
private  boolean jj_3R_220()
           
private  boolean jj_3R_221()
           
private  boolean jj_3R_222()
           
private  boolean jj_3R_223()
           
private  boolean jj_3R_224()
           
private  boolean jj_3R_225()
           
private  boolean jj_3R_226()
           
private  boolean jj_3R_227()
           
private  boolean jj_3R_228()
           
private  boolean jj_3R_229()
           
private  boolean jj_3R_23()
           
private  boolean jj_3R_230()
           
private  boolean jj_3R_24()
           
private  boolean jj_3R_25()
           
private  boolean jj_3R_26()
           
private  boolean jj_3R_27()
           
private  boolean jj_3R_28()
           
private  boolean jj_3R_29()
           
private  boolean jj_3R_30()
           
private  boolean jj_3R_31()
           
private  boolean jj_3R_32()
           
private  boolean jj_3R_33()
           
private  boolean jj_3R_34()
           
private  boolean jj_3R_35()
           
private  boolean jj_3R_36()
           
private  boolean jj_3R_37()
           
private  boolean jj_3R_38()
           
private  boolean jj_3R_39()
           
private  boolean jj_3R_40()
           
private  boolean jj_3R_41()
           
private  boolean jj_3R_42()
           
private  boolean jj_3R_43()
           
private  boolean jj_3R_44()
           
private  boolean jj_3R_45()
           
private  boolean jj_3R_46()
           
private  boolean jj_3R_47()
           
private  boolean jj_3R_48()
           
private  boolean jj_3R_49()
           
private  boolean jj_3R_50()
           
private  boolean jj_3R_51()
           
private  boolean jj_3R_52()
           
private  boolean jj_3R_53()
           
private  boolean jj_3R_54()
           
private  boolean jj_3R_55()
           
private  boolean jj_3R_56()
           
private  boolean jj_3R_57()
           
private  boolean jj_3R_58()
           
private  boolean jj_3R_59()
           
private  boolean jj_3R_60()
           
private  boolean jj_3R_61()
           
private  boolean jj_3R_62()
           
private  boolean jj_3R_63()
           
private  boolean jj_3R_64()
           
private  boolean jj_3R_65()
           
private  boolean jj_3R_66()
           
private  boolean jj_3R_67()
           
private  boolean jj_3R_68()
           
private  boolean jj_3R_69()
           
private  boolean jj_3R_70()
           
private  boolean jj_3R_71()
           
private  boolean jj_3R_72()
           
private  boolean jj_3R_73()
           
private  boolean jj_3R_74()
           
private  boolean jj_3R_75()
           
private  boolean jj_3R_76()
           
private  boolean jj_3R_77()
           
private  boolean jj_3R_78()
           
private  boolean jj_3R_79()
           
private  boolean jj_3R_80()
           
private  boolean jj_3R_81()
           
private  boolean jj_3R_82()
           
private  boolean jj_3R_83()
           
private  boolean jj_3R_84()
           
private  boolean jj_3R_85()
           
private  boolean jj_3R_86()
           
private  boolean jj_3R_87()
           
private  boolean jj_3R_88()
           
private  boolean jj_3R_89()
           
private  boolean jj_3R_90()
           
private  boolean jj_3R_91()
           
private  boolean jj_3R_92()
           
private  boolean jj_3R_93()
           
private  boolean jj_3R_94()
           
private  boolean jj_3R_95()
           
private  boolean jj_3R_96()
           
private  boolean jj_3R_97()
           
private  boolean jj_3R_98()
           
private  boolean jj_3R_99()
           
private  void jj_add_error_token(int kind, int pos)
           
private  Token jj_consume_token(int kind)
           
private static void jj_la1_0()
           
private static void jj_la1_1()
           
private static void jj_la1_10()
           
private static void jj_la1_11()
           
private static void jj_la1_12()
           
private static void jj_la1_13()
           
private static void jj_la1_14()
           
private static void jj_la1_15()
           
private static void jj_la1_16()
           
private static void jj_la1_17()
           
private static void jj_la1_18()
           
private static void jj_la1_2()
           
private static void jj_la1_3()
           
private static void jj_la1_4()
           
private static void jj_la1_5()
           
private static void jj_la1_6()
           
private static void jj_la1_7()
           
private static void jj_la1_8()
           
private static void jj_la1_9()
           
private  int jj_ntk()
           
private  void jj_rescan_token()
           
private  void jj_save(int index, int xla)
           
private  boolean jj_scan_token(int kind)
           
 SqlNode LeafQuery(SqlAbstractParserImpl.ExprContext exprContext)
          Parses a leaf in a query expression (SELECT, VALUES or TABLE).
 SqlNode LeafQueryOrExpr(SqlAbstractParserImpl.ExprContext exprContext)
          Parses either a row expression, a leaf query expression, or a parenthesized expression of any kind.
 SqlNode Literal()
          Parses a literal expression, allowing continued string literals.
(package private)  boolean matchesPrefix(int[] seq, int[][] prefixes)
           
 SqlNode MultisetConstructor()
          Parses a MULTISET constructor
 SqlNode NamedFunctionCall()
          Parses a call to a named function (could be a builtin with regular syntax, or else a UDF).
 SqlNode NamedRoutineCall(SqlFunctionCategory routineType, SqlAbstractParserImpl.ExprContext exprContext)
           
 SqlNode NewSpecification()
          Parses a NEW UDT(...) expression.
 String NonReservedJdbcFunctionName()
          Parses the name of a JDBC function that is a token but is not reserved.
 String NonReservedKeyWord()
           
 SqlParseException normalizeException(Throwable ex)
          Removes or transforms misleading information from a parse exception or error, and converts to SqlParseException.
 SqlLiteral NumericLiteral()
          Parses a numeric literal (can be signed)
 SqlNodeList OrderBy(boolean accept)
          Parses an ORDER BY clause.
 SqlNode OrderedQueryOrExpr(SqlAbstractParserImpl.ExprContext exprContext)
          Parses either a row expression or a query expression with an optional ORDER BY.
 SqlNode OrderItem()
          Parses one list item in an ORDER BY clause.
 SqlNode ParenthesizedExpression(SqlAbstractParserImpl.ExprContext exprContext)
          Parses a parenthesized query or single row expression.
 SqlNodeList ParenthesizedQueryOrCommaList(SqlAbstractParserImpl.ExprContext exprContext)
          Parses a parenthesized query or comma-list of row expressions.
(package private)  SqlDateLiteral parseDateLiteral(String s, SqlParserPos pos)
           
(package private)  SqlIntervalLiteral parseIntervalLiteral(SqlParserPos pos, int sign, String s, SqlIntervalQualifier intervalQualifier)
           
(package private)  SqlTimeLiteral parseTimeLiteral(String s, SqlParserPos pos)
           
(package private)  SqlTimestampLiteral parseTimestampLiteral(String s, SqlParserPos pos)
           
 SqlPostfixOperator PostfixRowOperator()
          Parses a postfix row operator like IS NOT NULL.
 SqlPrefixOperator PrefixRowOperator()
          Parses a prefix row operator like NOT.
 SqlNode QueryOrExpr(SqlAbstractParserImpl.ExprContext exprContext)
          Parses either a row expression or a query expression without ORDER BY.
 void ReInit(InputStream stream)
           
 void ReInit(InputStream stream, String encoding)
           
 void ReInit(Reader stream)
          Reinitializes parser with new input.
 void ReInit(SqlParserImplTokenManager tm)
           
 SqlIdentifier ReservedFunctionName()
          Parses a reserved word which is used as the name of a function.
 SqlNode RowConstructor()
          Parses a row constructor in the context of a VALUES expression.
 SqlNodeList RowConstructorList(SqlParserPos pos)
          Parses one or more rows in a VALUES expression.
 SqlNode SelectExpression()
          Parses one unaliased expression in a select list.
 SqlNode SelectItem()
          Parses one item in a select list.
 List SelectList()
          Parses the select list of a SELECT statement.
 void setTabSize(int tabSize)
          Sets the tab stop size.
 SqlIdentifier SimpleIdentifier()
          Parses a simple identifier as an SqlIdentifier.
 List SimpleIdentifierCommaList()
          Parses a comma-separated list of simple identifiers.
 SqlLiteral SpecialLiteral()
          Parse a special literal keyword
 SqlNode SqlDelete()
          Parses a DELETE statement.
 SqlNode SqlExplain()
          Parses an EXPLAIN PLAN statement.
 SqlNode SqlExpressionEof()
          Parses a SQL expression (such as might occur in a WHERE clause) followed by the end-of-file symbol.
 SqlNode SqlInsert()
          Parses an INSERT statement.
 void SqlInsertKeywords(List keywords)
           
 SqlNode SqlMerge()
          Parses a MERGE statement.
 SqlNode SqlProcedureCall()
          Parses a CALL statement.
 SqlNode SqlQueryEof()
          Parses a query (SELECT, UNION, INTERSECT, EXCEPT, VALUES, TABLE) followed by the end-of-file symbol.
 SqlSelect SqlSelect()
          Parses a leaf SELECT expression without ORDER BY.
 void SqlSelectKeywords(List keywords)
           
 SqlNode SqlStmtEof()
          Parses an SQL statement followed by the end-of-file symbol.
 SqlNode SqlUpdate()
          Parses an UPDATE statement.
 SqlNode StandardFloorCeilOptions(SqlParserPos pos, boolean floorFlag)
           
(package private)  List startList(Object o)
           
 SqlLiteral StrictLiteral()
          Parses a literal expression, not allowing a continued string literal.
 SqlNode StringLiteral(boolean strict)
          Parses a string literal.
 SqlNode TableConstructor()
          Parses a VALUES leaf query expression.
 SqlNode TableFunctionCall(SqlParserPos pos)
           
 SqlNode TableOverOpt()
          Allows an OVER clause following a table expression as an extension to standard SQL syntax.
 SqlNode TableRef()
          Parses a table reference in a FROM clause.
 SqlIntervalQualifier.TimeUnit TimeUnit()
           
 SqlIdentifier TypeName()
           
 int UnsignedIntLiteral()
           
 SqlNumericLiteral UnsignedNumericLiteral()
          Parses a unsigned numeric literal
 void UnusedExtension()
          Defines a production which can never be accepted by the parser.
 SqlNode WhenMatchedClause(SqlIdentifier table, SqlIdentifier alias)
           
 SqlNode WhenNotMatchedClause(SqlIdentifier table)
           
 SqlNode WhereOpt()
          Parses the optional WHERE clause for SELECT, DELETE, and UPDATE.
 SqlNodeList WindowOpt()
          Parses the optional WINDOW clause for SELECT
 SqlNode WindowRange()
           
 SqlWindow WindowSpecification()
          Parses a window specification.
 
Methods inherited from class org.eigenbase.sql.parser.SqlAbstractParserImpl
createCall, getSql92ReservedWords
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tracer

private static final Logger tracer

metadata

private static SqlAbstractParserImpl.Metadata metadata

token_source

public SqlParserImplTokenManager token_source

jj_input_stream

SimpleCharStream jj_input_stream

token

public Token token

jj_nt

public Token jj_nt

jj_ntk

private int jj_ntk

jj_scanpos

private Token jj_scanpos

jj_lastpos

private Token jj_lastpos

jj_la

private int jj_la

lookingAhead

public boolean lookingAhead

jj_semLA

private boolean jj_semLA

jj_gen

private int jj_gen

jj_la1

private final int[] jj_la1

jj_la1_0

private static int[] jj_la1_0

jj_la1_1

private static int[] jj_la1_1

jj_la1_2

private static int[] jj_la1_2

jj_la1_3

private static int[] jj_la1_3

jj_la1_4

private static int[] jj_la1_4

jj_la1_5

private static int[] jj_la1_5

jj_la1_6

private static int[] jj_la1_6

jj_la1_7

private static int[] jj_la1_7

jj_la1_8

private static int[] jj_la1_8

jj_la1_9

private static int[] jj_la1_9

jj_la1_10

private static int[] jj_la1_10

jj_la1_11

private static int[] jj_la1_11

jj_la1_12

private static int[] jj_la1_12

jj_la1_13

private static int[] jj_la1_13

jj_la1_14

private static int[] jj_la1_14

jj_la1_15

private static int[] jj_la1_15

jj_la1_16

private static int[] jj_la1_16

jj_la1_17

private static int[] jj_la1_17

jj_la1_18

private static int[] jj_la1_18

jj_2_rtns

private final SqlParserImpl.JJCalls[] jj_2_rtns

jj_rescan

private boolean jj_rescan

jj_gc

private int jj_gc

jj_ls

private final SqlParserImpl.LookaheadSuccess jj_ls

jj_expentries

private Vector jj_expentries

jj_expentry

private int[] jj_expentry

jj_kind

private int jj_kind

jj_lasttokens

private int[] jj_lasttokens

jj_endpos

private int jj_endpos
Constructor Detail

SqlParserImpl

public SqlParserImpl(InputStream stream)

SqlParserImpl

public SqlParserImpl(InputStream stream,
                     String encoding)

SqlParserImpl

public SqlParserImpl(Reader stream)

SqlParserImpl

public SqlParserImpl(SqlParserImplTokenManager tm)
Method Detail

normalizeException

public SqlParseException normalizeException(Throwable ex)
Description copied from class: SqlAbstractParserImpl
Removes or transforms misleading information from a parse exception or error, and converts to SqlParseException.

Specified by:
normalizeException in class SqlAbstractParserImpl
Parameters:
ex - dirty excn
Returns:
clean excn

getMetadata

public SqlAbstractParserImpl.Metadata getMetadata()
Description copied from class: SqlAbstractParserImpl
Returns metadata about this parser: keywords, etc.

Specified by:
getMetadata in class SqlAbstractParserImpl

setTabSize

public void setTabSize(int tabSize)
Description copied from class: SqlAbstractParserImpl
Sets the tab stop size.

Specified by:
setTabSize in class SqlAbstractParserImpl
Parameters:
tabSize - Tab stop size

debug_message1

void debug_message1()
              throws ParseException
Throws:
ParseException

NonReservedKeyWord

public final String NonReservedKeyWord()
                                throws ParseException
Throws:
ParseException

ExtendedTableRef

public final SqlNode ExtendedTableRef()
                               throws ParseException
Allows parser to be extended with new types of table references. The default implementation of this production is empty.

Throws:
ParseException

TableOverOpt

public final SqlNode TableOverOpt()
                           throws ParseException
Allows an OVER clause following a table expression as an extension to standard SQL syntax. The default implementation of this production is empty.

Throws:
ParseException

SqlSelectKeywords

public final void SqlSelectKeywords(List keywords)
                             throws ParseException
Throws:
ParseException

SqlInsertKeywords

public final void SqlInsertKeywords(List keywords)
                             throws ParseException
Throws:
ParseException

ExtendedBuiltinFunctionCall

public final SqlNode ExtendedBuiltinFunctionCall()
                                          throws ParseException
Throws:
ParseException

FloorCeilOptions

public final SqlNode FloorCeilOptions(SqlParserPos pos,
                                      boolean floorFlag)
                               throws ParseException
Throws:
ParseException

E

void E()
 throws ParseException
Throws:
ParseException

startList

List startList(Object o)
         throws ParseException
Throws:
ParseException

getPos

SqlParserPos getPos()
              throws ParseException
Throws:
ParseException

checkQueryExpression

void checkQueryExpression(SqlAbstractParserImpl.ExprContext exprContext)
                    throws ParseException
Throws:
ParseException

checkNonQueryExpression

void checkNonQueryExpression(SqlAbstractParserImpl.ExprContext exprContext)
                       throws ParseException
Throws:
ParseException

parseDateLiteral

SqlDateLiteral parseDateLiteral(String s,
                                SqlParserPos pos)
                          throws ParseException
Throws:
ParseException

parseTimeLiteral

SqlTimeLiteral parseTimeLiteral(String s,
                                SqlParserPos pos)
                          throws ParseException
Throws:
ParseException

parseTimestampLiteral

SqlTimestampLiteral parseTimestampLiteral(String s,
                                          SqlParserPos pos)
                                    throws ParseException
Throws:
ParseException

parseIntervalLiteral

SqlIntervalLiteral parseIntervalLiteral(SqlParserPos pos,
                                        int sign,
                                        String s,
                                        SqlIntervalQualifier intervalQualifier)
                                  throws ParseException,
                                         ParseException
Throws:
ParseException

convertException

SqlParseException convertException(Throwable ex)
                             throws ParseException
Throws:
ParseException

cleanupParseException

ParseException cleanupParseException(ParseException ex)
                               throws ParseException
Throws:
ParseException

matchesPrefix

boolean matchesPrefix(int[] seq,
                      int[][] prefixes)
                throws ParseException
Throws:
ParseException

OrderedQueryOrExpr

public final SqlNode OrderedQueryOrExpr(SqlAbstractParserImpl.ExprContext exprContext)
                                 throws ParseException
Parses either a row expression or a query expression with an optional ORDER BY.

Throws:
ParseException

LeafQuery

public final SqlNode LeafQuery(SqlAbstractParserImpl.ExprContext exprContext)
                        throws ParseException
Parses a leaf in a query expression (SELECT, VALUES or TABLE).

Throws:
ParseException

ParenthesizedExpression

public final SqlNode ParenthesizedExpression(SqlAbstractParserImpl.ExprContext exprContext)
                                      throws ParseException
Parses a parenthesized query or single row expression.

Throws:
ParseException

ParenthesizedQueryOrCommaList

public final SqlNodeList ParenthesizedQueryOrCommaList(SqlAbstractParserImpl.ExprContext exprContext)
                                                throws ParseException
Parses a parenthesized query or comma-list of row expressions.

REVIEW jvs 8-Feb-2004: There's a small hole in this production. It can be used to construct something like WHERE x IN (select count(*) from t where c=d,5), which should be illegal. The above is interpreted as equivalent to WHERE x IN ((select count(*) from t where c=d),5), which is a legal use of a subquery. The only way to fix the hole is to be able to remember whether a subexpression was parenthesized or not, which means preserving parentheses in the SqlNode tree. This is probably desirable anyway for use in purely syntactic parsing applications (e.g. SQL pretty-printer). However, if this is done, it's important to also make isA() on the paren node call down to its operand so that we can always correctly discriminate a query from a row expression.

Throws:
ParseException

FunctionParameterList

public final List FunctionParameterList(SqlAbstractParserImpl.ExprContext exprContext)
                                 throws ParseException
Parses function parameter lists including DISTINCT keyword recognition

This is pretty much the same as ParenthesizedQueryOrCommaList but allows the DISTINCT keyword to follow the left paren and not be followed by a comma.

Throws:
ParseException

SqlQueryEof

public final SqlNode SqlQueryEof()
                          throws ParseException
Parses a query (SELECT, UNION, INTERSECT, EXCEPT, VALUES, TABLE) followed by the end-of-file symbol.

Throws:
ParseException

SqlStmtEof

public final SqlNode SqlStmtEof()
                         throws ParseException
Parses an SQL statement followed by the end-of-file symbol.

Throws:
ParseException

SqlSelect

public final SqlSelect SqlSelect()
                          throws ParseException
Parses a leaf SELECT expression without ORDER BY.

Throws:
ParseException

SqlExplain

public final SqlNode SqlExplain()
                         throws ParseException
Parses an EXPLAIN PLAN statement.

Throws:
ParseException

ExplainDepth

public final SqlExplain.Depth ExplainDepth()
                                    throws ParseException
Parses WITH TYPE | WITH IMPLEMENTATION | WITHOUT IMPLEMENTATION modifier for EXPLAIN PLAN.

Throws:
ParseException

ExplainDetailLevel

public final SqlExplainLevel ExplainDetailLevel()
                                         throws ParseException
Parses INCLUDING ALL ATTRIBUTES modifier for EXPLAIN PLAN.

Throws:
ParseException

SqlProcedureCall

public final SqlNode SqlProcedureCall()
                               throws ParseException
Parses a CALL statement.

Throws:
ParseException

NamedRoutineCall

public final SqlNode NamedRoutineCall(SqlFunctionCategory routineType,
                                      SqlAbstractParserImpl.ExprContext exprContext)
                               throws ParseException
Throws:
ParseException

SqlInsert

public final SqlNode SqlInsert()
                        throws ParseException
Parses an INSERT statement.

Throws:
ParseException

SqlDelete

public final SqlNode SqlDelete()
                        throws ParseException
Parses a DELETE statement.

Throws:
ParseException

SqlUpdate

public final SqlNode SqlUpdate()
                        throws ParseException
Parses an UPDATE statement.

Throws:
ParseException

SqlMerge

public final SqlNode SqlMerge()
                       throws ParseException
Parses a MERGE statement.

Throws:
ParseException

WhenMatchedClause

public final SqlNode WhenMatchedClause(SqlIdentifier table,
                                       SqlIdentifier alias)
                                throws ParseException
Throws:
ParseException

WhenNotMatchedClause

public final SqlNode WhenNotMatchedClause(SqlIdentifier table)
                                   throws ParseException
Throws:
ParseException

SelectList

public final List SelectList()
                      throws ParseException
Parses the select list of a SELECT statement.

Throws:
ParseException

SelectItem

public final SqlNode SelectItem()
                         throws ParseException
Parses one item in a select list.

Throws:
ParseException

SelectExpression

public final SqlNode SelectExpression()
                               throws ParseException
Parses one unaliased expression in a select list.

Throws:
ParseException

FromClause

public final SqlNode FromClause()
                         throws ParseException
Parses the FROM clause a SELECT.

Throws:
ParseException

TableRef

public final SqlNode TableRef()
                       throws ParseException
Parses a table reference in a FROM clause.

Throws:
ParseException

TableFunctionCall

public final SqlNode TableFunctionCall(SqlParserPos pos)
                                throws ParseException
Throws:
ParseException

ExplicitTable

public final SqlNode ExplicitTable(SqlParserPos pos)
                            throws ParseException
Parses an explicit TABLE t reference.

Throws:
ParseException

TableConstructor

public final SqlNode TableConstructor()
                               throws ParseException
Parses a VALUES leaf query expression.

Throws:
ParseException

RowConstructorList

public final SqlNodeList RowConstructorList(SqlParserPos pos)
                                     throws ParseException
Parses one or more rows in a VALUES expression.

Throws:
ParseException

RowConstructor

public final SqlNode RowConstructor()
                             throws ParseException
Parses a row constructor in the context of a VALUES expression.

Throws:
ParseException

WhereOpt

public final SqlNode WhereOpt()
                       throws ParseException
Parses the optional WHERE clause for SELECT, DELETE, and UPDATE.

Throws:
ParseException

GroupByOpt

public final SqlNode GroupByOpt()
                         throws ParseException
Parses the optional GROUP BY clause for SELECT.

Throws:
ParseException

ExpressionCommaList

public final SqlNodeList ExpressionCommaList(SqlParserPos pos,
                                             SqlAbstractParserImpl.ExprContext exprContext)
                                      throws ParseException
Parses a list of expressions separated by commas.

Throws:
ParseException

HavingOpt

public final SqlNode HavingOpt()
                        throws ParseException
Parses the optional HAVING clause for SELECT.

Throws:
ParseException

WindowOpt

public final SqlNodeList WindowOpt()
                            throws ParseException
Parses the optional WINDOW clause for SELECT

Throws:
ParseException

WindowSpecification

public final SqlWindow WindowSpecification()
                                    throws ParseException
Parses a window specification.

Throws:
ParseException

WindowRange

public final SqlNode WindowRange()
                          throws ParseException
Throws:
ParseException

OrderBy

public final SqlNodeList OrderBy(boolean accept)
                          throws ParseException
Parses an ORDER BY clause.

Throws:
ParseException

OrderItem

public final SqlNode OrderItem()
                        throws ParseException
Parses one list item in an ORDER BY clause.

Throws:
ParseException

SqlExpressionEof

public final SqlNode SqlExpressionEof()
                               throws ParseException
Parses a SQL expression (such as might occur in a WHERE clause) followed by the end-of-file symbol.

Throws:
ParseException

QueryOrExpr

public final SqlNode QueryOrExpr(SqlAbstractParserImpl.ExprContext exprContext)
                          throws ParseException
Parses either a row expression or a query expression without ORDER BY.

Throws:
ParseException

LeafQueryOrExpr

public final SqlNode LeafQueryOrExpr(SqlAbstractParserImpl.ExprContext exprContext)
                              throws ParseException
Parses either a row expression, a leaf query expression, or a parenthesized expression of any kind.

Throws:
ParseException

Expression

public final SqlNode Expression(SqlAbstractParserImpl.ExprContext exprContext)
                         throws ParseException
Parses a row expression or a parenthesized expression of any kind.

Throws:
ParseException

Expression2

public final List Expression2(SqlAbstractParserImpl.ExprContext exprContext)
                       throws ParseException
Parses a binary row expression, or a parenthesized expression of any kind.

The result is as a flat list of operators and operands. The top-level call to get an expression should call Expression(org.eigenbase.sql.parser.SqlAbstractParserImpl.ExprContext), but lower-level calls should call this, to give the parser the opos to associate operator calls.

For example 'a = b like c = d' should come out '((a = b) like c) = d' because LIKE and '=' have the same precedence, but tends to come out as '(a = b) like (c = d)' because (a = b) and (c = d) are parsed as separate expressions.

Throws:
ParseException

Expression3

public final SqlNode Expression3(SqlAbstractParserImpl.ExprContext exprContext)
                          throws ParseException
Parses a unary row expression, or a parenthesized expression of any kind.

Throws:
ParseException

CollateClause

public final SqlCollation CollateClause()
                                 throws ParseException
Parses a COLLATE clause

Throws:
ParseException

AtomicRowExpression

public final SqlNode AtomicRowExpression()
                                  throws ParseException
Parses an atomic row expression.

Throws:
ParseException

Literal

public final SqlNode Literal()
                      throws ParseException
Parses a literal expression, allowing continued string literals. Usually returns an SqlLiteral, but a continued string literal is an SqlCall expression, which concatenates 2 or more string literals; the validator reduces this.

Throws:
ParseException

StrictLiteral

public final SqlLiteral StrictLiteral()
                               throws ParseException
Parses a literal expression, not allowing a continued string literal. Always returns an SqlLiteral. (Some places in the DDL parser expect a simple SqlLiteral.)

Throws:
ParseException

UnsignedNumericLiteral

public final SqlNumericLiteral UnsignedNumericLiteral()
                                               throws ParseException
Parses a unsigned numeric literal

Throws:
ParseException

NumericLiteral

public final SqlLiteral NumericLiteral()
                                throws ParseException
Parses a numeric literal (can be signed)

Throws:
ParseException

SpecialLiteral

public final SqlLiteral SpecialLiteral()
                                throws ParseException
Parse a special literal keyword

Throws:
ParseException

StringLiteral

public final SqlNode StringLiteral(boolean strict)
                            throws ParseException
Parses a string literal. Optionally parses a literal continued onto several lines. For a simple literal, the result is an SqlLiteral. For a continued literal, the result is an SqlCall expression, which concatenates 2 or more string literals; the validator reduces this.

Parameters:
strict - when false, allow continued literals; when true, forbid them.
Returns:
a literal expression. When strict, returns an SqlLiteral.
Throws:
ParseException

DateTimeLiteral

public final SqlLiteral DateTimeLiteral()
                                 throws ParseException
Parses a date/time literal.

Throws:
ParseException

MultisetConstructor

public final SqlNode MultisetConstructor()
                                  throws ParseException
Parses a MULTISET constructor

Throws:
ParseException

IntervalLiteral

public final SqlLiteral IntervalLiteral()
                                 throws ParseException
Parses an interval literal.

Throws:
ParseException

IntervalQualifier

public final SqlIntervalQualifier IntervalQualifier()
                                             throws ParseException
Throws:
ParseException

TimeUnit

public final SqlIntervalQualifier.TimeUnit TimeUnit()
                                             throws ParseException
Throws:
ParseException

DynamicParam

public final SqlDynamicParam DynamicParam()
                                   throws ParseException
Parses a dynamic parameter marker.

Throws:
ParseException

Identifier

public final String Identifier()
                        throws ParseException
Parses a simple identifier as a string.

Throws:
ParseException

SimpleIdentifier

public final SqlIdentifier SimpleIdentifier()
                                     throws ParseException
Parses a simple identifier as an SqlIdentifier.

Throws:
ParseException

SimpleIdentifierCommaList

public final List SimpleIdentifierCommaList()
                                     throws ParseException
Parses a comma-separated list of simple identifiers.

Throws:
ParseException

CompoundIdentifier

public final SqlIdentifier CompoundIdentifier()
                                       throws ParseException
Parses a compound identifier.

Throws:
ParseException

NewSpecification

public final SqlNode NewSpecification()
                               throws ParseException
Parses a NEW UDT(...) expression.

Throws:
ParseException

UnsignedIntLiteral

public final int UnsignedIntLiteral()
                             throws ParseException
Throws:
ParseException

IntLiteral

public final int IntLiteral()
                     throws ParseException
Throws:
ParseException

DataType

public final SqlDataTypeSpec DataType()
                               throws ParseException
Throws:
ParseException

TypeName

public final SqlIdentifier TypeName()
                             throws ParseException
Throws:
ParseException

CollectionsTypeName

public final SqlIdentifier CollectionsTypeName()
                                        throws ParseException
Throws:
ParseException

CursorExpression

public final SqlNode CursorExpression(SqlAbstractParserImpl.ExprContext exprContext)
                               throws ParseException
Parses a CURSOR(query) expression. The parser allows these anywhere, but the validator restricts them to appear only as arguments to table functions.

Throws:
ParseException

BuiltinFunctionCall

public final SqlNode BuiltinFunctionCall()
                                  throws ParseException
Parses a call to a builtin function with special syntax.

Throws:
ParseException

NamedFunctionCall

public final SqlNode NamedFunctionCall()
                                throws ParseException
Parses a call to a named function (could be a builtin with regular syntax, or else a UDF).

NOTE: every UDF has two names: an invocation name and a specific name. Normally, function calls are resolved via overload resolution and invocation names. The SPECIFIC prefix allows overload resolution to be bypassed. Note that usage of the SPECIFIC prefix in queries is non-standard; it is used internally by Farrago, e.g. in stored view definitions to permanently bind references to a particular function after the overload resolution performed by view creation.

TODO jvs 25-Mar-2005: Once we have SQL-Flagger support, flag SPECIFIC as non-standard.

Throws:
ParseException

StandardFloorCeilOptions

public final SqlNode StandardFloorCeilOptions(SqlParserPos pos,
                                              boolean floorFlag)
                                       throws ParseException
Throws:
ParseException

NonReservedJdbcFunctionName

public final String NonReservedJdbcFunctionName()
                                         throws ParseException
Parses the name of a JDBC function that is a token but is not reserved.

Throws:
ParseException

FunctionName

public final SqlIdentifier FunctionName()
                                 throws ParseException
Parses the name of a function (either a compound identifier or a reserved word which can be used as a function name).

Throws:
ParseException

ReservedFunctionName

public final SqlIdentifier ReservedFunctionName()
                                         throws ParseException
Parses a reserved word which is used as the name of a function.

Throws:
ParseException

ContextVariable

public final SqlIdentifier ContextVariable()
                                    throws ParseException
Throws:
ParseException

JdbcFunctionCall

public final SqlNode JdbcFunctionCall()
                               throws ParseException
Parses a function call expression with JDBC syntax.

Throws:
ParseException

BinaryQueryOperator

public final SqlBinaryOperator BinaryQueryOperator()
                                            throws ParseException
Parses a binary query operator like UNION.

Throws:
ParseException

BinaryMultisetOperator

public final SqlBinaryOperator BinaryMultisetOperator()
                                               throws ParseException
Parses a binary multiset operator.

Throws:
ParseException

BinaryRowOperator

public final SqlBinaryOperator BinaryRowOperator()
                                          throws ParseException
Parses a binary row operator like AND.

Throws:
ParseException

PrefixRowOperator

public final SqlPrefixOperator PrefixRowOperator()
                                          throws ParseException
Parses a prefix row operator like NOT.

Throws:
ParseException

PostfixRowOperator

public final SqlPostfixOperator PostfixRowOperator()
                                            throws ParseException
Parses a postfix row operator like IS NOT NULL.

Throws:
ParseException

CommonNonReservedKeyWord

public final String CommonNonReservedKeyWord()
                                      throws ParseException
Parses a non-reserved keyword for use as an identifier. Specializations of this parser can use this as a base for implementing the NonReservedKeyWord() production.

When adding keywords to this list, be sure that they are not reserved by the SQL:2003 standard (see productions for "non-reserved word" and "reserved word" in reference below).

Throws:
ParseException
Reference to SQL:2003 standard:
Part 2 Section 5.2

UnusedExtension

public final void UnusedExtension()
                           throws ParseException
Defines a production which can never be accepted by the parser. In effect, it tells the parser, "If you got here, you've gone too far." It is used as the default production for parser extension points; derived parsers replace it with a real production when they want to implement a particular extension point.

Throws:
ParseException

jj_2_1

private final boolean jj_2_1(int xla)

jj_2_2

private final boolean jj_2_2(int xla)

jj_2_3

private final boolean jj_2_3(int xla)

jj_2_4

private final boolean jj_2_4(int xla)

jj_2_5

private final boolean jj_2_5(int xla)

jj_2_6

private final boolean jj_2_6(int xla)

jj_2_7

private final boolean jj_2_7(int xla)

jj_2_8

private final boolean jj_2_8(int xla)

jj_2_9

private final boolean jj_2_9(int xla)

jj_2_10

private final boolean jj_2_10(int xla)

jj_2_11

private final boolean jj_2_11(int xla)

jj_2_12

private final boolean jj_2_12(int xla)

jj_2_13

private final boolean jj_2_13(int xla)

jj_2_14

private final boolean jj_2_14(int xla)

jj_2_15

private final boolean jj_2_15(int xla)

jj_2_16

private final boolean jj_2_16(int xla)

jj_2_17

private final boolean jj_2_17(int xla)

jj_2_18

private final boolean jj_2_18(int xla)

jj_2_19

private final boolean jj_2_19(int xla)

jj_2_20

private final boolean jj_2_20(int xla)

jj_2_21

private final boolean jj_2_21(int xla)

jj_2_22

private final boolean jj_2_22(int xla)

jj_2_23

private final boolean jj_2_23(int xla)

jj_2_24

private final boolean jj_2_24(int xla)

jj_2_25

private final boolean jj_2_25(int xla)

jj_2_26

private final boolean jj_2_26(int xla)

jj_2_27

private final boolean jj_2_27(int xla)

jj_2_28

private final boolean jj_2_28(int xla)

jj_2_29

private final boolean jj_2_29(int xla)

jj_2_30

private final boolean jj_2_30(int xla)

jj_2_31

private final boolean jj_2_31(int xla)

jj_2_32

private final boolean jj_2_32(int xla)

jj_2_33

private final boolean jj_2_33(int xla)

jj_2_34

private final boolean jj_2_34(int xla)

jj_2_35

private final boolean jj_2_35(int xla)

jj_2_36

private final boolean jj_2_36(int xla)

jj_2_37

private final boolean jj_2_37(int xla)

jj_2_38

private final boolean jj_2_38(int xla)

jj_2_39

private final boolean jj_2_39(int xla)

jj_2_40

private final boolean jj_2_40(int xla)

jj_2_41

private final boolean jj_2_41(int xla)

jj_2_42

private final boolean jj_2_42(int xla)

jj_2_43

private final boolean jj_2_43(int xla)

jj_2_44

private final boolean jj_2_44(int xla)

jj_2_45

private final boolean jj_2_45(int xla)

jj_3R_64

private final boolean jj_3R_64()

jj_3R_47

private final boolean jj_3R_47()

jj_3R_73

private final boolean jj_3R_73()

jj_3R_127

private final boolean jj_3R_127()

jj_3R_63

private final boolean jj_3R_63()

jj_3R_62

private final boolean jj_3R_62()

jj_3R_45

private final boolean jj_3R_45()

jj_3R_22

private final boolean jj_3R_22()

jj_3_12

private final boolean jj_3_12()

jj_3R_44

private final boolean jj_3R_44()

jj_3R_135

private final boolean jj_3R_135()

jj_3R_214

private final boolean jj_3R_214()

jj_3_25

private final boolean jj_3_25()

jj_3R_185

private final boolean jj_3R_185()

jj_3R_43

private final boolean jj_3R_43()

jj_3R_42

private final boolean jj_3R_42()

jj_3_24

private final boolean jj_3_24()

jj_3R_24

private final boolean jj_3R_24()

jj_3R_171

private final boolean jj_3R_171()

jj_3_27

private final boolean jj_3_27()

jj_3_42

private final boolean jj_3_42()

jj_3R_69

private final boolean jj_3R_69()

jj_3R_147

private final boolean jj_3R_147()

jj_3R_56

private final boolean jj_3R_56()

jj_3_37

private final boolean jj_3_37()

jj_3_41

private final boolean jj_3_41()

jj_3R_55

private final boolean jj_3R_55()

jj_3R_66

private final boolean jj_3R_66()

jj_3R_54

private final boolean jj_3R_54()

jj_3R_53

private final boolean jj_3R_53()

jj_3_36

private final boolean jj_3_36()

jj_3R_52

private final boolean jj_3R_52()

jj_3R_170

private final boolean jj_3R_170()

jj_3R_37

private final boolean jj_3R_37()

jj_3R_138

private final boolean jj_3R_138()

jj_3_35

private final boolean jj_3_35()

jj_3_34

private final boolean jj_3_34()

jj_3R_32

private final boolean jj_3R_32()

jj_3R_31

private final boolean jj_3R_31()

jj_3R_23

private final boolean jj_3R_23()

jj_3R_30

private final boolean jj_3R_30()

jj_3R_29

private final boolean jj_3R_29()

jj_3R_28

private final boolean jj_3R_28()

jj_3R_27

private final boolean jj_3R_27()

jj_3R_143

private final boolean jj_3R_143()

jj_3R_26

private final boolean jj_3R_26()

jj_3_22

private final boolean jj_3_22()

jj_3R_119

private final boolean jj_3R_119()

jj_3R_225

private final boolean jj_3R_225()

jj_3R_25

private final boolean jj_3R_25()

jj_3R_213

private final boolean jj_3R_213()

jj_3R_224

private final boolean jj_3R_224()

jj_3_10

private final boolean jj_3_10()

jj_3_11

private final boolean jj_3_11()

jj_3R_182

private final boolean jj_3R_182()

jj_3_40

private final boolean jj_3_40()

jj_3R_59

private final boolean jj_3R_59()

jj_3R_188

private final boolean jj_3R_188()

jj_3R_187

private final boolean jj_3R_187()

jj_3R_58

private final boolean jj_3R_58()

jj_3R_145

private final boolean jj_3R_145()

jj_3R_169

private final boolean jj_3R_169()

jj_3_38

private final boolean jj_3_38()

jj_3R_173

private final boolean jj_3R_173()

jj_3R_186

private final boolean jj_3R_186()

jj_3R_118

private final boolean jj_3R_118()

jj_3R_61

private final boolean jj_3R_61()

jj_3_9

private final boolean jj_3_9()

jj_3_33

private final boolean jj_3_33()

jj_3R_137

private final boolean jj_3R_137()

jj_3R_117

private final boolean jj_3R_117()

jj_3R_116

private final boolean jj_3R_116()

jj_3R_57

private final boolean jj_3R_57()

jj_3R_123

private final boolean jj_3R_123()

jj_3R_212

private final boolean jj_3R_212()

jj_3_39

private final boolean jj_3_39()

jj_3R_122

private final boolean jj_3R_122()

jj_3_8

private final boolean jj_3_8()

jj_3R_211

private final boolean jj_3R_211()

jj_3R_19

private final boolean jj_3R_19()

jj_3R_210

private final boolean jj_3R_210()

jj_3R_68

private final boolean jj_3R_68()

jj_3R_209

private final boolean jj_3R_209()

jj_3R_113

private final boolean jj_3R_113()

jj_3R_208

private final boolean jj_3R_208()

jj_3R_40

private final boolean jj_3R_40()

jj_3R_181

private final boolean jj_3R_181()

jj_3R_207

private final boolean jj_3R_207()

jj_3_21

private final boolean jj_3_21()

jj_3R_112

private final boolean jj_3R_112()

jj_3R_111

private final boolean jj_3R_111()

jj_3R_110

private final boolean jj_3R_110()

jj_3R_146

private final boolean jj_3R_146()

jj_3R_223

private final boolean jj_3R_223()

jj_3_7

private final boolean jj_3_7()

jj_3R_109

private final boolean jj_3R_109()

jj_3R_222

private final boolean jj_3R_222()

jj_3R_108

private final boolean jj_3R_108()

jj_3R_221

private final boolean jj_3R_221()

jj_3R_220

private final boolean jj_3R_220()

jj_3R_202

private final boolean jj_3R_202()

jj_3R_107

private final boolean jj_3R_107()

jj_3R_21

private final boolean jj_3R_21()

jj_3R_219

private final boolean jj_3R_219()

jj_3R_106

private final boolean jj_3R_106()

jj_3_6

private final boolean jj_3_6()

jj_3R_179

private final boolean jj_3R_179()

jj_3R_201

private final boolean jj_3R_201()

jj_3R_105

private final boolean jj_3R_105()

jj_3R_104

private final boolean jj_3R_104()

jj_3R_50

private final boolean jj_3R_50()

jj_3R_206

private final boolean jj_3R_206()

jj_3R_205

private final boolean jj_3R_205()

jj_3R_204

private final boolean jj_3R_204()

jj_3R_180

private final boolean jj_3R_180()

jj_3R_203

private final boolean jj_3R_203()

jj_3_20

private final boolean jj_3_20()

jj_3R_200

private final boolean jj_3R_200()

jj_3R_199

private final boolean jj_3R_199()

jj_3R_178

private final boolean jj_3R_178()

jj_3R_198

private final boolean jj_3R_198()

jj_3R_124

private final boolean jj_3R_124()

jj_3R_228

private final boolean jj_3R_228()

jj_3R_227

private final boolean jj_3R_227()

jj_3R_218

private final boolean jj_3R_218()

jj_3R_226

private final boolean jj_3R_226()

jj_3R_159

private final boolean jj_3R_159()

jj_3_19

private final boolean jj_3_19()

jj_3R_158

private final boolean jj_3R_158()

jj_3R_157

private final boolean jj_3R_157()

jj_3R_156

private final boolean jj_3R_156()

jj_3R_133

private final boolean jj_3R_133()

jj_3R_38

private final boolean jj_3R_38()

jj_3R_132

private final boolean jj_3R_132()

jj_3R_131

private final boolean jj_3R_131()

jj_3R_94

private final boolean jj_3R_94()

jj_3R_164

private final boolean jj_3R_164()

jj_3R_152

private final boolean jj_3R_152()

jj_3R_151

private final boolean jj_3R_151()

jj_3R_150

private final boolean jj_3R_150()

jj_3R_163

private final boolean jj_3R_163()

jj_3R_125

private final boolean jj_3R_125()

jj_3R_149

private final boolean jj_3R_149()

jj_3R_162

private final boolean jj_3R_162()

jj_3_18

private final boolean jj_3_18()

jj_3R_161

private final boolean jj_3R_161()

jj_3_5

private final boolean jj_3_5()

jj_3R_90

private final boolean jj_3R_90()

jj_3R_134

private final boolean jj_3R_134()

jj_3R_160

private final boolean jj_3R_160()

jj_3R_89

private final boolean jj_3R_89()

jj_3R_88

private final boolean jj_3R_88()

jj_3R_87

private final boolean jj_3R_87()

jj_3_45

private final boolean jj_3_45()

jj_3R_86

private final boolean jj_3R_86()

jj_3R_85

private final boolean jj_3R_85()

jj_3R_84

private final boolean jj_3R_84()

jj_3R_83

private final boolean jj_3R_83()

jj_3R_82

private final boolean jj_3R_82()

jj_3R_81

private final boolean jj_3R_81()

jj_3R_80

private final boolean jj_3R_80()

jj_3R_79

private final boolean jj_3R_79()

jj_3R_78

private final boolean jj_3R_78()

jj_3R_141

private final boolean jj_3R_141()

jj_3R_77

private final boolean jj_3R_77()

jj_3R_76

private final boolean jj_3R_76()

jj_3_30

private final boolean jj_3_30()

jj_3_4

private final boolean jj_3_4()

jj_3R_75

private final boolean jj_3R_75()

jj_3R_74

private final boolean jj_3R_74()

jj_3R_46

private final boolean jj_3R_46()

jj_3R_197

private final boolean jj_3R_197()

jj_3R_177

private final boolean jj_3R_177()

jj_3R_196

private final boolean jj_3R_196()

jj_3_17

private final boolean jj_3_17()

jj_3R_172

private final boolean jj_3R_172()

jj_3R_195

private final boolean jj_3R_195()

jj_3_32

private final boolean jj_3_32()

jj_3R_155

private final boolean jj_3R_155()

jj_3R_176

private final boolean jj_3R_176()

jj_3R_194

private final boolean jj_3R_194()

jj_3R_103

private final boolean jj_3R_103()

jj_3_16

private final boolean jj_3_16()

jj_3R_193

private final boolean jj_3R_193()

jj_3R_102

private final boolean jj_3R_102()

jj_3R_101

private final boolean jj_3R_101()

jj_3R_154

private final boolean jj_3R_154()

jj_3R_175

private final boolean jj_3R_175()

jj_3R_192

private final boolean jj_3R_192()

jj_3R_100

private final boolean jj_3R_100()

jj_3_15

private final boolean jj_3_15()

jj_3R_99

private final boolean jj_3R_99()

jj_3R_153

private final boolean jj_3R_153()

jj_3R_98

private final boolean jj_3R_98()

jj_3R_36

private final boolean jj_3R_36()

jj_3R_97

private final boolean jj_3R_97()

jj_3R_183

private final boolean jj_3R_183()

jj_3_31

private final boolean jj_3_31()

jj_3R_96

private final boolean jj_3R_96()

jj_3R_128

private final boolean jj_3R_128()

jj_3R_95

private final boolean jj_3R_95()

jj_3R_49

private final boolean jj_3R_49()

jj_3_14

private final boolean jj_3_14()

jj_3R_60

private final boolean jj_3R_60()

jj_3R_191

private final boolean jj_3R_191()

jj_3R_230

private final boolean jj_3R_230()

jj_3R_190

private final boolean jj_3R_190()

jj_3R_189

private final boolean jj_3R_189()

jj_3R_229

private final boolean jj_3R_229()

jj_3R_174

private final boolean jj_3R_174()

jj_3R_216

private final boolean jj_3R_216()

jj_3R_34

private final boolean jj_3R_34()

jj_3_44

private final boolean jj_3_44()

jj_3_3

private final boolean jj_3_3()

jj_3_43

private final boolean jj_3_43()

jj_3R_217

private final boolean jj_3R_217()

jj_3R_35

private final boolean jj_3R_35()

jj_3R_168

private final boolean jj_3R_168()

jj_3R_167

private final boolean jj_3R_167()

jj_3R_166

private final boolean jj_3R_166()

jj_3R_165

private final boolean jj_3R_165()

jj_3R_121

private final boolean jj_3R_121()

jj_3R_136

private final boolean jj_3R_136()

jj_3_2

private final boolean jj_3_2()

jj_3R_126

private final boolean jj_3R_126()

jj_3R_72

private final boolean jj_3R_72()

jj_3R_140

private final boolean jj_3R_140()

jj_3R_144

private final boolean jj_3R_144()

jj_3R_71

private final boolean jj_3R_71()

jj_3R_139

private final boolean jj_3R_139()

jj_3R_67

private final boolean jj_3R_67()

jj_3_29

private final boolean jj_3_29()

jj_3R_70

private final boolean jj_3R_70()

jj_3R_33

private final boolean jj_3R_33()

jj_3_28

private final boolean jj_3_28()

jj_3R_41

private final boolean jj_3R_41()

jj_3R_215

private final boolean jj_3R_215()

jj_3R_20

private final boolean jj_3R_20()

jj_3R_148

private final boolean jj_3R_148()

jj_3R_48

private final boolean jj_3R_48()

jj_3R_142

private final boolean jj_3R_142()

jj_3R_39

private final boolean jj_3R_39()

jj_3_26

private final boolean jj_3_26()

jj_3R_115

private final boolean jj_3R_115()

jj_3R_114

private final boolean jj_3R_114()

jj_3_23

private final boolean jj_3_23()

jj_3R_51

private final boolean jj_3R_51()

jj_3_1

private final boolean jj_3_1()

jj_3R_65

private final boolean jj_3R_65()

jj_3R_93

private final boolean jj_3R_93()

jj_3_13

private final boolean jj_3_13()

jj_3R_130

private final boolean jj_3R_130()

jj_3R_92

private final boolean jj_3R_92()

jj_3R_129

private final boolean jj_3R_129()

jj_3R_91

private final boolean jj_3R_91()

jj_3R_184

private final boolean jj_3R_184()

jj_3R_120

private final boolean jj_3R_120()

jj_la1_0

private static void jj_la1_0()

jj_la1_1

private static void jj_la1_1()

jj_la1_2

private static void jj_la1_2()

jj_la1_3

private static void jj_la1_3()

jj_la1_4

private static void jj_la1_4()

jj_la1_5

private static void jj_la1_5()

jj_la1_6

private static void jj_la1_6()

jj_la1_7

private static void jj_la1_7()

jj_la1_8

private static void jj_la1_8()

jj_la1_9

private static void jj_la1_9()

jj_la1_10

private static void jj_la1_10()

jj_la1_11

private static void jj_la1_11()

jj_la1_12

private static void jj_la1_12()

jj_la1_13

private static void jj_la1_13()

jj_la1_14

private static void jj_la1_14()

jj_la1_15

private static void jj_la1_15()

jj_la1_16

private static void jj_la1_16()

jj_la1_17

private static void jj_la1_17()

jj_la1_18

private static void jj_la1_18()

ReInit

public void ReInit(InputStream stream)

ReInit

public void ReInit(InputStream stream,
                   String encoding)

ReInit

public void ReInit(Reader stream)
Description copied from class: SqlAbstractParserImpl
Reinitializes parser with new input.

Specified by:
ReInit in class SqlAbstractParserImpl
Parameters:
stream - provides new input

ReInit

public void ReInit(SqlParserImplTokenManager tm)

jj_consume_token

private final Token jj_consume_token(int kind)
                              throws ParseException
Throws:
ParseException

jj_scan_token

private final boolean jj_scan_token(int kind)

getNextToken

public final Token getNextToken()

getToken

public final Token getToken(int index)

jj_ntk

private final int jj_ntk()

jj_add_error_token

private void jj_add_error_token(int kind,
                                int pos)

generateParseException

public ParseException generateParseException()

enable_tracing

public final void enable_tracing()

disable_tracing

public final void disable_tracing()

jj_rescan_token

private final void jj_rescan_token()

jj_save

private final void jj_save(int index,
                           int xla)