类 MySqlLexer
java.lang.Object
com.alibaba.druid.sql.parser.Lexer
com.alibaba.druid.sql.dialect.mysql.parser.MySqlLexer
-
嵌套类概要
从类继承的嵌套类/接口 com.alibaba.druid.sql.parser.Lexer
Lexer.CommentHandler, Lexer.SavePoint -
字段概要
字段从类继承的字段 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 -
构造器概要
构造器构造器说明MySqlLexer(char[] input, int inputLength, boolean skipComment) MySqlLexer(String input) MySqlLexer(String input, boolean skipComment, boolean keepComments) MySqlLexer(String input, SQLParserFeature... features) -
方法概要
修饰符和类型方法说明static booleanisIdentifierChar(char c) static booleanisIdentifierCharForVariable(char c) employee.code=:employee.code 解析异常 修复:变量名支持含符号.voidvoidvoidprotected final voidvoidprotected voidvoid从类继承的方法 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, scanLBracket, scanLineArgument, scanNumber, scanSQLType, scanSQLTypeV2, scanString2, scanString2_d, setAllowComment, setCommentHandler, setKeepComments, setTimeZone, setToken, skipToEOF, skipToNextLine, skipToNextLineOrParameter, stringVal, sub_chars, subString, subString, token, unscan
-
字段详细资料
-
quoteTable
-
DEFAULT_MYSQL_KEYWORDS
-
-
构造器详细资料
-
MySqlLexer
public MySqlLexer(char[] input, int inputLength, boolean skipComment) -
MySqlLexer
-
MySqlLexer
-
MySqlLexer
-
-
方法详细资料
-
scanSharp
public void scanSharp() -
scanVariable
public void scanVariable()- 覆盖:
scanVariable在类中Lexer
-
scanVariable_at
protected void scanVariable_at()- 覆盖:
scanVariable_at在类中Lexer
-
scanIdentifier
public void scanIdentifier()- 覆盖:
scanIdentifier在类中Lexer
-
scanString
protected final void scanString()- 覆盖:
scanString在类中Lexer
-
skipFirstHintsOrMultiCommentAndNextToken
public void skipFirstHintsOrMultiCommentAndNextToken() -
scanComment
public void scanComment()- 覆盖:
scanComment在类中Lexer
-
isIdentifierChar
public static boolean isIdentifierChar(char c) -
isIdentifierCharForVariable
public static boolean isIdentifierCharForVariable(char c) employee.code=:employee.code 解析异常 修复:变量名支持含符号.- 参数:
c- the character to check- 返回:
- true if the character is a valid identifier character for variables; otherwise false
-