Package org.yamcs.yarch.streamsql
Class StreamSqlParserTokenManager
java.lang.Object
org.yamcs.yarch.streamsql.StreamSqlParserTokenManager
- All Implemented Interfaces:
StreamSqlParserConstants
Token Manager.
-
Field Summary
Modifier and TypeFieldDescriptionprotected char
Debug output.protected SimpleCharStream
static final String[]
Token literal values.static final String[]
Lexer state names.Fields inherited from interface org.yamcs.yarch.streamsql.StreamSqlParserConstants
DECIMAL_LITERAL, DEFAULT, DIGIT, EOF, EXPONENT, HEX_DIGIT, HEX_LITERAL, K_ADVANCE, K_AFAP, K_ALL, K_ALTER, K_AND, K_ANY, K_ARRAY, K_AS, K_ASC, K_AUTO_INCREMENT, K_BETWEEN, K_BOOLEAN, K_BY, K_BYTE, K_CHAR, K_CLOSE, K_COLUMN_FAMILY, K_COMPRESSED, K_CREATE, K_CURRENT, K_DATABASES, K_DATE, K_DECIMAL, K_DELETE, K_DESC, K_DESCRIBE, K_DISTINCT, K_DOUBLE, K_DROP, K_ENGINE, K_ENGINES, 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_LIMIT, K_LOAD, K_LONG, 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_PORT, K_PRIMARY, K_PROTOBUF, K_RANGE, K_READ, K_REAL, K_RENAME, K_RESTART, K_REVERSE, K_ROW, K_ROWS, K_SAMPLE, K_SELECT, K_SEQUENCE, K_SEQUENCES, K_SET, K_SHOW, K_SHRT, K_SIZE, K_SMALLINT, K_STREAM, K_STREAMS, K_STRING, K_TABLE, K_TABLE_FORMAT, K_TABLES, K_TABLESPACE, K_TIME, K_TIME_AND_VALUE, K_TO, K_TUPLES, K_UNIQUE, K_UPDATE, K_UPSERT, K_UPSERT_APPEND, K_USE, K_USING, K_VALUE, K_VALUES, K_WHEN, K_WHERE, K_WITH, 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 Summary
ConstructorDescriptionConstructor.StreamSqlParserTokenManager
(SimpleCharStream stream, int lexState) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet the next Token.protected Token
void
ReInit
(SimpleCharStream stream) Reinitialise parser.void
ReInit
(SimpleCharStream stream, int lexState) Reinitialise parser.void
Set debug output.void
SwitchTo
(int lexState) Switch to specified lex state.
-
Field Details
-
debugStream
Debug output. -
jjstrLiteralImages
Token literal values. -
lexStateNames
Lexer state names. -
input_stream
-
curChar
protected char curChar
-
-
Constructor Details
-
StreamSqlParserTokenManager
Constructor. -
StreamSqlParserTokenManager
Constructor.
-
-
Method Details
-
setDebugStream
Set debug output. -
ReInit
Reinitialise parser. -
ReInit
Reinitialise parser. -
SwitchTo
public void SwitchTo(int lexState) Switch to specified lex state. -
jjFillToken
-
getNextToken
Get the next Token.
-