| |
|
| java.lang.Object org.hsqldb.Tokenizer
Tokenizer | public class Tokenizer (Code) | | Provides the ability to tokenize SQL character sequences.
Extensively rewritten and extended in successive versions of HSQLDB.
author: Thomas Mueller (Hypersonic SQL Group) version: 1.8.0 since: Hypersonic SQL |
Tokenizer | public Tokenizer()(Code) | | |
getLastPart | String getLastPart()(Code) | | return part of the command string from the last marked position
|
getLength | int getLength()(Code) | | Method declaration
|
getName | public String getName() throws HsqlException(Code) | | getName() is more broad than getSimpleName() in that it includes
2-part names as well
popped name throws: HsqlException - if next token is not an AName |
getPart | String getPart(int begin, int end)(Code) | | mark the current position to be used for future getLastPart() calls
|
getPartMarker | int getPartMarker()(Code) | | mark the current position to be used for future getLastPart() calls
|
getPosition | int getPosition()(Code) | | return the current position to be used for VIEW processing
|
setPartMarker | void setPartMarker()(Code) | | mark the current position to be used for future getLastPart() calls
|
setPartMarker | void setPartMarker(int position)(Code) | | mark the position to be used for future getLastPart() calls
|
wasName | boolean wasName() throws HsqlException(Code) | | Name means all quoted and unquoted identifiers plus any word not in the
hKeyword list.
true if it's a name |
wasParameter | boolean wasParameter() throws HsqlException(Code) | | checks whether the previously obtained token was a (named) parameter
true if the previously obtained token was a (named) parameter |
wasSimpleName | boolean wasSimpleName() throws HsqlException(Code) | | Simple Name means a quoted or unquoted identifier without
qualifiers provided it is not in the hKeyword list.
|
wasValue | boolean wasValue() throws HsqlException(Code) | | this methode is called before other wasXXX methods and takes
precedence
|
|
|
|