public class SqlLexer extends Object implements SqlLexerToken
| Modifier and Type | Method and Description |
|---|---|
SqlLexerToken |
lookAhead()
Get next token without lexer state change.
|
boolean |
shift()
Shift lexer to the next position.
|
String |
sql() |
String |
token() |
char |
tokenFirstChar() |
int |
tokenPosition() |
SqlLexerTokenType |
tokenType() |
public SqlLexer(String sql)
sql - Input.public SqlLexerToken lookAhead()
public boolean shift()
True if next token was found, false in case of end-of-file.public String sql()
sql in interface SqlLexerTokenpublic String token()
token in interface SqlLexerTokenpublic char tokenFirstChar()
tokenFirstChar in interface SqlLexerTokenpublic int tokenPosition()
tokenPosition in interface SqlLexerTokenpublic SqlLexerTokenType tokenType()
tokenType in interface SqlLexerToken
Follow @ApacheIgnite
Ignite Fabric : ver. 2.4.0 Release Date : March 5 2018