java.lang.Object
org.seasar.doma.internal.jdbc.sql.ClassicSqlTokenizer
Deprecated.
Classic implementation of SqlTokenizer preserved for reference. This is the original
implementation before refactoring for improved readability.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final CharBufferDeprecated.protected intDeprecated.protected final CharBufferDeprecated.protected intDeprecated.protected intDeprecated.protected intDeprecated.protected final StringDeprecated.protected StringDeprecated.protected SqlTokenTypeDeprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintDeprecated.intDeprecated.getToken()Deprecated.protected booleanDeprecated.protected booleanisWhitespace(char c) Deprecated.protected booleanisWordPart(char c) Deprecated.protected booleanisWordStart(char c) Deprecated.protected booleanDeprecated.next()Deprecated.protected voidpeek()Deprecated.protected voidpeekEightChars(char c, char c2, char c3, char c4, char c5, char c6, char c7, char c8) Deprecated.protected voidpeekFiveChars(char c, char c2, char c3, char c4, char c5) Deprecated.protected voidpeekFourChars(char c, char c2, char c3, char c4) Deprecated.protected voidpeekNineChars(char c, char c2, char c3, char c4, char c5, char c6, char c7, char c8, char c9) Deprecated.protected voidpeekOneChar(char c) Deprecated.protected voidpeekSevenChars(char c, char c2, char c3, char c4, char c5, char c6, char c7) Deprecated.protected voidpeekSixChars(char c, char c2, char c3, char c4, char c5, char c6) Deprecated.protected voidpeekTenChars(char c, char c2, char c3, char c4, char c5, char c6, char c7, char c8, char c9, char c10) Deprecated.protected voidpeekThreeChars(char c, char c2, char c3) Deprecated.protected voidpeekTwoChars(char c, char c2) Deprecated.protected voidDeprecated.
-
Field Details
-
sql
Deprecated. -
buf
Deprecated. -
duplicatedBuf
Deprecated. -
type
Deprecated. -
token
Deprecated. -
currentLineNumber
protected int currentLineNumberDeprecated. -
lineNumber
protected int lineNumberDeprecated. -
lineStartPosition
protected int lineStartPositionDeprecated. -
position
protected int positionDeprecated.
-
-
Constructor Details
-
ClassicSqlTokenizer
Deprecated.
-
-
Method Details
-
next
Deprecated. -
prepareToken
protected void prepareToken()Deprecated. -
getToken
Deprecated. -
getLineNumber
public int getLineNumber()Deprecated. -
getPosition
public int getPosition()Deprecated. -
peek
protected void peek()Deprecated. -
peekTenChars
protected void peekTenChars(char c, char c2, char c3, char c4, char c5, char c6, char c7, char c8, char c9, char c10) Deprecated. -
peekNineChars
protected void peekNineChars(char c, char c2, char c3, char c4, char c5, char c6, char c7, char c8, char c9) Deprecated. -
peekEightChars
protected void peekEightChars(char c, char c2, char c3, char c4, char c5, char c6, char c7, char c8) Deprecated. -
peekSevenChars
protected void peekSevenChars(char c, char c2, char c3, char c4, char c5, char c6, char c7) Deprecated. -
peekSixChars
protected void peekSixChars(char c, char c2, char c3, char c4, char c5, char c6) Deprecated. -
peekFiveChars
protected void peekFiveChars(char c, char c2, char c3, char c4, char c5) Deprecated. -
peekFourChars
protected void peekFourChars(char c, char c2, char c3, char c4) Deprecated. -
peekThreeChars
protected void peekThreeChars(char c, char c2, char c3) Deprecated. -
peekTwoChars
protected void peekTwoChars(char c, char c2) Deprecated. -
peekOneChar
protected void peekOneChar(char c) Deprecated. -
isWordStart
protected boolean isWordStart(char c) Deprecated. -
isWordTerminated
protected boolean isWordTerminated()Deprecated. -
isBlockCommentDirectiveTerminated
protected boolean isBlockCommentDirectiveTerminated()Deprecated. -
isWordPart
protected boolean isWordPart(char c) Deprecated. -
isWhitespace
protected boolean isWhitespace(char c) Deprecated.
-
SqlTokenizerinstead.