|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.edg.info.QueryHandler
QueryHandler acts as an interface to parsql, the SQL Parser. It has methods for extracting column names, column values etc. from an sql query.
Constructor Summary | |
QueryHandler(java.lang.String query)
|
Method Summary | |
void |
checkDuplicateSelectedColumn()
Throws an RGMAException if there are duplicate column names in the SELECT statement. |
void |
checkJoinStar()
Throws an RGMAException if the SELECT includes a join and selects on all columns (*). |
void |
checkQueryIsSimple()
Check that the query is simple |
boolean |
hasPredicate()
|
boolean |
isSimpleQuery()
Checks whether the query would be a valid continuous query. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public QueryHandler(java.lang.String query) throws org.glite.rgma.system.RGMAUserException
Method Detail |
public void checkQueryIsSimple() throws org.glite.rgma.system.RGMAUserException
org.glite.rgma.system.RGMAUserException
- if the query is not a simple querypublic boolean isSimpleQuery()
org.glite.rgma.system.RGMAException
- DOCUMENT ME!public boolean hasPredicate()
public void checkDuplicateSelectedColumn() throws org.glite.rgma.system.RGMAUserException
org.glite.rgma.system.RGMAException
org.glite.rgma.system.RGMAUserException
public void checkJoinStar() throws org.glite.rgma.system.RGMAUserException
org.glite.rgma.system.RGMAUserException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |