Class AggregateInput
java.lang.Object
com.kingsrook.qqq.backend.core.model.actions.AbstractActionInput
com.kingsrook.qqq.backend.core.model.actions.AbstractTableActionInput
com.kingsrook.qqq.backend.core.model.actions.tables.aggregate.AggregateInput
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for aggregatesGetter for filterGetter for groupBysgetLimit()
Getter for limitGetter for queryHintsGetter for queryJoinsGetter for timeoutSecondsGetter for transactionboolean
hasQueryHint
(QueryHint queryHint) null-safely check if query hints map contains the specified hintvoid
setAggregates
(List<Aggregate> aggregates) Setter for aggregatesvoid
setFilter
(QQueryFilter filter) Setter for filtervoid
setGroupBys
(List<GroupBy> groupBys) Setter for groupBysvoid
Setter for limitvoid
setQueryHints
(EnumSet<QueryHint> queryHints) Setter for queryHintsvoid
setQueryJoins
(List<QueryJoin> queryJoins) Setter for queryJoinsvoid
setTimeoutSeconds
(Integer timeoutSeconds) Setter for timeoutSecondsvoid
setTransaction
(QBackendTransaction transaction) Setter for transactionwithAggregate
(Aggregate aggregate) Fluent setter for aggregateswithAggregates
(List<Aggregate> aggregates) Fluent setter for aggregateswithFilter
(QQueryFilter filter) Fluent setter for filterwithGroupBy
(GroupBy groupBy) Fluent setter for groupByswithGroupBys
(List<GroupBy> groupBys) Fluent setter for groupByswithInputSource
(InputSource inputSource) Fluent setter for inputSourceFluent setter for limitwithoutQueryHint
(QueryHint queryHint) Fluent setter for queryHintswithQueryHint
(QueryHint queryHint) Fluent setter for queryHintswithQueryHints
(EnumSet<QueryHint> queryHints) Fluent setter for queryHintswithQueryJoin
(QueryJoin queryJoin) Fluent setter for queryJoinswithQueryJoins
(List<QueryJoin> queryJoins) Fluent setter for queryJoinswithTableName
(String tableName) Fluent setter for tableNamewithTimeoutSeconds
(Integer timeoutSeconds) Fluent setter for timeoutSecondswithTransaction
(QBackendTransaction transaction) Fluent setter for transactionMethods inherited from class com.kingsrook.qqq.backend.core.model.actions.AbstractTableActionInput
getActionIdentity, getBackend, getInputSource, getTable, getTableMetaData, getTableName, setInputSource, setTableMetaData, setTableName, withTableMetaData
Methods inherited from class com.kingsrook.qqq.backend.core.model.actions.AbstractActionInput
getAsyncJobCallback, getInstance, getSession, setAsyncJobCallback
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.kingsrook.qqq.backend.core.model.actions.tables.QueryOrCountInputInterface
getInputSource, getTable, getTableName, setCommonParamsFrom, setTableName
-
Constructor Details
-
AggregateInput
public AggregateInput() -
AggregateInput
Constructor
-
-
Method Details
-
withTableName
Description copied from class:AbstractTableActionInput
Fluent setter for tableName- Overrides:
withTableName
in classAbstractTableActionInput
-
getFilter
Getter for filter- Specified by:
getFilter
in interfaceQueryOrCountInputInterface
-
setFilter
Setter for filter- Specified by:
setFilter
in interfaceQueryOrCountInputInterface
-
withFilter
Fluent setter for filter -
getAggregates
-
setAggregates
-
withAggregates
Fluent setter for aggregates -
withAggregate
Fluent setter for aggregates -
getGroupBys
-
setGroupBys
-
withGroupBys
Fluent setter for groupBys -
withGroupBy
Fluent setter for groupBys -
getQueryJoins
Getter for queryJoins- Specified by:
getQueryJoins
in interfaceQueryOrCountInputInterface
-
setQueryJoins
Setter for queryJoins- Specified by:
setQueryJoins
in interfaceQueryOrCountInputInterface
-
withQueryJoins
Fluent setter for queryJoins -
withQueryJoin
Fluent setter for queryJoins -
getLimit
Getter for limit -
setLimit
Setter for limit -
withLimit
Fluent setter for limit -
getTimeoutSeconds
Getter for timeoutSeconds- Specified by:
getTimeoutSeconds
in interfaceQueryOrCountInputInterface
-
setTimeoutSeconds
Setter for timeoutSeconds- Specified by:
setTimeoutSeconds
in interfaceQueryOrCountInputInterface
-
withTimeoutSeconds
Fluent setter for timeoutSeconds -
getQueryHints
Getter for queryHints- Specified by:
getQueryHints
in interfaceQueryOrCountInputInterface
-
setQueryHints
Setter for queryHints- Specified by:
setQueryHints
in interfaceQueryOrCountInputInterface
-
withQueryHints
Fluent setter for queryHints -
withQueryHint
Fluent setter for queryHints -
withoutQueryHint
Fluent setter for queryHints -
hasQueryHint
null-safely check if query hints map contains the specified hint -
getTransaction
Getter for transaction- Specified by:
getTransaction
in interfaceQueryOrCountInputInterface
-
setTransaction
Setter for transaction- Specified by:
setTransaction
in interfaceQueryOrCountInputInterface
-
withTransaction
Fluent setter for transaction -
withInputSource
Description copied from class:AbstractTableActionInput
Fluent setter for inputSource- Overrides:
withInputSource
in classAbstractTableActionInput
- Parameters:
inputSource
- Indicator of what the source of the action is. Default values from QQQ are USER or SYSTEM (where it can be the case that an action that originated from a USER leads to SYSTEM actions (e.g., running a process - the RunProcessAction is USER initiated, but if that process then runs a query, by default, it would be SYSTEM initiated).- Returns:
- this
-