public class CleanableHistoricBatchReportImpl extends AbstractQuery<CleanableHistoricBatchReport,CleanableHistoricBatchReportResult> implements CleanableHistoricBatchReport
AbstractQuery.ResultType| Modifier and Type | Field and Description |
|---|---|
protected Date |
currentTimestamp |
protected boolean |
isHistoryCleanupStrategyRemovalTimeBased |
commandExecutor, expressions, maxResultsLimitEnabled, resultType, SORTORDER_ASC, SORTORDER_DESC, validatorsauthCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck| Constructor and Description |
|---|
CleanableHistoricBatchReportImpl(CommandExecutor commandExecutor) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addBatchOperationsWithoutTTL(Map<String,Integer> batchOperations) |
long |
executeCount(CommandContext commandContext) |
List<CleanableHistoricBatchReportResult> |
executeList(CommandContext commandContext,
Page page)
Executes the actual query to retrieve the list of results.
|
Date |
getCurrentTimestamp() |
boolean |
isHistoryCleanupStrategyRemovalTimeBased() |
CleanableHistoricBatchReport |
orderByFinishedBatchOperation()
Order by finished batch operations amount (needs to be followed by
Query.asc() or Query.desc()). |
protected void |
provideHistoryCleanupStrategy(CommandContext commandContext) |
void |
setCurrentTimestamp(Date currentTimestamp) |
addExpression, addValidator, asc, checkMaxResultsLimit, checkQueryOk, count, desc, direction, disableMaxResultsLimit, enableMaxResultsLimit, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteDeploymentIdMappingsList, evaluateExpressionsAndExecuteIdsList, evaluateExpressionsAndExecuteList, execute, executeDeploymentIdMappingsList, executeIdsList, executeResult, executeSingleResult, extend, getExpressions, getMethod, hasExcludingConditions, list, listDeploymentIdMappings, listIds, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, removeValidator, setCommandExecutor, setExpressions, singleResult, unlimitedList, validate, validategetAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getOrderingProperties, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderingProperties, setParameter, setTenantCheckclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasc, count, desc, list, listPage, singleResult, unlimitedListisRetryableprotected Date currentTimestamp
protected boolean isHistoryCleanupStrategyRemovalTimeBased
public CleanableHistoricBatchReportImpl(CommandExecutor commandExecutor)
public CleanableHistoricBatchReport orderByFinishedBatchOperation()
CleanableHistoricBatchReportQuery.asc() or Query.desc()).orderByFinishedBatchOperation in interface CleanableHistoricBatchReportpublic long executeCount(CommandContext commandContext)
executeCount in class AbstractQuery<CleanableHistoricBatchReport,CleanableHistoricBatchReportResult>public List<CleanableHistoricBatchReportResult> executeList(CommandContext commandContext, Page page)
AbstractQueryexecuteList in class AbstractQuery<CleanableHistoricBatchReport,CleanableHistoricBatchReportResult>page - used if the results must be paged. If null, no paging will be applied.protected void addBatchOperationsWithoutTTL(Map<String,Integer> batchOperations)
public Date getCurrentTimestamp()
public void setCurrentTimestamp(Date currentTimestamp)
protected void provideHistoryCleanupStrategy(CommandContext commandContext)
public boolean isHistoryCleanupStrategyRemovalTimeBased()
Copyright © 2022. All rights reserved.