public class DynamicRawDataQuery extends AbstractSqlQuery
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
Modifier and Type | Class and Description |
---|---|
(package private) static class |
DynamicRawDataQuery.RawBioAssayJoiner
Auto joiner for raw bioassays.
|
(package private) static class |
DynamicRawDataQuery.ReporterJoiner
Auto joiner for reporters.
|
(package private) static class |
DynamicRawDataQuery.ReporterListJoiner
Auto joiner for reporter lists.
|
AbstractSqlQuery.CountWork
Modifier and Type | Field and Description |
---|---|
private java.util.Set<java.lang.Object> |
joinedItems |
private RawBioAssay |
rawBioAssay |
private RawDataType |
rawDataType |
private RealTable |
rootTable |
Constructor and Description |
---|
DynamicRawDataQuery(RawBioAssay rawBioAssay)
Create a new dynamic query for raw data.
|
DynamicRawDataQuery(RawDataType rawDataType)
Create a new dynamic query for raw data.
|
Modifier and Type | Method and Description |
---|---|
(package private) Select[] |
getDefaultSelects()
No default selection.
|
JepFunction[] |
getJepFunctions(DbControl dc,
boolean restrictions)
Create custom JEP function that can be used with the current
query.
|
static DynamicRawDataQuery |
getQuery(java.util.Collection<RawBioAssay> raw)
Create a new dynamic query for raw data.
|
static DynamicRawDataQuery |
getQuery(RawBioAssay raw)
Create a new dynamic query for raw data.
|
RawBioAssay |
getRawBioAssay() |
RawDataType |
getRawDataType() |
java.lang.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 |
joinRawBioAssay(JoinType joinType)
Join information about raw bioassays in the query.
|
void |
joinReporterList(ReporterList reporterList,
JoinType joinType)
Makes a join with a
ReporterList |
void |
joinReporters(JoinType joinType)
Join information about reporters in the query.
|
void |
setAutoJoinType(JoinType joinType)
Specify the join type of automatic joins.
|
closeResultSet, closeStatement, count, getLimitHandler, getQueryType, getRowSelectionForLimitHandler, iterate, parseParameters, releaseSavepoint, rollbackToSavepoint, setParameters
addAutoJoiner, getCountQuery, getFirstResult, getIdQuery, getMainQuery, getMaxResults, getParameterNames, getParameters, getParameterType, getParameterValue, getPermanentSelects, getQueryParameter, getQuerySection, getSelects, group, groupPermanent, hasParameterValue, having, havingPermanent, isCounting, isDistinct, isFailSafe, isReturningTotalCount, join, joinPermanent, order, orderPermanent, postProcessQuery, reset, resetTemporary, restrict, restrictPermanent, select, selectPermanent, setCounting, setDistinct, setFailSafe, setFirstResult, setMaxResults, setParameter, setPermanentParameter, setReturnTotalCount, temporaryJoin, temporarySelect, toQl, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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
private final RawDataType rawDataType
private final RealTable rootTable
private final java.util.Set<java.lang.Object> joinedItems
private RawBioAssay rawBioAssay
DynamicRawDataQuery(RawBioAssay rawBioAssay)
rawBioAssay
- The raw bioassay to query onDynamicRawDataQuery(RawDataType rawDataType)
rawDataType
- The raw data typepublic static DynamicRawDataQuery getQuery(RawBioAssay raw)
raw
- The raw bioassay to query onpublic static DynamicRawDataQuery getQuery(java.util.Collection<RawBioAssay> raw)
raw
- The raw bioassays to query on which must all be
of the same raw data typepublic java.lang.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 JepFunction[] getJepFunctions(DbControl dc, boolean restrictions)
AbstractSqlQuery
JepExpressionFunction
or JepRestrictionFunction
.getJepFunctions
in class AbstractSqlQuery
restrictions
- If FALSE the metod should only return functions
that can be used as Expression
:s, otherwise it should return
both expression and restriction functionspublic RawDataType getRawDataType()
RealTable getRootTable()
public RawBioAssay getRawBioAssay()
public void setAutoJoinType(JoinType joinType)
JoinType.LEFT
. This setting doesn't affect joins that has been made
directly to the query.joinType
- The type of the automatic joinspublic 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)
public void joinReporterList(ReporterList reporterList, JoinType joinType)
ReporterList
reporterList
- To do the join on.joinType
- The join type to use.JoinType
public void joinRawBioAssay(JoinType joinType)
joinType
- The type of join. Can not be null.InvalidDataException
- If joinType parameter is null.