public interface SQLStmtCreator
Normally, you import tables/views from DB to JReort Catalog and then build PSQL queries based on
those imported tables/views using Logi Report Query Editor. You can define search conditions and joins
among tables/views using Logi Report Query Editor. At runtime, Logi Report Engine will execute those queries
and fetch data from those tables/views. But sometimes you may want to re-specify those information
at runtime, for example, fetching data from other tables instead of those imported tables/views in
Logi Report Catalog, re-defining some search conditions or joins, etc. API SQLStmtCreator
gives you the chance to do so.
If you implement this interface and enable a PSQL query to get SQL statement from users,
Logi Report Engine will ask you to create the SQL statement that will be passed to DB by
calling SQLStmtCreator.getSQLStmt(QueryInfo).
Note: in order to use Class.forName() to create a new Class instance for the class
implemented SQLStmtCreator, any implemented class must have a default constructor.