|
3.2.1: 2012-12-13 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.basedb.core.AbstractQuery
net.sf.basedb.core.AbstractSqlQuery
net.sf.basedb.core.DynamicRawDataQuery
public class DynamicRawDataQuery
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.
RawBioAssay.getDynamicRawData()
,
IntensityCalculatorUtil
Nested Class Summary |
---|
Nested classes/interfaces inherited from class net.sf.basedb.core.AbstractSqlQuery |
---|
AbstractSqlQuery.CountWork |
Field Summary | |
---|---|
private Set<Object> |
joinedItems
|
private RawBioAssay |
rawBioAssay
|
private RawDataType |
rawDataType
|
private RealTable |
rootTable
|
Constructor Summary | |
---|---|
DynamicRawDataQuery(RawBioAssay rawBioAssay)
Create a new dynamic query for raw data. |
|
DynamicRawDataQuery(RawDataType rawDataType)
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. |
void |
joinReporters(JoinType joinType)
Join information about reporters in the query. |
Methods inherited from class net.sf.basedb.core.AbstractSqlQuery |
---|
bindLimits, closeResultSet, closeStatement, count, getQueryType, iterate, parseParameters, releaseSavepoint, rollbackToSavepoint, setParameters |
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, isFailSafe, isReturningTotalCount, join, joinPermanent, order, orderPermanent, reset, restrict, restrictPermanent, select, selectPermanent, setDistinct, setFailSafe, setFirstResult, setMaxResults, setParameter, setPermanentParameter, setReturnTotalCount, toQl |
Field Detail |
---|
private final RawDataType rawDataType
private final RealTable rootTable
private final Set<Object> joinedItems
private RawBioAssay rawBioAssay
Constructor Detail |
---|
DynamicRawDataQuery(RawBioAssay rawBioAssay)
rawBioAssay
- The raw bioassay to query onDynamicRawDataQuery(RawDataType rawDataType)
rawDataType
- The raw data typeMethod Detail |
---|
public String getRootAlias()
Item.getAlias()
public boolean isReadonly()
Query
Query.reset()
would unlock the query and allow it to be modified again.
isReadonly
in interface Query
isReadonly
in class AbstractQuery
Select[] getDefaultSelects()
getDefaultSelects
in class AbstractSqlQuery
public RawDataType getRawDataType()
RealTable getRootTable()
public RawBioAssay getRawBioAssay()
public void joinReporters(JoinType joinType)
joinType
- The type of join. Can not be null.
InvalidDataException
- If joinType parameter is null.Dynamic.selectReporter(String)
,
Dynamic.reporter(String)
|
3.2.1: 2012-12-13 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |