com.ibm.itim.adhocreport
Class QueryParser

java.lang.Object
  |
  +--com.ibm.itim.adhocreport.QueryParser
All Implemented Interfaces:
java.io.Serializable

public class QueryParser
extends java.lang.Object
implements java.io.Serializable

This is a parser class for the query.

See Also:
Serialized Form

Constructor Summary
QueryParser(java.lang.String query)
           
 
Method Summary
 java.util.HashMap getAllEntityColumns()
           
 java.util.Collection getConditions()
          This method can be used to retrieve the conditions as a Collection of String objects.
 java.io.File getDatabaseFunctionsConfFile()
           
 java.util.HashMap getEntityColumnsFromSelect()
           
 java.util.HashMap getEntityColumnsFromWhere()
           
 java.util.Vector getTables()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryParser

public QueryParser(java.lang.String query)
            throws java.io.FileNotFoundException,
                   java.io.IOException,
                   java.lang.Exception
Since:
1.0
Method Detail

getConditions

public java.util.Collection getConditions()
This method can be used to retrieve the conditions as a Collection of String objects.

getAllEntityColumns

public java.util.HashMap getAllEntityColumns()

getEntityColumnsFromSelect

public java.util.HashMap getEntityColumnsFromSelect()

getEntityColumnsFromWhere

public java.util.HashMap getEntityColumnsFromWhere()

getTables

public java.util.Vector getTables()
                           throws Zql.ParseException

getDatabaseFunctionsConfFile

public java.io.File getDatabaseFunctionsConfFile()
                                          throws java.io.FileNotFoundException