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 aggregatesbooleanGetter for allowStreamedFallbackGetter for filterGetter for groupBysgetLimit()Getter for limitGetter for queryHintsGetter for queryJoinsGetter for samplePercentintGetter for streamedRowLimitGetter for timeoutSecondsGetter for transactionbooleanhasQueryHint(QueryHint queryHint) null-safely check if query hints map contains the specified hintvoidsetAggregates(List<Aggregate> aggregates) Setter for aggregatesvoidsetAllowStreamedFallback(boolean allowStreamedFallback) Setter for allowStreamedFallbackvoidsetFilter(QQueryFilter filter) Setter for filtervoidsetGroupBys(List<GroupBy> groupBys) Setter for groupBysvoidSetter for limitvoidsetQueryHints(EnumSet<QueryHint> queryHints) Setter for queryHintsvoidsetQueryJoins(List<QueryJoin> queryJoins) Setter for queryJoinsvoidsetSamplePercent(BigDecimal samplePercent) Setter for samplePercentvoidsetStreamedRowLimit(int streamedRowLimit) Setter for streamedRowLimitvoidsetTimeoutSeconds(Integer timeoutSeconds) Setter for timeoutSecondsvoidsetTransaction(QBackendTransaction transaction) Setter for transactionwithAggregate(Aggregate aggregate) Fluent setter for aggregateswithAggregates(List<Aggregate> aggregates) Fluent setter for aggregateswithAllowStreamedFallback(boolean allowStreamedFallback) Fluent setter for allowStreamedFallbackwithFilter(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 queryJoinswithSamplePercent(BigDecimal samplePercent) Fluent setter for samplePercentwithStreamedRowLimit(int streamedRowLimit) Fluent setter for streamedRowLimitwithTableName(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, withTableMetaDataMethods inherited from class com.kingsrook.qqq.backend.core.model.actions.AbstractActionInput
getAsyncJobCallback, getPermissionBypassReason, getPermissionEnforcement, setAsyncJobCallback, setPermissionEnforcement, withPermissionBypass, withPermissionEnforcementMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:AbstractTableActionInputFluent setter for tableName- Overrides:
withTableNamein classAbstractTableActionInput
-
getFilter
Getter for filter- Specified by:
getFilterin interfaceQueryOrCountInputInterface
-
setFilter
Setter for filter- Specified by:
setFilterin 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:
getQueryJoinsin interfaceQueryOrCountInputInterface
-
setQueryJoins
Setter for queryJoins- Specified by:
setQueryJoinsin 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:
getTimeoutSecondsin interfaceQueryOrCountInputInterface
-
setTimeoutSeconds
Setter for timeoutSeconds- Specified by:
setTimeoutSecondsin interfaceQueryOrCountInputInterface
-
withTimeoutSeconds
Fluent setter for timeoutSeconds -
getQueryHints
Getter for queryHints- Specified by:
getQueryHintsin interfaceQueryOrCountInputInterface
-
setQueryHints
Setter for queryHints- Specified by:
setQueryHintsin 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:
getTransactionin interfaceQueryOrCountInputInterface
-
setTransaction
Setter for transaction- Specified by:
setTransactionin interfaceQueryOrCountInputInterface
-
withTransaction
Fluent setter for transaction -
withInputSource
Description copied from class:AbstractTableActionInputFluent setter for inputSource- Overrides:
withInputSourcein 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
-
getAllowStreamedFallback
public boolean getAllowStreamedFallback()Getter for allowStreamedFallback -
setAllowStreamedFallback
public void setAllowStreamedFallback(boolean allowStreamedFallback) Setter for allowStreamedFallback -
withAllowStreamedFallback
Fluent setter for allowStreamedFallback -
getStreamedRowLimit
public int getStreamedRowLimit()Getter for streamedRowLimit -
setStreamedRowLimit
public void setStreamedRowLimit(int streamedRowLimit) Setter for streamedRowLimit -
withStreamedRowLimit
Fluent setter for streamedRowLimit -
getSamplePercent
Getter for samplePercent -
setSamplePercent
Setter for samplePercent -
withSamplePercent
Fluent setter for samplePercent
-