|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.visualization.datasource.query.parser.QueryParser
public class QueryParser
Query parser. AUTOGENERATED, see QueryParser.jj
| Field Summary | |
|---|---|
Token |
jj_nt
Next token. |
Token |
token
Current token. |
QueryParserTokenManager |
token_source
Generated Token Manager. |
| Fields inherited from interface com.google.visualization.datasource.query.parser.QueryParserConstants |
|---|
ALPHANUMERIC, DECIMAL_LITERAL, DEFAULT, DIGIT, EOF, ID, INTEGER_LITERAL, KW_AND, KW_ASC, KW_AVG, KW_BY, KW_CONTAINS, KW_COUNT, KW_DATE, KW_DATEDIFF, KW_DATETIME, KW_DAY, KW_DAYOFWEEK, KW_DESC, KW_ENDS, KW_FALSE, KW_FORMAT, KW_GROUP, KW_HOUR, KW_IS, KW_LABEL, KW_LIKE, KW_LIMIT, KW_LOWER, KW_MATCHES, KW_MAX, KW_MILLISECOND, KW_MIN, KW_MINUTE, KW_MONTH, KW_NO_FORMAT, KW_NO_VALUES, KW_NOT, KW_NOW, KW_NULL, KW_OFFSET, KW_OPTIONS, KW_OR, KW_ORDER, KW_PIVOT, KW_QUARTER, KW_SECOND, KW_SELECT, KW_SKIPPING, KW_STARTS, KW_SUM, KW_TIMEOFDAY, KW_TIMESTAMP, KW_TODATE, KW_TRUE, KW_UPPER, KW_WHERE, KW_WITH, KW_YEAR, LETTER_OR_UNDERSCORE, OP_ASTERISK, OP_COMMA, OP_EQUALS, OP_GREATER_OR_EQUAL, OP_GREATER_THAN, OP_LESS_OR_EQUAL, OP_LESS_THAN, OP_LPAREN, OP_MINUS, OP_MODULO, OP_NOT_EQUALS, OP_PLUS, OP_RPAREN, OP_SLASH, QUOTED_ID, STRING_LITERAL, tokenImage, UNEXPECTED_CHAR |
| Constructor Summary | |
|---|---|
QueryParser(InputStream stream)
Constructor with InputStream. |
|
QueryParser(InputStream stream,
String encoding)
Constructor with InputStream and supplied encoding |
|
QueryParser(QueryParserTokenManager tm)
Constructor with generated Token Manager. |
|
QueryParser(Reader stream)
Constructor. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public QueryParserTokenManager token_source
public Token token
public Token jj_nt
| Constructor Detail |
|---|
public QueryParser(InputStream stream)
public QueryParser(InputStream stream,
String encoding)
public QueryParser(Reader stream)
public QueryParser(QueryParserTokenManager tm)
| Method Detail |
|---|
public static Query parseString(String queryString)
throws ParseException,
InvalidQueryException
ParseException
InvalidQueryException
public final Query queryStatement()
throws ParseException,
InvalidQueryException
ParseException
InvalidQueryException
public final void selectClause(Query query)
throws ParseException,
InvalidQueryException
ParseException
InvalidQueryException
public final void whereClause(Query query)
throws ParseException,
InvalidQueryException
ParseException
InvalidQueryException
public final void groupByClause(Query query)
throws ParseException,
InvalidQueryException
ParseException
InvalidQueryException
public final void pivotClause(Query query)
throws ParseException,
InvalidQueryException
ParseException
InvalidQueryException
public final void orderByClause(Query query)
throws ParseException,
InvalidQueryException
ParseException
InvalidQueryException
public final void skippingClause(Query query)
throws ParseException,
InvalidQueryException
ParseException
InvalidQueryException
public final void limitClause(Query query)
throws ParseException,
InvalidQueryException
ParseException
InvalidQueryException
public final void offsetClause(Query query)
throws ParseException,
InvalidQueryException
ParseException
InvalidQueryException
public final void labelClause(Query query)
throws ParseException,
InvalidQueryException
ParseException
InvalidQueryException
public final void formatClause(Query query)
throws ParseException,
InvalidQueryException
ParseException
InvalidQueryException
public final void optionsClause(Query query)
throws ParseException
ParseException
public final QueryFilter logicalExpression()
throws ParseException,
InvalidQueryException
ParseException
InvalidQueryException
public final QueryFilter possibleOrExpression()
throws ParseException,
InvalidQueryException
ParseException
InvalidQueryException
public final QueryFilter possibleAndExpression()
throws ParseException,
InvalidQueryException
ParseException
InvalidQueryException
public final QueryFilter possibleNotExpression()
throws ParseException,
InvalidQueryException
ParseException
InvalidQueryException
public final QueryFilter primaryExpression()
throws ParseException,
InvalidQueryException
ParseException
InvalidQueryException
public final QueryFilter primitiveFilter()
throws ParseException,
InvalidQueryException
ParseException
InvalidQueryException
public final ComparisonFilter.Operator comparisonOperator()
throws ParseException
ParseException
public final Value literal()
throws ParseException,
InvalidQueryException
ParseException
InvalidQueryException
public final com.google.visualization.datasource.query.parser.QueryOptionEnum queryOption()
throws ParseException
ParseException
public final AbstractColumn abstractColumnDescriptor()
throws ParseException,
InvalidQueryException
ParseException
InvalidQueryException
public final AbstractColumn atomicAbstractColumnDescriptor()
throws ParseException,
InvalidQueryException
ParseException
InvalidQueryException
public final AbstractColumn arithmeticExpression()
throws ParseException,
InvalidQueryException
ParseException
InvalidQueryException
public final AbstractColumn possibleSecondOrderArithmeticExpression()
throws ParseException,
InvalidQueryException
ParseException
InvalidQueryException
public final AbstractColumn possibleFirstOrderArithmeticExpression()
throws ParseException,
InvalidQueryException
ParseException
InvalidQueryException
public final AggregationType aggregationFunction()
throws ParseException
ParseException
public final ScalarFunction scalarFunction()
throws ParseException
ParseException
public final String columnId()
throws ParseException
ParseException
public final String nonReservedKeyword()
throws ParseException
ParseException
public final SortOrder sortOrder()
throws ParseException
ParseException
public final int integerLiteral()
throws ParseException
ParseException
public final String stringLiteral()
throws ParseException
ParseException
public final double decimalLiteral()
throws ParseException
ParseException
public final boolean booleanLiteral()
throws ParseException
ParseExceptionpublic void ReInit(InputStream stream)
public void ReInit(InputStream stream,
String encoding)
public void ReInit(Reader stream)
public void ReInit(QueryParserTokenManager tm)
public final Token getNextToken()
public final Token getToken(int index)
public ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||