org.apache.cassandra.cql.compiler.common
Class CqlCompiler.CqlParserX

java.lang.Object
  extended by org.antlr.runtime.BaseRecognizer
      extended by org.antlr.runtime.Parser
          extended by org.apache.cassandra.cql.compiler.parse.CqlParser
              extended by org.apache.cassandra.cql.compiler.common.CqlCompiler.CqlParserX
Enclosing class:
CqlCompiler

public class CqlCompiler.CqlParserX
extends org.apache.cassandra.cql.compiler.parse.CqlParser


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.cassandra.cql.compiler.parse.CqlParser
org.apache.cassandra.cql.compiler.parse.CqlParser.cellValue_return, org.apache.cassandra.cql.compiler.parse.CqlParser.columnExpression_return, org.apache.cassandra.cql.compiler.parse.CqlParser.columnExpressionRest_return, org.apache.cassandra.cql.compiler.parse.CqlParser.columnFamilyName_return, org.apache.cassandra.cql.compiler.parse.CqlParser.columnKey_return, org.apache.cassandra.cql.compiler.parse.CqlParser.columnMapEntry_return, org.apache.cassandra.cql.compiler.parse.CqlParser.columnMapValue_return, org.apache.cassandra.cql.compiler.parse.CqlParser.columnOrSuperColumnKey_return, org.apache.cassandra.cql.compiler.parse.CqlParser.columnOrSuperColumnName_return, org.apache.cassandra.cql.compiler.parse.CqlParser.columnSpec_return, org.apache.cassandra.cql.compiler.parse.CqlParser.deleteStmt_return, org.apache.cassandra.cql.compiler.parse.CqlParser.fromClause_return, org.apache.cassandra.cql.compiler.parse.CqlParser.getStmt_return, org.apache.cassandra.cql.compiler.parse.CqlParser.keyExactMatch_return, org.apache.cassandra.cql.compiler.parse.CqlParser.keyInClause_return, org.apache.cassandra.cql.compiler.parse.CqlParser.limitClause_return, org.apache.cassandra.cql.compiler.parse.CqlParser.root_return, org.apache.cassandra.cql.compiler.parse.CqlParser.rowKey_return, org.apache.cassandra.cql.compiler.parse.CqlParser.selectClause_return, org.apache.cassandra.cql.compiler.parse.CqlParser.selectList_return, org.apache.cassandra.cql.compiler.parse.CqlParser.selectListItem_return, org.apache.cassandra.cql.compiler.parse.CqlParser.selectStmt_return, org.apache.cassandra.cql.compiler.parse.CqlParser.setStmt_return, org.apache.cassandra.cql.compiler.parse.CqlParser.stmt_return, org.apache.cassandra.cql.compiler.parse.CqlParser.stringVal_return, org.apache.cassandra.cql.compiler.parse.CqlParser.superColumnKey_return, org.apache.cassandra.cql.compiler.parse.CqlParser.superColumnMapEntry_return, org.apache.cassandra.cql.compiler.parse.CqlParser.superColumnMapValue_return, org.apache.cassandra.cql.compiler.parse.CqlParser.tableExpression_return, org.apache.cassandra.cql.compiler.parse.CqlParser.tableName_return, org.apache.cassandra.cql.compiler.parse.CqlParser.valueExpr_return, org.apache.cassandra.cql.compiler.parse.CqlParser.whereClause_return
 
Field Summary
 
Fields inherited from class org.apache.cassandra.cql.compiler.parse.CqlParser
A_COLUMN_ACCESS, A_COLUMN_MAP_ENTRY, A_COLUMN_MAP_VALUE, A_DELETE, A_EXPLAIN_PLAN, A_FROM, A_GET, A_KEY_EXACT_MATCH, A_KEY_IN_LIST, A_LIMIT, A_OFFSET, A_ORDER_BY, A_SELECT, A_SELECT_CLAUSE, A_SET, A_SUPERCOLUMN_MAP_ENTRY, A_SUPERCOLUMN_MAP_VALUE, A_WHERE, adaptor, ASSOC, COMMA, COMMENT, Digit, EOF, FOLLOW_47_in_keyExactMatch742, FOLLOW_47_in_setStmt390, FOLLOW_48_in_keyInClause691, FOLLOW_48_in_selectListItem527, FOLLOW_49_in_keyInClause706, FOLLOW_49_in_selectListItem531, FOLLOW_50_in_columnExpressionRest570, FOLLOW_50_in_columnSpec833, FOLLOW_50_in_columnSpec850, FOLLOW_50_in_columnSpec872, FOLLOW_50_in_tableExpression596, FOLLOW_51_in_columnExpressionRest574, FOLLOW_51_in_columnSpec837, FOLLOW_51_in_columnSpec856, FOLLOW_51_in_columnSpec878, FOLLOW_51_in_tableExpression600, FOLLOW_52_in_columnSpec829, FOLLOW_52_in_tableExpression592, FOLLOW_ASSOC_in_columnMapEntry1074, FOLLOW_ASSOC_in_superColumnMapEntry1103, FOLLOW_cellValue_in_columnMapEntry1076, FOLLOW_cellValue_in_valueExpr950, FOLLOW_columnExpression_in_selectListItem522, FOLLOW_columnExpressionRest_in_columnExpression553, FOLLOW_columnExpressionRest_in_columnExpressionRest576, FOLLOW_columnFamilyName_in_columnSpec831, FOLLOW_columnFamilyName_in_tableExpression594, FOLLOW_columnKey_in_columnMapEntry1072, FOLLOW_columnMapEntry_in_columnMapValue994, FOLLOW_columnMapEntry_in_columnMapValue999, FOLLOW_columnMapValue_in_superColumnMapEntry1105, FOLLOW_columnMapValue_in_valueExpr958, FOLLOW_columnOrSuperColumnKey_in_columnSpec854, FOLLOW_columnOrSuperColumnKey_in_columnSpec876, FOLLOW_columnOrSuperColumnName_in_columnExpression551, FOLLOW_columnOrSuperColumnName_in_keyExactMatch740, FOLLOW_columnOrSuperColumnName_in_keyInClause687, FOLLOW_columnSpec_in_deleteStmt802, FOLLOW_columnSpec_in_getStmt360, FOLLOW_columnSpec_in_setStmt388, FOLLOW_COMMA_in_columnMapValue997, FOLLOW_COMMA_in_keyInClause698, FOLLOW_COMMA_in_selectList507, FOLLOW_COMMA_in_superColumnMapValue1037, FOLLOW_deleteStmt_in_stmt317, FOLLOW_EOF_in_root271, FOLLOW_EOF_in_root292, FOLLOW_fromClause_in_selectStmt429, FOLLOW_getStmt_in_stmt325, FOLLOW_Identifier_in_columnFamilyName938, FOLLOW_Identifier_in_columnOrSuperColumnName1126, FOLLOW_Identifier_in_tableName931, FOLLOW_IntegerLiteral_in_limitClause778, FOLLOW_K_DELETE_in_deleteStmt800, FOLLOW_K_EXPLAIN_in_root283, FOLLOW_K_FROM_in_fromClause613, FOLLOW_K_GET_in_getStmt358, FOLLOW_K_IN_in_keyInClause689, FOLLOW_K_LIMIT_in_limitClause776, FOLLOW_K_PLAN_in_root285, FOLLOW_K_SELECT_in_selectClause483, FOLLOW_K_SET_in_setStmt386, FOLLOW_K_WHERE_in_whereClause640, FOLLOW_K_WHERE_in_whereClause660, FOLLOW_keyExactMatch_in_whereClause662, FOLLOW_keyInClause_in_whereClause642, FOLLOW_LEFT_BRACE_in_columnMapValue992, FOLLOW_LEFT_BRACE_in_superColumnMapValue1032, FOLLOW_limitClause_in_selectStmt451, FOLLOW_RIGHT_BRACE_in_columnMapValue1003, FOLLOW_RIGHT_BRACE_in_superColumnMapValue1043, FOLLOW_rowKey_in_columnSpec835, FOLLOW_selectClause_in_selectStmt419, FOLLOW_selectList_in_selectClause485, FOLLOW_selectListItem_in_selectList504, FOLLOW_selectListItem_in_selectList509, FOLLOW_selectStmt_in_selectListItem529, FOLLOW_selectStmt_in_stmt333, FOLLOW_SEMICOLON_in_root268, FOLLOW_SEMICOLON_in_root289, FOLLOW_set_in_stringVal0, FOLLOW_setStmt_in_stmt341, FOLLOW_stmt_in_root266, FOLLOW_stmt_in_root287, FOLLOW_stringVal_in_cellValue981, FOLLOW_stringVal_in_columnExpressionRest572, FOLLOW_stringVal_in_columnKey1178, FOLLOW_stringVal_in_columnOrSuperColumnKey1158, FOLLOW_stringVal_in_keyExactMatch744, FOLLOW_stringVal_in_keyInClause695, FOLLOW_stringVal_in_keyInClause702, FOLLOW_stringVal_in_rowKey1151, FOLLOW_stringVal_in_superColumnKey1193, FOLLOW_stringVal_in_tableExpression598, FOLLOW_superColumnKey_in_superColumnMapEntry1101, FOLLOW_superColumnMapEntry_in_superColumnMapValue1034, FOLLOW_superColumnMapEntry_in_superColumnMapValue1039, FOLLOW_superColumnMapValue_in_valueExpr966, FOLLOW_tableExpression_in_fromClause615, FOLLOW_tableName_in_columnSpec827, FOLLOW_tableName_in_tableExpression590, FOLLOW_valueExpr_in_setStmt392, FOLLOW_whereClause_in_selectStmt440, Identifier, IntegerLiteral, K_BY, K_DELETE, K_EXPLAIN, K_FROM, K_GET, K_IN, K_LIMIT, K_OFFSET, K_ORDER, K_PLAN, K_SELECT, K_SET, K_WHERE, LEFT_BRACE, Letter, RIGHT_BRACE, SEMICOLON, StringLiteral, T__47, T__48, T__49, T__50, T__51, T__52, T__53, tokenNames, WS
 
Fields inherited from class org.antlr.runtime.Parser
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
CqlCompiler.CqlParserX(org.antlr.runtime.TokenStream input)
           
 
Method Summary
 void displayRecognitionError(java.lang.String[] tokenNames, org.antlr.runtime.RecognitionException e)
           
 java.util.ArrayList<ParseError> getErrors()
           
protected  void mismatch(org.antlr.runtime.IntStream input, int ttype, org.antlr.runtime.BitSet follow)
           
 java.lang.Object recoverFromMismatchedSet(org.antlr.runtime.IntStream input, org.antlr.runtime.RecognitionException re, org.antlr.runtime.BitSet follow)
           
 
Methods inherited from class org.apache.cassandra.cql.compiler.parse.CqlParser
cellValue, columnExpression, columnExpressionRest, columnFamilyName, columnKey, columnMapEntry, columnMapValue, columnOrSuperColumnKey, columnOrSuperColumnName, columnSpec, deleteStmt, fromClause, getGrammarFileName, getStmt, getTokenNames, getTreeAdaptor, keyExactMatch, keyInClause, limitClause, root, rowKey, selectClause, selectList, selectListItem, selectStmt, setStmt, setTreeAdaptor, stmt, stringVal, superColumnKey, superColumnMapEntry, superColumnMapValue, tableExpression, tableName, valueExpr, whereClause
 
Methods inherited from class org.antlr.runtime.Parser
getCurrentInputSymbol, getMissingSymbol, getSourceName, getTokenStream, reset, setTokenStream, traceIn, traceOut
 
Methods inherited from class org.antlr.runtime.BaseRecognizer
alreadyParsedRule, beginResync, combineFollows, computeContextSensitiveRuleFOLLOW, computeErrorRecoverySet, consumeUntil, consumeUntil, emitErrorMessage, endResync, failed, getBacktrackingLevel, getErrorHeader, getErrorMessage, getNumberOfSyntaxErrors, getRuleInvocationStack, getRuleInvocationStack, getRuleMemoization, getRuleMemoizationCacheSize, getTokenErrorDisplay, match, matchAny, memoize, mismatchIsMissingToken, mismatchIsUnwantedToken, pushFollow, recover, recoverFromMismatchedToken, reportError, setBacktrackingLevel, toStrings, traceIn, traceOut
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CqlCompiler.CqlParserX

public CqlCompiler.CqlParserX(org.antlr.runtime.TokenStream input)
Method Detail

mismatch

protected void mismatch(org.antlr.runtime.IntStream input,
                        int ttype,
                        org.antlr.runtime.BitSet follow)
                 throws org.antlr.runtime.RecognitionException
Throws:
org.antlr.runtime.RecognitionException

recoverFromMismatchedSet

public java.lang.Object recoverFromMismatchedSet(org.antlr.runtime.IntStream input,
                                                 org.antlr.runtime.RecognitionException re,
                                                 org.antlr.runtime.BitSet follow)
                                          throws org.antlr.runtime.RecognitionException
Overrides:
recoverFromMismatchedSet in class org.antlr.runtime.BaseRecognizer
Throws:
org.antlr.runtime.RecognitionException

displayRecognitionError

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

getErrors

public java.util.ArrayList<ParseError> getErrors()


Copyright © 2009 The Apache Software Foundation