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 transactionbooleanhasQueryHint(QueryHint queryHint) null-safely check if query hints map contains the specified hintvoidsetFilter(QQueryFilter filter) Setter for filtervoidsetIncludeDistinctCount(Boolean includeDistinctCount) Setter for includeDistinctCountvoidsetQueryHints(EnumSet<QueryHint> queryHints) Setter for queryHintsvoidsetQueryJoins(List<QueryJoin> queryJoins) Setter for queryJoinsvoidsetTimeoutSeconds(Integer timeoutSeconds) Setter for timeoutSecondsvoidsetTransaction(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, withTableNameMethods inherited from class com.kingsrook.qqq.backend.core.model.actions.AbstractActionInput
getAsyncJobCallback, getInstance, getSession, setAsyncJobCallbackMethods 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
-
CountInput
public CountInput() -
CountInput
Constructor
-
-
Method Details
-
getFilter
Getter for filter- Specified by:
getFilterin interfaceQueryOrCountInputInterface
-
setFilter
Setter for filter- Specified by:
setFilterin interfaceQueryOrCountInputInterface
-
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 -
getIncludeDistinctCount
Getter for includeDistinctCount -
setIncludeDistinctCount
Setter for includeDistinctCount -
withIncludeDistinctCount
Fluent setter for includeDistinctCount -
withFilter
Fluent setter for filter -
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
-