2.17.2: 2011-06-17

net.sf.basedb.core
Class DynamicExtraValueQuery

java.lang.Object
  extended by net.sf.basedb.core.AbstractQuery
      extended by net.sf.basedb.core.AbstractSqlQuery
          extended by net.sf.basedb.core.DynamicQuery
              extended by net.sf.basedb.core.DynamicExtraValueQuery
All Implemented Interfaces:
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 a DynamicResultIterator.

Version:
2.0
Author:
Nicklas
See Also:
ExtraValue.getValues()
Last modified
$Date: 2010-04-20 10:02:16 +0200 (Tue, 20 Apr 2010) $

Field Summary
private  Select[] defaultSelects
           
 
Constructor Summary
DynamicExtraValueQuery(DataCube cube, VirtualTable rootTable, VirtualColumn... defaultSelects)
          Create a new dynamic query.
 
Method Summary
(package private)  Select[] getDefaultSelects()
          Default selection: column, position, extraValue
 JepFunction[] 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
 
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, isReadonly, 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, isReadonly, isReturningTotalCount, join, joinPermanent, order, orderPermanent, reset, restrict, restrictPermanent, select, selectPermanent, setDistinct, 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 against
rootTable - The root table of the query
defaultSelects - 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 class AbstractSqlQuery

getJepFunctions

public JepFunction[] getJepFunctions(DbControl dc,
                                     boolean restrictions)
The following JEP functions can be used:

Specified by:
getJepFunctions in class DynamicQuery
restrictions - If FALSE the metod should only return functions that can be used as Expression:s, otherwise it should return both expression and restriction functions
Since:
2.15

2.17.2: 2011-06-17