net.sf.basedb.core
Class DynamicReporterQuery
java.lang.Object
net.sf.basedb.core.AbstractQuery
net.sf.basedb.core.AbstractSqlQuery
net.sf.basedb.core.DynamicReporterQuery
- All Implemented Interfaces:
- Query, SqlQuery
public class DynamicReporterQuery
- extends AbstractSqlQuery
Represents a query for reporter data in a "dynamic" way. The main difference
from a client applications point of view, is that it is possible to
specify which columns that should be selected. In a techinical point of
view the difference is that we are using SQL instead of HQl.
- Version:
- 2.4
- Author:
- Nicklas
- See Also:
Reporter.getDynamicQuery()
- Last modified
- $Date: 2008-09-11 22:11:02 +0200 (Thu, 11 Sep 2008) $
Methods inherited from class net.sf.basedb.core.AbstractQuery |
addAutoJoiner, getCountQuery, getFirstResult, getMainQuery, getMaxResults, getParameterNames, getParameters, getParameterType, getParameterValue, getPermanentSelects, getQueryParameter, getQuerySection, getSelects, group, groupPermanent, hasParameterValue, having, havingPermanent, isCounting, isDistinct, isReturningTotalCount, join, joinPermanent, order, orderPermanent, postProcessQuery, reset, resetTemporary, restrict, restrictPermanent, select, selectPermanent, setCounting, setDistinct, setFirstResult, setMaxResults, setParameter, setPermanentParameter, setReturnTotalCount, temporaryJoin, temporarySelect, toQl, toString |
Methods inherited from interface net.sf.basedb.core.query.Query |
addAutoJoiner, getFirstResult, getMaxResults, getParameterNames, getQueryParameter, getQuerySection, group, groupPermanent, hasParameterValue, having, havingPermanent, isCounting, isDistinct, isReturningTotalCount, join, joinPermanent, order, orderPermanent, reset, restrict, restrictPermanent, select, selectPermanent, setDistinct, setFirstResult, setMaxResults, setParameter, setPermanentParameter, setReturnTotalCount, toQl |
rootTable
private final RealTable rootTable
DynamicReporterQuery
DynamicReporterQuery()
- Create a new dynamic query for reporter data.
getRootAlias
public String getRootAlias()
- The alias of the item that is returned by this query.
- See Also:
Item.getAlias()
isReadonly
public boolean isReadonly()
- Description copied from interface:
Query
- If this query is readonly and cannot be structurally modified. Ie. no more
query elements can be added. It is still possible to set parameter values.
A call to
Query.reset()
would unlock the query and allow it to be modified again.
- Specified by:
isReadonly
in interface Query
- Overrides:
isReadonly
in class AbstractQuery
- Returns:
- TRUE if the query is readonly, FALSE otherwise
getDefaultSelects
Select[] getDefaultSelects()
- No default selection.
- Specified by:
getDefaultSelects
in class AbstractSqlQuery
getRootTable
RealTable getRootTable()