|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object isql.SQLParser
public class SQLParser
Uses ANTLR to parse the SQL queries and builds the error text if the SQL parsing failed
Constructor Summary | |
---|---|
SQLParser(ILogger log)
Constructor |
Method Summary | |
---|---|
ISQLSelectParser |
buildParser(java.lang.String sql)
builds the ANTLR parser from the sql expression |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SQLParser(ILogger log)
log
- the loggerMethod Detail |
---|
public ISQLSelectParser buildParser(java.lang.String sql) throws ISQLException
sql
- the SQL query
ISQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |