public class QueryBuilder
extends java.lang.Object
| Constructor and Description |
|---|
QueryBuilder() |
| Modifier and Type | Method and Description |
|---|---|
XMLObject |
buildQuery(IExecContext execContext,
StorageConfig storageConfig,
Query query) |
static void |
buildWhereClause(IExecContext execContext,
java.util.List<SqlField> sqlFields,
SqlSelectInputs sqlSelectInputs) |
XMLObject |
loadFromDB(IExecContext execContext,
StorageConfig storageConfig,
java.lang.String sqlRef,
boolean removeRow) |
XMLObject |
loadFromDBWithSql(IExecContext execContext,
StorageConfig storageConfig,
java.lang.String sql,
boolean removeRow) |
Query |
loadQuery(java.lang.String resourceName) |
public Query loadQuery(java.lang.String resourceName)
resourceName - - can be a URL or a filename.public XMLObject buildQuery(IExecContext execContext, StorageConfig storageConfig, Query query)
public XMLObject loadFromDB(IExecContext execContext, StorageConfig storageConfig, java.lang.String sqlRef, boolean removeRow)
execContext - storageConfig - sqlRef - - a reference to an sql defined in the db_specific storageremoveRow - - used to remove the row/s elements if needed.public XMLObject loadFromDBWithSql(IExecContext execContext, StorageConfig storageConfig, java.lang.String sql, boolean removeRow)
execContext - storageConfig - sql - - the query sqlremoveRow - - used to remove the row/s elements if needed.public static void buildWhereClause(IExecContext execContext, java.util.List<SqlField> sqlFields, SqlSelectInputs sqlSelectInputs)