public class StreamSqlParser extends Object implements StreamSqlParserConstants
| Modifier and Type | Field and Description |
|---|---|
Token |
jj_nt
Next token.
|
Token |
token
Current token.
|
StreamSqlParserTokenManager |
token_source
Generated Token Manager.
|
DEFAULT, DIGIT, EOF, EXPONENT, K_ADVANCE, K_AFAP, K_ALL, K_ALTER, K_AND, K_ANY, K_AS, K_ASC, K_BETWEEN, K_BINARY, K_BOOLEAN, K_BY, K_BYTE, K_CHAR, K_CLOSE, K_COLUMN_FAMILY, K_COMPRESSED, K_CREATE, K_CURRENT, K_DATADIR, K_DATE, K_DECIMAL, K_DELETE, K_DESC, K_DISTINCT, K_DOUBLE, K_DROP, K_ENGINE, K_ENUM, K_ESCAPE, K_EXISTS, K_FIXED_DELAY, K_FLOAT, K_FROM, K_HAVING, K_HISTOGRAM, K_IF, K_IN, K_IN_KEY, K_INDEX, K_INPUT, K_INSERT, K_INSERT_APPEND, K_INT, K_INTO, K_IS, K_KEY, K_LIKE, K_MERGE, K_MOD, K_NOFOLLOW, K_NOT, K_NULL, K_NULLS, K_ON, K_ONLY, K_OR, K_ORDER, K_ORIGINAL, K_OUT, K_OUTPUT, K_PARTITION, K_PARTITION_STORAGE, K_PORT, K_PRIMARY, K_PROTOBUF, K_RANGE, K_READ, K_REAL, K_REVERSE, K_ROW, K_ROWS, K_SAMPLE, K_SELECT, K_SET, K_SHOW, K_SHRT, K_SIZE, K_SMALLINT, K_SPEED, K_STEP_BY_STEP, K_STREAM, K_STREAMS, K_STRING, K_TABLE, K_TABLE_FORMAT, K_TABLES, K_TIME, K_TIME_AND_VALUE, K_TIMESTAMP, K_TUPLES, K_UNIQUE, K_UPDATE, K_UPSERT, K_UPSERT_APPEND, K_USE, K_USING, K_VALUE, K_WHEN, K_WHERE, LETTER, LINE_COMMENT, MULTI_LINE_COMMENT, S_DOUBLE_QUOTED_IDENTIFIER, S_FLOAT, S_IDENTIFIER, S_INTEGER, S_STRING, SIGN, SPECIAL_CHARS, tokenImage| Constructor and Description |
|---|
StreamSqlParser(InputStream stream)
Constructor with InputStream.
|
StreamSqlParser(InputStream stream,
String encoding)
Constructor with InputStream and supplied encoding
|
StreamSqlParser(Reader stream)
Constructor.
|
StreamSqlParser(StreamSqlParserTokenManager tm)
Constructor with generated Token Manager.
|
public StreamSqlParserTokenManager token_source
public Token token
public Token jj_nt
public StreamSqlParser(InputStream stream)
public StreamSqlParser(InputStream stream, String encoding)
public StreamSqlParser(Reader stream)
public StreamSqlParser(StreamSqlParserTokenManager tm)
protected boolean seeTYPE()
public final DataType BasicDataTypeDefinition() throws ParseException
ParseExceptionpublic final StreamSqlStatement OneStatement() throws ParseException, StreamSqlException
ParseExceptionStreamSqlExceptionpublic final StreamSqlStatement StreamSqlStatement() throws ParseException, StreamSqlException
ParseExceptionStreamSqlExceptionpublic final CreateInputStreamStatement CreateInputStreamStatement() throws ParseException
ParseExceptionpublic final CreateTableStatement CreateTableStatement() throws ParseException, StreamSqlException
ParseExceptionStreamSqlExceptionpublic final void TableOption(CreateTableStatement cts) throws ParseException
ParseExceptionpublic final TableDefinition.PartitionStorage PartitionStorage() throws ParseException
ParseExceptionpublic final PartitioningSpec PartitioningSpec() throws ParseException
ParseExceptionpublic final CreateOutputStreamStatement CreateOutputStreamStatement() throws ParseException
ParseExceptionpublic final CreateStreamStatement CreateStreamStatement() throws ParseException
ParseExceptionpublic final SpeedLimitStreamExpression SpeedLimitStreamExpression() throws ParseException
ParseExceptionpublic final CloseStreamStatement CloseStreamStatement() throws ParseException
ParseExceptionpublic final DropTableStatement DropTableStatement() throws ParseException
ParseExceptionpublic final ShowStreamsStatement ShowStreamsStatement() throws ParseException
ParseExceptionpublic final ShowTablesStatement ShowTablesStatement() throws ParseException
ParseExceptionpublic final ShowStreamStatement ShowStreamStatement() throws ParseException
ParseExceptionpublic final org.yamcs.yarch.streamsql.StreamExpression StreamExpression() throws ParseException
ParseExceptionpublic final void IntoClause()
throws ParseException
ParseExceptionpublic final void ColumnValues()
throws ParseException
ParseExceptionpublic final void ColumnValue()
throws ParseException
ParseExceptionpublic final InsertStatement InsertStatement() throws ParseException
ParseExceptionpublic final InsertStatement UpsertStatement() throws ParseException
ParseExceptionpublic final InsertStatement InsertAppendStatement() throws ParseException
ParseExceptionpublic final InsertStatement UpsertAppendStatement() throws ParseException
ParseExceptionpublic final org.yamcs.yarch.streamsql.MergeExpression MergeExpression() throws ParseException
ParseExceptionpublic final DeleteStatement DeleteStatement() throws ParseException
ParseExceptionpublic final SpeedSpec SpeedSpec() throws ParseException
ParseExceptionpublic final Expression Expression() throws ParseException
ParseExceptionpublic final Expression AndExpression() throws ParseException
ParseExceptionpublic final Expression UnaryLogicalExpression() throws ParseException
ParseExceptionpublic final Expression RelationalExpression() throws ParseException
ParseExceptionpublic final List<Expression> ExpressionList() throws ParseException
ParseExceptionpublic final List<Expression> InClause() throws ParseException
ParseExceptionpublic final void BetweenClause()
throws ParseException
ParseExceptionpublic final LikeClause LikeClause() throws ParseException
ParseExceptionpublic final void IsNullClause()
throws ParseException
ParseExceptionpublic final Expression SimpleExpression() throws ParseException
ParseExceptionpublic final Expression MultiplicativeExpression() throws ParseException
ParseExceptionpublic final Expression ExponentExpression() throws ParseException
ParseExceptionpublic final Expression UnaryExpression() throws ParseException
ParseExceptionpublic final Expression PrimaryExpression() throws ParseException
ParseExceptionpublic final String ObjectName() throws ParseException
ParseExceptionpublic final AddOp AddOp() throws ParseException
ParseExceptionpublic final MultOp MultOp() throws ParseException
ParseExceptionpublic final RelOp RelOp() throws ParseException
ParseExceptionpublic final void Arguments()
throws ParseException
ParseExceptionpublic final void Argument()
throws ParseException
ParseExceptionpublic final SelectExpression SelectStatement() throws ParseException
ParseExceptionpublic final SelectExpression Select() throws ParseException
ParseExceptionpublic final List<SelectItem> SelectList() throws ParseException
ParseExceptionpublic final SelectItem SelectItem() throws ParseException
ParseExceptionpublic final WindowSpecification WindowSpecification() throws ParseException
ParseExceptionpublic final TupleSourceExpression TupleSourceExpression() throws ParseException
ParseExceptionpublic final TupleDefinition TupleDefinition() throws ParseException
ParseExceptionpublic final boolean OrderClause()
throws ParseException
ParseExceptionpublic final Expression FunctionCall() throws ParseException
ParseExceptionpublic final List<Expression> FunctionArgumentList() throws ParseException
ParseExceptionpublic final BigDecimal NumericConstant() throws ParseException
ParseExceptionpublic final void ID(String id) throws ParseException
ParseExceptionpublic void ReInit(InputStream stream)
public void ReInit(InputStream stream, String encoding)
public void ReInit(Reader stream)
public void ReInit(StreamSqlParserTokenManager tm)
public final Token getNextToken()
public final Token getToken(int index)
public ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()
Copyright © 2017 Space Applications Services. All rights reserved.