Class ClassicSqlTokenizer

java.lang.Object
org.seasar.doma.internal.jdbc.sql.ClassicSqlTokenizer

@Deprecated public class ClassicSqlTokenizer extends Object
Deprecated.
Use the optimized SqlTokenizer instead.
Classic implementation of SqlTokenizer preserved for reference. This is the original implementation before refactoring for improved readability.
  • Field Details

    • sql

      protected final String sql
      Deprecated.
    • buf

      protected final CharBuffer buf
      Deprecated.
    • duplicatedBuf

      protected final CharBuffer duplicatedBuf
      Deprecated.
    • type

      protected SqlTokenType type
      Deprecated.
    • token

      protected String token
      Deprecated.
    • currentLineNumber

      protected int currentLineNumber
      Deprecated.
    • lineNumber

      protected int lineNumber
      Deprecated.
    • lineStartPosition

      protected int lineStartPosition
      Deprecated.
    • position

      protected int position
      Deprecated.
  • Constructor Details

    • ClassicSqlTokenizer

      public ClassicSqlTokenizer(String sql)
      Deprecated.
  • Method Details

    • next

      public SqlTokenType next()
      Deprecated.
    • prepareToken

      protected void prepareToken()
      Deprecated.
    • getToken

      public String 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.