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, 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, validate
getAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getOrderingProperties, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderingProperties, setParameter, setTenantCheck
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asc, count, desc, list, listPage, singleResult, unlimitedList
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 © 2021. All rights reserved.