Class CountInput
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.count.CountInput
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for filterGetter for includeDistinctCountGetter for queryHintsGetter for queryJoinsGetter for timeoutSecondsGetter for transactionboolean
hasQueryHint
(QueryHint queryHint) null-safely check if query hints map contains the specified hintvoid
setFilter
(QQueryFilter filter) Setter for filtervoid
setIncludeDistinctCount
(Boolean includeDistinctCount) Setter for includeDistinctCountvoid
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 transactionwithFilter
(QQueryFilter filter) Fluent setter for filterwithIncludeDistinctCount
(Boolean includeDistinctCount) Fluent setter for includeDistinctCountwithInputSource
(InputSource inputSource) Fluent setter for inputSourcewithoutQueryHint
(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 queryJoinswithTimeoutSeconds
(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, withTableName
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
-
CountInput
public CountInput() -
CountInput
Constructor
-
-
Method Details
-
getFilter
Getter for filter- Specified by:
getFilter
in interfaceQueryOrCountInputInterface
-
setFilter
Setter for filter- Specified by:
setFilter
in interfaceQueryOrCountInputInterface
-
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 -
getIncludeDistinctCount
Getter for includeDistinctCount -
setIncludeDistinctCount
Setter for includeDistinctCount -
withIncludeDistinctCount
Fluent setter for includeDistinctCount -
withFilter
Fluent setter for filter -
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
-