| java.lang.Object jimm.datavision.source.sql.ParserHelper
ParserHelper | public class ParserHelper (Code) | | A helper class used by a SQL query while parsing the WHERE clause.
author: Jim Menard, jimm@io.com See Also: SQLQuery |
endBeforeToken | protected int endBeforeToken(Code) | | |
prevTokenStartPos | protected int prevTokenStartPos(Code) | | |
startPos | protected int startPos(Code) | | |
findPreviousSQLToken | protected void findPreviousSQLToken()(Code) | | Finds the token before the one that starts at startPos in
str. The token will not include the whitespace surrounding
it, if any.
|
getEndBeforeToken | public int getEndBeforeToken()(Code) | | |
getPrevToken | public String getPrevToken()(Code) | | Returns the previous token, sans whitespace.
a possibly empty string |
getPrevTokenStartPos | public int getPrevTokenStartPos()(Code) | | Returns the starting position of the previous token in the original
string, not including any leading whitespace.
a string index pointing to the start of the previous token |
|
|