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_QMARK, 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 void setArgs(Object[] args)
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, StreamSqlException
ParseExceptionStreamSqlExceptionpublic final CreateTableStatement CreateTableStatement() throws ParseException, StreamSqlException
ParseExceptionStreamSqlExceptionpublic final void TableOption(CreateTableStatement cts) throws ParseException, StreamSqlException
ParseExceptionStreamSqlExceptionpublic final TableDefinition.PartitionStorage PartitionStorage() throws ParseException, StreamSqlException
ParseExceptionStreamSqlExceptionpublic final PartitioningSpec PartitioningSpec() throws ParseException, StreamSqlException
ParseExceptionStreamSqlExceptionpublic final CreateOutputStreamStatement CreateOutputStreamStatement() throws ParseException, StreamSqlException
ParseExceptionStreamSqlExceptionpublic final CreateStreamStatement CreateStreamStatement() throws ParseException, StreamSqlException
ParseExceptionStreamSqlExceptionpublic final SpeedLimitStreamExpression SpeedLimitStreamExpression() throws ParseException, StreamSqlException
ParseExceptionStreamSqlExceptionpublic final CloseStreamStatement CloseStreamStatement() throws ParseException, StreamSqlException
ParseExceptionStreamSqlExceptionpublic final DropTableStatement DropTableStatement() throws ParseException, StreamSqlException
ParseExceptionStreamSqlExceptionpublic final ShowStreamsStatement ShowStreamsStatement() throws ParseException, StreamSqlException
ParseExceptionStreamSqlExceptionpublic final ShowTablesStatement ShowTablesStatement() throws ParseException, StreamSqlException
ParseExceptionStreamSqlExceptionpublic final ShowStreamStatement ShowStreamStatement() throws ParseException, StreamSqlException
ParseExceptionStreamSqlExceptionpublic final org.yamcs.yarch.streamsql.StreamExpression StreamExpression() throws ParseException, StreamSqlException
ParseExceptionStreamSqlExceptionpublic final void IntoClause()
throws ParseException,
StreamSqlException
ParseExceptionStreamSqlExceptionpublic final void ColumnValues()
throws ParseException,
StreamSqlException
ParseExceptionStreamSqlExceptionpublic final void ColumnValue()
throws ParseException,
StreamSqlException
ParseExceptionStreamSqlExceptionpublic final InsertStatement InsertStatement() throws ParseException, StreamSqlException
ParseExceptionStreamSqlExceptionpublic final InsertStatement UpsertStatement() throws ParseException, StreamSqlException
ParseExceptionStreamSqlExceptionpublic final InsertStatement InsertAppendStatement() throws ParseException, StreamSqlException
ParseExceptionStreamSqlExceptionpublic final InsertStatement UpsertAppendStatement() throws ParseException, StreamSqlException
ParseExceptionStreamSqlExceptionpublic final org.yamcs.yarch.streamsql.MergeExpression MergeExpression() throws ParseException, StreamSqlException
ParseExceptionStreamSqlExceptionpublic final DeleteStatement DeleteStatement() throws ParseException, StreamSqlException
ParseExceptionStreamSqlExceptionpublic final SpeedSpec SpeedSpec() throws ParseException, StreamSqlException
ParseExceptionStreamSqlExceptionpublic final Expression Expression() throws ParseException, StreamSqlException
ParseExceptionStreamSqlExceptionpublic final Expression AndExpression() throws ParseException, StreamSqlException
ParseExceptionStreamSqlExceptionpublic final Expression UnaryLogicalExpression() throws ParseException, StreamSqlException
ParseExceptionStreamSqlExceptionpublic final Expression RelationalExpression() throws ParseException, StreamSqlException
ParseExceptionStreamSqlExceptionpublic final List<Expression> ExpressionList() throws ParseException, StreamSqlException
ParseExceptionStreamSqlExceptionpublic final InClause InClause() throws ParseException, StreamSqlException
ParseExceptionStreamSqlExceptionpublic final void BetweenClause()
throws ParseException,
StreamSqlException
ParseExceptionStreamSqlExceptionpublic final LikeClause LikeClause() throws ParseException, StreamSqlException
ParseExceptionStreamSqlExceptionpublic final void IsNullClause()
throws ParseException,
StreamSqlException
ParseExceptionStreamSqlExceptionpublic final Expression SimpleExpression() throws ParseException, StreamSqlException
ParseExceptionStreamSqlExceptionpublic final Expression MultiplicativeExpression() throws ParseException, StreamSqlException
ParseExceptionStreamSqlExceptionpublic final Expression ExponentExpression() throws ParseException, StreamSqlException
ParseExceptionStreamSqlExceptionpublic final Expression UnaryExpression() throws ParseException, StreamSqlException
ParseExceptionStreamSqlExceptionpublic final Expression PrimaryExpression() throws ParseException, StreamSqlException
ParseExceptionStreamSqlExceptionpublic final String ObjectName() throws ParseException, StreamSqlException
ParseExceptionStreamSqlExceptionpublic final AddOp AddOp() throws ParseException, StreamSqlException
ParseExceptionStreamSqlExceptionpublic final MultOp MultOp() throws ParseException, StreamSqlException
ParseExceptionStreamSqlExceptionpublic final RelOp RelOp() throws ParseException, StreamSqlException
ParseExceptionStreamSqlExceptionpublic final void Arguments()
throws ParseException,
StreamSqlException
ParseExceptionStreamSqlExceptionpublic final void Argument()
throws ParseException,
StreamSqlException
ParseExceptionStreamSqlExceptionpublic final SelectExpression SelectStatement() throws ParseException, StreamSqlException
ParseExceptionStreamSqlExceptionpublic final SelectExpression Select() throws ParseException, StreamSqlException
ParseExceptionStreamSqlExceptionpublic final List<SelectItem> SelectList() throws ParseException, StreamSqlException
ParseExceptionStreamSqlExceptionpublic final SelectItem SelectItem() throws ParseException, StreamSqlException
ParseExceptionStreamSqlExceptionpublic final WindowSpecification WindowSpecification() throws ParseException, StreamSqlException
ParseExceptionStreamSqlExceptionpublic final TupleSourceExpression TupleSourceExpression() throws ParseException, StreamSqlException
ParseExceptionStreamSqlExceptionpublic final TupleDefinition TupleDefinition() throws ParseException, StreamSqlException
ParseExceptionStreamSqlExceptionpublic final boolean OrderClause()
throws ParseException,
StreamSqlException
ParseExceptionStreamSqlExceptionpublic final Expression FunctionCall() throws ParseException, StreamSqlException
ParseExceptionStreamSqlExceptionpublic final List<Expression> FunctionArgumentList() throws ParseException, StreamSqlException
ParseExceptionStreamSqlExceptionpublic final BigDecimal NumericConstant() throws ParseException, StreamSqlException
ParseExceptionStreamSqlExceptionpublic 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 © 2018 Space Applications Services. All rights reserved.