public class DynamicExtraValueQuery extends DynamicQuery
This type of query is executed by the AbstractSqlQuery.iterate(DbControl)
method
and returns the result as a DynamicResultIterator
.
ExtraValue.getValues()
AbstractSqlQuery.CountWork
Modifier and Type | Field and Description |
---|---|
private Select[] |
defaultSelects |
Constructor and Description |
---|
DynamicExtraValueQuery(DataCube cube,
VirtualTable rootTable,
VirtualColumn... defaultSelects)
Create a new dynamic query.
|
Modifier and Type | Method and Description |
---|---|
(package private) Select[] |
getDefaultSelects()
Default selection: column, position, extraValue
|
JepFunction[] |
getJepFunctions(DbControl dc,
boolean restrictions)
The following JEP functions can be used:
pos():
PositionFunction
|
getDataCube, getIntensityTransform, getRootAlias, getRootTable, getVirtualDb, hasClonedReporters, setUseClonedReporters, useClonedReporters
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, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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
private final Select[] defaultSelects
DynamicExtraValueQuery(DataCube cube, VirtualTable rootTable, VirtualColumn... defaultSelects)
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 executedSelect[] getDefaultSelects()
getDefaultSelects
in class AbstractSqlQuery
public JepFunction[] getJepFunctions(DbControl dc, boolean restrictions)
PositionFunction
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