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, validators
authCheck, 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, evaluateExpressionsAndExecuteIdsList, evaluateExpressionsAndExecuteList, execute, executeIdsList, executeResult, executeSingleResult, extend, getExpressions, getMethod, hasExcludingConditions, list, listIds, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, removeValidator, setCommandExecutor, setExpressions, singleResult, unboundedResultList, validate, validate
getAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getOrderingProperties, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderingProperties, setParameter, setTenantCheck
protected String version
public SchemaLogQueryImpl(CommandExecutor commandExecutor)
public SchemaLogQuery version(String version)
SchemaLogQuery
entries
with a given version.version
in interface SchemaLogQuery
public SchemaLogQuery orderByTimestamp()
SchemaLogQuery
Query.asc()
or Query.desc()
).orderByTimestamp
in interface SchemaLogQuery
public long executeCount(CommandContext commandContext)
executeCount
in class AbstractQuery<SchemaLogQuery,SchemaLogEntry>
public List<SchemaLogEntry> executeList(CommandContext commandContext, Page page)
AbstractQuery
executeList
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.