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
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 a DynamicResultIterator
.
- Version:
- 2.0
- Author:
- Nicklas
- See Also:
- 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
-
Constructor Summary
ConstructorDescriptionDynamicExtraValueQuery
(DataCube cube, VirtualTable rootTable, VirtualColumn... defaultSelects) Create a new dynamic query. -
Method Summary
Modifier and TypeMethodDescription(package private) Select[]
Default selection: column, position, extraValuegetJepFunctions
(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 Details
-
defaultSelects
-
-
Constructor Details
-
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 Details
-
getDefaultSelects
Select[] getDefaultSelects()Default selection: column, position, extraValue- Specified by:
getDefaultSelects
in classAbstractSqlQuery
-
getJepFunctions
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():
-