Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.hsqldb
Class Tokenizer  view Tokenizer download Tokenizer.java

java.lang.Object
  extended byorg.hsqldb.Tokenizer

class Tokenizer
extends java.lang.Object

Tokenizer class declaration

Version:
1.7.0

Field Summary
private  int beginIndex
           
private  boolean bWait
           
private static int DECIMAL
           
private static int FLOAT
           
private static java.util.Hashtable hKeyword
           
private  int iIndex
           
private  int iLength
           
private  int iType
           
private static int LONG
           
private static int LONG_NAME
           
private static int NAME
           
private  int nextTokenIndex
           
private static int NUMBER
           
private  java.lang.Object oValue
           
private static int QUOTED_IDENTIFIER
           
private static int REMARK
           
private static int REMARK_LINE
           
private  java.lang.String sCommand
           
private  java.lang.String sLongNameFirst
           
private  java.lang.String sLongNameLast
           
private static int SPECIAL
           
private  java.lang.String sToken
           
private static int STRING
           
private  int tokenIndex
           
 
Constructor Summary
(package private) Tokenizer(java.lang.String s)
          Constructor declaration
 
Method Summary
(package private)  void back()
          Method declaration
(package private)  java.lang.Object getAsValue()
          Method declaration
(package private)  java.lang.String getLastPart()
          return part of the command string from the last marked position
(package private)  int getLength()
          Method declaration
(package private)  java.lang.String getLongNameFirst()
          Method declaration
(package private)  java.lang.String getLongNameLast()
          Method declaration
(package private)  java.lang.String getName()
          Method declaration
(package private)  java.lang.String getPart(int begin, int end)
          mark the current position to be used for future getLastPart() calls
(package private)  int getPartMarker()
          mark the current position to be used for future getLastPart() calls
(package private)  int getPosition()
          return the current position to be used for VIEW processing
(package private)  java.lang.String getString()
          Method declaration
private  java.lang.String getString(char quoteChar)
           
(package private)  java.lang.String getStringToken()
          Method declaration
(package private)  void getThis(java.lang.String match)
          Method declaration
private  void getToken()
          Method declaration
(package private)  int getType()
          Method declaration
(package private)  void setPartMarker()
          mark the current position to be used for future getLastPart() calls
(package private)  void setPartMarker(int position)
          mark the position to be used for future getLastPart() calls
(package private)  void setString(java.lang.String s, int pos)
          Method declaration
(package private)  boolean wasLongName()
          Method declaration
(package private)  boolean wasName()
          Method declaration
(package private)  boolean wasQuotedIdentifier()
           
(package private)  boolean wasValue()
          Method declaration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

private static final int NAME
See Also:
Constant Field Values

LONG_NAME

private static final int LONG_NAME
See Also:
Constant Field Values

SPECIAL

private static final int SPECIAL
See Also:
Constant Field Values

NUMBER

private static final int NUMBER
See Also:
Constant Field Values

FLOAT

private static final int FLOAT
See Also:
Constant Field Values

STRING

private static final int STRING
See Also:
Constant Field Values

LONG

private static final int LONG
See Also:
Constant Field Values

DECIMAL

private static final int DECIMAL
See Also:
Constant Field Values

QUOTED_IDENTIFIER

private static final int QUOTED_IDENTIFIER
See Also:
Constant Field Values

REMARK_LINE

private static final int REMARK_LINE
See Also:
Constant Field Values

REMARK

private static final int REMARK
See Also:
Constant Field Values

sCommand

private java.lang.String sCommand

iLength

private int iLength

oValue

private java.lang.Object oValue

iIndex

private int iIndex

tokenIndex

private int tokenIndex

nextTokenIndex

private int nextTokenIndex

beginIndex

private int beginIndex

iType

private int iType

sToken

private java.lang.String sToken

sLongNameFirst

private java.lang.String sLongNameFirst

sLongNameLast

private java.lang.String sLongNameLast

bWait

private boolean bWait

hKeyword

private static java.util.Hashtable hKeyword
Constructor Detail

Tokenizer

Tokenizer(java.lang.String s)
Constructor declaration

Method Detail

back

void back()
    throws java.sql.SQLException
Method declaration


getThis

void getThis(java.lang.String match)
       throws java.sql.SQLException
Method declaration


getStringToken

java.lang.String getStringToken()
                          throws java.sql.SQLException
Method declaration


wasValue

boolean wasValue()
Method declaration


wasQuotedIdentifier

boolean wasQuotedIdentifier()

wasLongName

boolean wasLongName()
Method declaration


wasName

boolean wasName()
Method declaration


getLongNameFirst

java.lang.String getLongNameFirst()
Method declaration


getLongNameLast

java.lang.String getLongNameLast()
Method declaration


getName

java.lang.String getName()
                   throws java.sql.SQLException
Method declaration


getString

java.lang.String getString()
                     throws java.sql.SQLException
Method declaration


getType

int getType()
Method declaration


getAsValue

java.lang.Object getAsValue()
                      throws java.sql.SQLException
Method declaration


getPosition

int getPosition()
return the current position to be used for VIEW processing


getPart

java.lang.String getPart(int begin,
                         int end)
mark the current position to be used for future getLastPart() calls


getPartMarker

int getPartMarker()
mark the current position to be used for future getLastPart() calls


setPartMarker

void setPartMarker()
mark the current position to be used for future getLastPart() calls


setPartMarker

void setPartMarker(int position)
mark the position to be used for future getLastPart() calls


getLastPart

java.lang.String getLastPart()
return part of the command string from the last marked position


getToken

private void getToken()
               throws java.sql.SQLException
Method declaration


getString

private java.lang.String getString(char quoteChar)
                            throws java.sql.SQLException

setString

void setString(java.lang.String s,
               int pos)
Method declaration


getLength

int getLength()
Method declaration