net.sf.basedb.core
Class DynamicPositionQuery
java.lang.Object
net.sf.basedb.core.AbstractQuery
net.sf.basedb.core.AbstractSqlQuery
net.sf.basedb.core.DynamicQuery
net.sf.basedb.core.DynamicPositionQuery
- All Implemented Interfaces:
- Query, SqlQuery
public class DynamicPositionQuery
- extends DynamicQuery
Represents a query for position information against the dynamic database. A single
query object may query against data in one bioassayset at a time. Use factory methods
in the Dynamic
class to join other tables and create restrictions based on
the data in those tables. You may of course
also use the regular expressions and restrictions from the Expressions
, Restrictions
and other classes.
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:
BioAssaySet.getPositionData()
- 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, isReadonly, isReturningTotalCount, join, joinPermanent, order, orderPermanent, 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 Select[] defaultSelects
DynamicPositionQuery
DynamicPositionQuery(DataCube cube)
- Create a new dynamic query.
- Parameters:
cube
- The cube to query against
getDefaultSelects
Select[] getDefaultSelects()
- Default selection: position
- Specified by:
getDefaultSelects
in class AbstractSqlQuery
joinReporters
public void joinReporters(JoinType joinType)
throws InvalidDataException,
BaseException
- Join information about reporters in the query. Now it becomes possible
to select reporter data or restrict the results based on reporter
information.
- Parameters:
joinType
- The type of join. Can not be null.
- Throws:
InvalidDataException
- If joinType is null.
BaseException
- If anything else goes wrong.- See Also:
Dynamic.selectReporter(String)
,
Dynamic.reporter(String)
joinExtraValue
public void joinExtraValue(ExtraValue extraValue,
JoinType joinType)
throws InvalidDataException,
BaseException
- Join extra values in the query. Now it becomes possible to select
those extra values or use them for restrictions.
- Parameters:
extraValue
- The extra values to join. Can not be null.joinType
- The type of join. Can not be null.
- Throws:
InvalidDataException
- If any of the required parameters are null.
BaseException
- If something else fails.- See Also:
Dynamic.select(ExtraValue, String)
,
Dynamic.extraValue(ExtraValue)