2.17.2: 2011-06-17

net.sf.basedb.core
Class DynamicRawDataQuery

java.lang.Object
  extended by net.sf.basedb.core.AbstractQuery
      extended by net.sf.basedb.core.AbstractSqlQuery
          extended by net.sf.basedb.core.DynamicRawDataQuery
All Implemented Interfaces:
Query, SqlQuery

public class DynamicRawDataQuery
extends AbstractSqlQuery

Represents a query for raw 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.

This type of query is needed to bridge the gap between the dynamic and regular parts of the database. For example, a query of this type can be used by a batcher to insert the original intensities in a raw bioassayset.

Version:
2.0
Author:
Nicklas
See Also:
RawBioAssay.getDynamicRawData(), IntensityCalculatorUtil
Last modified
$Date: 2009-04-06 14:52:39 +0200 (Mon, 06 Apr 2009) $

Field Summary
private  RawBioAssay rawBioAssay
           
private  RawDataType rawDataType
           
private  RealTable rootTable
           
 
Constructor Summary
DynamicRawDataQuery(RawBioAssay rawBioAssay)
          Create a new dynamic query for raw data.
 
Method Summary
(package private)  Select[] getDefaultSelects()
          No default selection.
 RawBioAssay getRawBioAssay()
           
 RawDataType getRawDataType()
           
 String getRootAlias()
          The alias of the item that is returned by this query.
(package private)  RealTable getRootTable()
           
 boolean isReadonly()
          If this query is readonly and cannot be structurally modified.
 
Methods inherited from class net.sf.basedb.core.AbstractSqlQuery
bindLimits, count, getQueryType, iterate, parseParameters, setParameters
 
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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
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
 

Field Detail

rawBioAssay

private final RawBioAssay rawBioAssay

rawDataType

private final RawDataType rawDataType

rootTable

private final RealTable rootTable
Constructor Detail

DynamicRawDataQuery

DynamicRawDataQuery(RawBioAssay rawBioAssay)
Create a new dynamic query for raw data.

Parameters:
rawBioAssay - The raw bioassay to query on
Method Detail

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

getRawDataType

public RawDataType getRawDataType()

getRootTable

RealTable getRootTable()

getRawBioAssay

public RawBioAssay getRawBioAssay()

2.17.2: 2011-06-17