net.sf.basedb.core
Class DynamicExtraValueQuery
java.lang.Object
net.sf.basedb.core.AbstractQuery
net.sf.basedb.core.AbstractSqlQuery
net.sf.basedb.core.DynamicQuery
net.sf.basedb.core.DynamicExtraValueQuery
- All Implemented Interfaces:
- Query, SqlQuery
public class DynamicExtraValueQuery
- extends DynamicQuery
Represents a query for extra values in the dynamic database. A single
query object may query against data in one bioassayset at a time.
This type of query is executed by the AbstractSqlQuery.iterate(DbControl)
method
and returns the result as a DynamicResultIterator
.
- Version:
- 2.0
- Author:
- Nicklas
- See Also:
ExtraValue.getValues()
- Last modified
- $Date: 2010-04-20 10:02:16 +0200 (Tue, 20 Apr 2010) $
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, isReadonly, 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, isReadonly, isReturningTotalCount, join, joinPermanent, order, orderPermanent, reset, restrict, restrictPermanent, select, selectPermanent, setDistinct, setFirstResult, setMaxResults, setParameter, setPermanentParameter, setReturnTotalCount, toQl |
defaultSelects
private final Select[] defaultSelects
DynamicExtraValueQuery
DynamicExtraValueQuery(DataCube cube,
VirtualTable rootTable,
VirtualColumn... defaultSelects)
- Create a new dynamic query.
- Parameters:
cube
- The cube to query againstrootTable
- The root table of the querydefaultSelects
- The columns in the root table that are
selected by default if no other selections are specfied before
the query is executed
getDefaultSelects
Select[] getDefaultSelects()
- Default selection: column, position, extraValue
- Specified by:
getDefaultSelects
in class AbstractSqlQuery
getJepFunctions
public JepFunction[] getJepFunctions(DbControl dc,
boolean restrictions)
- The following JEP functions can be used:
- Specified by:
getJepFunctions
in class DynamicQuery
restrictions
- If FALSE the metod should only return functions
that can be used as Expression
:s, otherwise it should return
both expression and restriction functions- Since:
- 2.15