public class SchemaLogQueryImpl extends AbstractQuery<SchemaLogQuery,SchemaLogEntry> implements SchemaLogQuery
AbstractQuery.ResultType| Modifier and Type | Field and Description |
|---|---|
protected String |
version |
commandExecutor, expressions, maxResultsLimitEnabled, resultType, SORTORDER_ASC, SORTORDER_DESC, validatorsauthCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck| Constructor and Description |
|---|
SchemaLogQueryImpl(CommandExecutor commandExecutor) |
| Modifier and Type | Method and Description |
|---|---|
long |
executeCount(CommandContext commandContext) |
List<SchemaLogEntry> |
executeList(CommandContext commandContext,
Page page)
Executes the actual query to retrieve the list of results.
|
SchemaLogQuery |
orderByTimestamp()
Order by task timestamp (needs to be followed by
Query.asc() or Query.desc()). |
SchemaLogQuery |
version(String version)
Only show
entries with a given version. |
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 String version
public SchemaLogQueryImpl(CommandExecutor commandExecutor)
public SchemaLogQuery version(String version)
SchemaLogQueryentries with a given version.version in interface SchemaLogQuerypublic SchemaLogQuery orderByTimestamp()
SchemaLogQueryQuery.asc() or Query.desc()).orderByTimestamp in interface SchemaLogQuerypublic long executeCount(CommandContext commandContext)
executeCount in class AbstractQuery<SchemaLogQuery,SchemaLogEntry>public List<SchemaLogEntry> executeList(CommandContext commandContext, Page page)
AbstractQueryexecuteList in class AbstractQuery<SchemaLogQuery,SchemaLogEntry>page - used if the results must be paged. If null, no paging will be applied.Copyright © 2022. All rights reserved.