Class SqlStatementInfoExtractorTokenManager
- java.lang.Object
-
- io.opentelemetry.javaagent.instrumentation.api.db.normalizer.SqlStatementInfoExtractorTokenManager
-
- All Implemented Interfaces:
SqlStatementInfoExtractorConstants
public class SqlStatementInfoExtractorTokenManager extends java.lang.Object implements SqlStatementInfoExtractorConstants
Token Manager.
-
-
Field Summary
Fields Modifier and Type Field Description java.io.PrintStreamdebugStreamDebug output.static java.lang.String[]jjstrLiteralImagesToken literal values.static java.lang.String[]lexStateNamesLexer state names.-
Fields inherited from interface io.opentelemetry.javaagent.instrumentation.api.db.normalizer.SqlStatementInfoExtractorConstants
CloseComment, CloseParen, Comma, DEFAULT, Delete, EOF, From, Identifier, Insert, Into, Join, Merge, OpenComment, OpenParen, Other, Select, tokenImage, UnicodeChar, Update, Whitespace
-
-
Constructor Summary
Constructors Constructor Description SqlStatementInfoExtractorTokenManager(SimpleCharStream stream)Constructor.SqlStatementInfoExtractorTokenManager(SimpleCharStream stream, int lexState)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TokengetNextToken()Get the next Token.voidReInit(SimpleCharStream stream)Reinitialise parser.voidReInit(SimpleCharStream stream, int lexState)Reinitialise parser.voidsetDebugStream(java.io.PrintStream ds)Set debug output.voidSwitchTo(int lexState)Switch to specified lex state.
-
-
-
Constructor Detail
-
SqlStatementInfoExtractorTokenManager
public SqlStatementInfoExtractorTokenManager(SimpleCharStream stream)
Constructor.
-
SqlStatementInfoExtractorTokenManager
public SqlStatementInfoExtractorTokenManager(SimpleCharStream stream, int lexState)
Constructor.
-
-
Method Detail
-
setDebugStream
public void setDebugStream(java.io.PrintStream ds)
Set debug output.
-
ReInit
public void ReInit(SimpleCharStream stream)
Reinitialise parser.
-
ReInit
public void ReInit(SimpleCharStream stream, int lexState)
Reinitialise parser.
-
SwitchTo
public void SwitchTo(int lexState)
Switch to specified lex state.
-
getNextToken
public Token getNextToken()
Get the next Token.
-
-