Class OracleLexer
java.lang.Object
com.alibaba.druid.sql.parser.Lexer
com.alibaba.druid.sql.dialect.oracle.parser.OracleLexer
-
Nested Class Summary
Nested classes/interfaces inherited from class com.alibaba.druid.sql.parser.Lexer
Lexer.CommentHandler, Lexer.SavePoint
-
Field Summary
FieldsFields inherited from class com.alibaba.druid.sql.parser.Lexer
buf, bufPos, ch, commentCount, commentHandler, comments, dbType, endOfComment, features, hash, hashLCase, keepComments, keepSourceLocation, keywords, line, lines, mark, numberExp, numberSale, optimizedForParameterized, pos, posColumn, posLine, skipComment, startPos, stringVal, symbols_l2, text, timeZone, token
-
Constructor Summary
ConstructorsConstructorDescriptionOracleLexer
(char[] input, int inputLength, boolean skipComment) OracleLexer
(String input) OracleLexer
(String input, SQLParserFeature... features) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
protected void
Methods inherited from class com.alibaba.druid.sql.parser.Lexer
addComment, addSymbol, arraycopy, bp, charAt, computeRowAndColumn, config, current, decimalValue, getCommentCount, getCommentHandler, getComments, getDbType, getKeywords, getLine, getPosColumn, getPosLine, getSource, getTimeZone, hasComment, hashLCase, hexString, identifierEquals, identifierEquals, info, initBuff, integerValue, isAllowComment, isDigit, isDigit2, isEnabled, isEndOfComment, isEOF, isKeepComments, isNegativeIntegerValue, isSafeComment, lexError, mark, markOut, nextPath, nextToken, nextTokenAlias, nextTokenBy, nextTokenComma, nextTokenCommaValue, nextTokenEq, nextTokenForSet, nextTokenIdent, nextTokenLParen, nextTokenNotOrNull, nextTokenValue, nextVarIndex, numberExpr, numberExpr, numberExpr, numberString, parameterize, pos, putChar, readAndResetComments, reset, reset, reset, reset, scanAlias, scanChar, scanHexaDecimal, scanHiveComment, scanIdentifier, scanLBracket, scanSharp, scanSQLType, scanSQLTypeV2, scanString, scanString2, scanString2_d, setAllowComment, setCommentHandler, setKeepComments, setTimeZone, setToken, skipToEOF, skipToNextLine, skipToNextLineOrParameter, stringVal, sub_chars, subString, token, unscan
-
Field Details
-
DEFAULT_ORACLE_KEYWORDS
-
-
Constructor Details
-
OracleLexer
public OracleLexer(char[] input, int inputLength, boolean skipComment) -
OracleLexer
-
OracleLexer
-
-
Method Details
-
scanVariable
public void scanVariable()- Overrides:
scanVariable
in classLexer
-
scanVariable_at
protected void scanVariable_at()- Overrides:
scanVariable_at
in classLexer
-
scanComment
public void scanComment()- Overrides:
scanComment
in classLexer
-
scanNumber
public void scanNumber()- Overrides:
scanNumber
in classLexer
-