Package 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:
ClonableReporterQuery
,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 aDynamicResultIterator
.- Version:
- 2.0
- Author:
- Nicklas
- See Also:
ExtraValue.getValues()
- Last modified
- $Date: 2012-09-14 09:28:35 +0200 (fr, 14 sep 2012) $
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.sf.basedb.core.AbstractSqlQuery
AbstractSqlQuery.CountWork
-
-
Field Summary
Fields Modifier and Type Field Description private Select[]
defaultSelects
-
Constructor Summary
Constructors Constructor Description DynamicExtraValueQuery(DataCube cube, VirtualTable rootTable, VirtualColumn... defaultSelects)
Create a new dynamic query.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) Select[]
getDefaultSelects()
Default selection: column, position, extraValueJepFunction[]
getJepFunctions(DbControl dc, boolean restrictions)
The following JEP functions can be used: pos():PositionFunction
-
Methods inherited from class net.sf.basedb.core.DynamicQuery
getDataCube, getIntensityTransform, getRootAlias, getRootTable, getVirtualDb, hasClonedReporters, setUseClonedReporters, useClonedReporters
-
Methods inherited from class net.sf.basedb.core.AbstractSqlQuery
closeResultSet, closeStatement, count, getLimitHandler, getQueryType, getRowSelectionForLimitHandler, iterate, parseParameters, releaseSavepoint, rollbackToSavepoint, setParameters
-
Methods inherited from class net.sf.basedb.core.AbstractQuery
addAutoJoiner, getCountQuery, getFirstResult, getIdQuery, getMainQuery, getMaxResults, getParameterNames, getParameters, getParameterType, getParameterValue, getPermanentSelects, getQueryParameter, getQuerySection, getSelects, group, groupPermanent, hasParameterValue, having, havingPermanent, isCounting, isDistinct, isFailSafe, isReadonly, isReturningTotalCount, join, joinPermanent, order, orderPermanent, postProcessQuery, reset, resetTemporary, restrict, restrictPermanent, select, selectPermanent, setCounting, setDistinct, setFailSafe, 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, isFailSafe, isReadonly, isReturningTotalCount, join, joinPermanent, order, orderPermanent, reset, restrict, restrictPermanent, select, selectPermanent, setDistinct, setFailSafe, setFirstResult, setMaxResults, setParameter, setPermanentParameter, setReturnTotalCount, toQl
-
-
-
-
Field Detail
-
defaultSelects
private final Select[] defaultSelects
-
-
Constructor Detail
-
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
-
-
Method Detail
-
getDefaultSelects
Select[] getDefaultSelects()
Default selection: column, position, extraValue- Specified by:
getDefaultSelects
in classAbstractSqlQuery
-
getJepFunctions
public JepFunction[] getJepFunctions(DbControl dc, boolean restrictions)
The following JEP functions can be used:- pos():
PositionFunction
- Specified by:
getJepFunctions
in classAbstractSqlQuery
restrictions
- If FALSE the metod should only return functions that can be used asExpression
:s, otherwise it should return both expression and restriction functions- Since:
- 2.15
- pos():
-
-