Class PGLexer
java.lang.Object
com.alibaba.druid.sql.parser.Lexer
com.alibaba.druid.sql.dialect.postgresql.parser.PGLexer
- Direct Known Subclasses:
GaussDbLexer,HologresLexer,RedshiftLexer
-
Nested Class Summary
Nested classes/interfaces inherited from class com.alibaba.druid.sql.parser.Lexer
Lexer.CommentHandler, Lexer.SavePoint -
Field Summary
Fields inherited from class com.alibaba.druid.sql.parser.Lexer
buf, bufPos, ch, commentCount, commentHandler, comments, dbType, dialectFeature, 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected Keywordsprotected voidvoidprotected voidprotected voidMethods inherited from class com.alibaba.druid.sql.parser.Lexer
addComment, addSymbol, arraycopy, bp, charAt, computeRowAndColumn, computeRowAndColumn, config, current, decimalValue, dialectFeatureEnabled, 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, isKeepSourceLocation, isNegativeIntegerValue, isSafeComment, lexError, mark, markOut, nextIf, nextIfComma, nextIfIdentifier, nextIfIdentifier, 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, scanComment, scanHexaDecimal, scanIdentifier, scanLBracket, scanLineArgument, scanMultiLineComment, scanNumber, scanSingleLineComment, scanSQLType, scanSQLTypeV2, scanString2, scanString2_d, scanVariable, setAllowComment, setCommentHandler, setKeepComments, setTimeZone, setToken, skipToEOF, skipToNextLine, skipToNextLineOrParameter, stringVal, sub_chars, subString, subString, token, unscan
-
Constructor Details
-
PGLexer
-
-
Method Details
-
loadKeywords
- Overrides:
loadKeywordsin classLexer
-
scanString
protected void scanString()- Overrides:
scanStringin classLexer
-
scanSharp
public void scanSharp() -
scanVariable_at
protected void scanVariable_at()- Overrides:
scanVariable_atin classLexer
-
nextTokenQues
protected void nextTokenQues()- Overrides:
nextTokenQuesin classLexer
-
initDialectFeature
protected void initDialectFeature()- Overrides:
initDialectFeaturein classLexer
-