org.apache.hadoop.hive.ql.parse
Class ParseDriver.HiveLexerX

java.lang.Object
  extended by org.antlr.runtime.BaseRecognizer
      extended by org.antlr.runtime.Lexer
          extended by org.apache.hadoop.hive.ql.parse.HiveLexer
              extended by org.apache.hadoop.hive.ql.parse.ParseDriver.HiveLexerX
All Implemented Interfaces:
org.antlr.runtime.TokenSource
Enclosing class:
ParseDriver

public class ParseDriver.HiveLexerX
extends HiveLexer

HiveLexerX.


Field Summary
 
Fields inherited from class org.apache.hadoop.hive.ql.parse.HiveLexer
AMPERSAND, BigintLiteral, BITWISEOR, BITWISEXOR, ByteLengthLiteral, CharSetLiteral, CharSetName, COLON, COMMA, COMMENT, dfa24, Digit, DIV, DIVIDE, DOLLAR, DOT, EOF, EQUAL, EQUAL_NS, Exponent, GREATERTHAN, GREATERTHANOREQUALTO, HexDigit, Identifier, KW_ADD, KW_AFTER, KW_ALL, KW_ALTER, KW_ANALYZE, KW_AND, KW_ARCHIVE, KW_ARRAY, KW_AS, KW_ASC, KW_BEFORE, KW_BETWEEN, KW_BIGINT, KW_BINARY, KW_BOOLEAN, KW_BOTH, KW_BUCKET, KW_BUCKETS, KW_BY, KW_CASCADE, KW_CASE, KW_CAST, KW_CHANGE, KW_CLUSTER, KW_CLUSTERED, KW_CLUSTERSTATUS, KW_COLLECTION, KW_COLUMN, KW_COLUMNS, KW_COMMENT, KW_COMPUTE, KW_CONCATENATE, KW_CONTINUE, KW_CREATE, KW_CROSS, KW_CUBE, KW_CURSOR, KW_DATA, KW_DATABASE, KW_DATABASES, KW_DATE, KW_DATETIME, KW_DBPROPERTIES, KW_DECIMAL, KW_DEFERRED, KW_DELETE, KW_DELIMITED, KW_DEPENDENCY, KW_DESC, KW_DESCRIBE, KW_DIRECTORIES, KW_DIRECTORY, KW_DISABLE, KW_DISTINCT, KW_DISTRIBUTE, KW_DOUBLE, KW_DROP, KW_ELEM_TYPE, KW_ELSE, KW_ENABLE, KW_END, KW_ESCAPED, KW_EXCLUSIVE, KW_EXISTS, KW_EXPLAIN, KW_EXPORT, KW_EXTENDED, KW_EXTERNAL, KW_FALSE, KW_FETCH, KW_FIELDS, KW_FILEFORMAT, KW_FIRST, KW_FLOAT, KW_FOR, KW_FORMAT, KW_FORMATTED, KW_FROM, KW_FULL, KW_FUNCTION, KW_FUNCTIONS, KW_GRANT, KW_GROUP, KW_GROUPING, KW_HAVING, KW_HOLD_DDLTIME, KW_IDXPROPERTIES, KW_IF, KW_IGNORE, KW_IMPORT, KW_IN, KW_INDEX, KW_INDEXES, KW_INNER, KW_INPATH, KW_INPUTDRIVER, KW_INPUTFORMAT, KW_INSERT, KW_INT, KW_INTERSECT, KW_INTO, KW_IS, KW_ITEMS, KW_JOIN, KW_KEY_TYPE, KW_KEYS, KW_LATERAL, KW_LEFT, KW_LIKE, KW_LIMIT, KW_LINES, KW_LOAD, KW_LOCAL, KW_LOCATION, KW_LOCK, KW_LOCKS, KW_LONG, KW_MAP, KW_MAPJOIN, KW_MATERIALIZED, KW_MINUS, KW_MSCK, KW_NO_DROP, KW_NOSCAN, KW_NOT, KW_NULL, KW_OF, KW_OFFLINE, KW_ON, KW_OPTION, KW_OR, KW_ORDER, KW_OUT, KW_OUTER, KW_OUTPUTDRIVER, KW_OUTPUTFORMAT, KW_OVERWRITE, KW_PARTITION, KW_PARTITIONED, KW_PARTITIONS, KW_PERCENT, KW_PLUS, KW_PRESERVE, KW_PRETTY, KW_PROCEDURE, KW_PROTECTION, KW_PURGE, KW_RANGE, KW_RCFILE, KW_READ, KW_READONLY, KW_READS, KW_REBUILD, KW_RECORDREADER, KW_RECORDWRITER, KW_REDUCE, KW_REGEXP, KW_RENAME, KW_REPAIR, KW_REPLACE, KW_RESTRICT, KW_REVOKE, KW_RIGHT, KW_RLIKE, KW_ROLE, KW_ROLLUP, KW_ROW, KW_ROWS, KW_SCHEMA, KW_SCHEMAS, KW_SELECT, KW_SEMI, KW_SEQUENCEFILE, KW_SERDE, KW_SERDEPROPERTIES, KW_SET, KW_SETS, KW_SHARED, KW_SHOW, KW_SHOW_DATABASE, KW_SKEWED, KW_SMALLINT, KW_SORT, KW_SORTED, KW_SSL, KW_STATISTICS, KW_STORED, KW_STREAMTABLE, KW_STRING, KW_STRUCT, KW_TABLE, KW_TABLES, KW_TABLESAMPLE, KW_TBLPROPERTIES, KW_TEMPORARY, KW_TERMINATED, KW_TEXTFILE, KW_THEN, KW_TIMESTAMP, KW_TINYINT, KW_TO, KW_TOUCH, KW_TRANSFORM, KW_TRIGGER, KW_TRUE, KW_TRUNCATE, KW_UNARCHIVE, KW_UNDO, KW_UNION, KW_UNIONTYPE, KW_UNIQUEJOIN, KW_UNLOCK, KW_UNSET, KW_UNSIGNED, KW_UPDATE, KW_USE, KW_USER, KW_USING, KW_UTC, KW_UTCTIMESTAMP, KW_VALUE_TYPE, KW_VIEW, KW_WHEN, KW_WHERE, KW_WHILE, KW_WITH, LCURLY, LESSTHAN, LESSTHANOREQUALTO, Letter, LPAREN, LSQUARE, MINUS, MOD, NOTEQUAL, Number, PLUS, QUESTION, RCURLY, RegexComponent, RPAREN, RSQUARE, SEMICOLON, SmallintLiteral, STAR, StringLiteral, TILDE, TinyintLiteral, WS
 
Fields inherited from class org.antlr.runtime.Lexer
input
 
Fields inherited from class org.antlr.runtime.BaseRecognizer
DEFAULT_TOKEN_CHANNEL, HIDDEN, INITIAL_FOLLOW_STACK_SIZE, MEMO_RULE_FAILED, MEMO_RULE_UNKNOWN, NEXT_TOKEN_RULE_NAME, state
 
Constructor Summary
ParseDriver.HiveLexerX()
           
ParseDriver.HiveLexerX(org.antlr.runtime.CharStream input)
           
 
Method Summary
 void displayRecognitionError(String[] tokenNames, org.antlr.runtime.RecognitionException e)
           
 String getErrorMessage(org.antlr.runtime.RecognitionException e, String[] tokenNames)
           
 ArrayList<ParseError> getErrors()
           
 
Methods inherited from class org.apache.hadoop.hive.ql.parse.HiveLexer
getDelegates, getGrammarFileName, mAMPERSAND, mBigintLiteral, mBITWISEOR, mBITWISEXOR, mByteLengthLiteral, mCharSetLiteral, mCharSetName, mCOLON, mCOMMA, mCOMMENT, mDigit, mDIV, mDIVIDE, mDOLLAR, mDOT, mEQUAL_NS, mEQUAL, mExponent, mGREATERTHAN, mGREATERTHANOREQUALTO, mHexDigit, mIdentifier, mKW_ADD, mKW_AFTER, mKW_ALL, mKW_ALTER, mKW_ANALYZE, mKW_AND, mKW_ARCHIVE, mKW_ARRAY, mKW_AS, mKW_ASC, mKW_BEFORE, mKW_BETWEEN, mKW_BIGINT, mKW_BINARY, mKW_BOOLEAN, mKW_BOTH, mKW_BUCKET, mKW_BUCKETS, mKW_BY, mKW_CASCADE, mKW_CASE, mKW_CAST, mKW_CHANGE, mKW_CLUSTER, mKW_CLUSTERED, mKW_CLUSTERSTATUS, mKW_COLLECTION, mKW_COLUMN, mKW_COLUMNS, mKW_COMMENT, mKW_COMPUTE, mKW_CONCATENATE, mKW_CONTINUE, mKW_CREATE, mKW_CROSS, mKW_CUBE, mKW_CURSOR, mKW_DATA, mKW_DATABASE, mKW_DATABASES, mKW_DATE, mKW_DATETIME, mKW_DBPROPERTIES, mKW_DECIMAL, mKW_DEFERRED, mKW_DELETE, mKW_DELIMITED, mKW_DEPENDENCY, mKW_DESC, mKW_DESCRIBE, mKW_DIRECTORIES, mKW_DIRECTORY, mKW_DISABLE, mKW_DISTINCT, mKW_DISTRIBUTE, mKW_DOUBLE, mKW_DROP, mKW_ELEM_TYPE, mKW_ELSE, mKW_ENABLE, mKW_END, mKW_ESCAPED, mKW_EXCLUSIVE, mKW_EXISTS, mKW_EXPLAIN, mKW_EXPORT, mKW_EXTENDED, mKW_EXTERNAL, mKW_FALSE, mKW_FETCH, mKW_FIELDS, mKW_FILEFORMAT, mKW_FIRST, mKW_FLOAT, mKW_FOR, mKW_FORMAT, mKW_FORMATTED, mKW_FROM, mKW_FULL, mKW_FUNCTION, mKW_FUNCTIONS, mKW_GRANT, mKW_GROUP, mKW_GROUPING, mKW_HAVING, mKW_HOLD_DDLTIME, mKW_IDXPROPERTIES, mKW_IF, mKW_IGNORE, mKW_IMPORT, mKW_IN, mKW_INDEX, mKW_INDEXES, mKW_INNER, mKW_INPATH, mKW_INPUTDRIVER, mKW_INPUTFORMAT, mKW_INSERT, mKW_INT, mKW_INTERSECT, mKW_INTO, mKW_IS, mKW_ITEMS, mKW_JOIN, mKW_KEY_TYPE, mKW_KEYS, mKW_LATERAL, mKW_LEFT, mKW_LIKE, mKW_LIMIT, mKW_LINES, mKW_LOAD, mKW_LOCAL, mKW_LOCATION, mKW_LOCK, mKW_LOCKS, mKW_LONG, mKW_MAP, mKW_MAPJOIN, mKW_MATERIALIZED, mKW_MINUS, mKW_MSCK, mKW_NO_DROP, mKW_NOSCAN, mKW_NOT, mKW_NULL, mKW_OF, mKW_OFFLINE, mKW_ON, mKW_OPTION, mKW_OR, mKW_ORDER, mKW_OUT, mKW_OUTER, mKW_OUTPUTDRIVER, mKW_OUTPUTFORMAT, mKW_OVERWRITE, mKW_PARTITION, mKW_PARTITIONED, mKW_PARTITIONS, mKW_PERCENT, mKW_PLUS, mKW_PRESERVE, mKW_PRETTY, mKW_PROCEDURE, mKW_PROTECTION, mKW_PURGE, mKW_RANGE, mKW_RCFILE, mKW_READ, mKW_READONLY, mKW_READS, mKW_REBUILD, mKW_RECORDREADER, mKW_RECORDWRITER, mKW_REDUCE, mKW_REGEXP, mKW_RENAME, mKW_REPAIR, mKW_REPLACE, mKW_RESTRICT, mKW_REVOKE, mKW_RIGHT, mKW_RLIKE, mKW_ROLE, mKW_ROLLUP, mKW_ROW, mKW_ROWS, mKW_SCHEMA, mKW_SCHEMAS, mKW_SELECT, mKW_SEMI, mKW_SEQUENCEFILE, mKW_SERDE, mKW_SERDEPROPERTIES, mKW_SET, mKW_SETS, mKW_SHARED, mKW_SHOW_DATABASE, mKW_SHOW, mKW_SKEWED, mKW_SMALLINT, mKW_SORT, mKW_SORTED, mKW_SSL, mKW_STATISTICS, mKW_STORED, mKW_STREAMTABLE, mKW_STRING, mKW_STRUCT, mKW_TABLE, mKW_TABLES, mKW_TABLESAMPLE, mKW_TBLPROPERTIES, mKW_TEMPORARY, mKW_TERMINATED, mKW_TEXTFILE, mKW_THEN, mKW_TIMESTAMP, mKW_TINYINT, mKW_TO, mKW_TOUCH, mKW_TRANSFORM, mKW_TRIGGER, mKW_TRUE, mKW_TRUNCATE, mKW_UNARCHIVE, mKW_UNDO, mKW_UNION, mKW_UNIONTYPE, mKW_UNIQUEJOIN, mKW_UNLOCK, mKW_UNSET, mKW_UNSIGNED, mKW_UPDATE, mKW_USE, mKW_USER, mKW_USING, mKW_UTC, mKW_UTCTIMESTAMP, mKW_VALUE_TYPE, mKW_VIEW, mKW_WHEN, mKW_WHERE, mKW_WHILE, mKW_WITH, mLCURLY, mLESSTHAN, mLESSTHANOREQUALTO, mLetter, mLPAREN, mLSQUARE, mMINUS, mMOD, mNOTEQUAL, mNumber, mPLUS, mQUESTION, mRCURLY, mRegexComponent, mRPAREN, mRSQUARE, mSEMICOLON, mSmallintLiteral, mSTAR, mStringLiteral, mTILDE, mTinyintLiteral, mTokens, mWS
 
Methods inherited from class org.antlr.runtime.Lexer
emit, emit, getCharErrorDisplay, getCharIndex, getCharPositionInLine, getCharStream, getLine, getSourceName, getText, match, match, matchAny, matchRange, nextToken, recover, reportError, reset, setCharStream, setText, skip, traceIn, traceOut
 
Methods inherited from class org.antlr.runtime.BaseRecognizer
alreadyParsedRule, beginResync, combineFollows, computeContextSensitiveRuleFOLLOW, computeErrorRecoverySet, consumeUntil, consumeUntil, emitErrorMessage, endResync, failed, getBacktrackingLevel, getCurrentInputSymbol, getErrorHeader, getMissingSymbol, getNumberOfSyntaxErrors, getRuleInvocationStack, getRuleInvocationStack, getRuleMemoization, getRuleMemoizationCacheSize, getTokenErrorDisplay, getTokenNames, match, matchAny, memoize, mismatchIsMissingToken, mismatchIsUnwantedToken, pushFollow, recover, recoverFromMismatchedSet, recoverFromMismatchedToken, setBacktrackingLevel, toStrings, traceIn, traceOut
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParseDriver.HiveLexerX

public ParseDriver.HiveLexerX()

ParseDriver.HiveLexerX

public ParseDriver.HiveLexerX(org.antlr.runtime.CharStream input)
Method Detail

displayRecognitionError

public void displayRecognitionError(String[] tokenNames,
                                    org.antlr.runtime.RecognitionException e)
Overrides:
displayRecognitionError in class org.antlr.runtime.BaseRecognizer

getErrorMessage

public String getErrorMessage(org.antlr.runtime.RecognitionException e,
                              String[] tokenNames)
Overrides:
getErrorMessage in class org.antlr.runtime.Lexer

getErrors

public ArrayList<ParseError> getErrors()


Copyright © 2012 The Apache Software Foundation