public abstract class AbstractVariableQueryImpl<T extends Query<?,?>,U> extends AbstractQuery<T,U>
AbstractQuery.ResultType
Modifier and Type | Field and Description |
---|---|
protected List<QueryVariableValue> |
queryVariableValues |
commandExecutor, expressions, maxResultsLimitEnabled, resultType, SORTORDER_ASC, SORTORDER_DESC, validators
authCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck
Constructor and Description |
---|
AbstractVariableQueryImpl() |
AbstractVariableQueryImpl(CommandExecutor commandExecutor) |
Modifier and Type | Method and Description |
---|---|
protected void |
addVariable(String name,
Object value,
QueryOperator operator,
boolean processInstanceScope) |
protected void |
ensureVariablesInitialized() |
abstract long |
executeCount(CommandContext commandContext) |
abstract List<U> |
executeList(CommandContext commandContext,
Page page)
Executes the actual query to retrieve the list of results.
|
List<QueryVariableValue> |
getQueryVariableValues() |
T |
variableValueEquals(String name,
Object value) |
T |
variableValueGreaterThan(String name,
Object value) |
T |
variableValueGreaterThanOrEqual(String name,
Object value) |
T |
variableValueLessThan(String name,
Object value) |
T |
variableValueLessThanOrEqual(String name,
Object value) |
T |
variableValueLike(String name,
String value) |
T |
variableValueNotEquals(String name,
Object value) |
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 List<QueryVariableValue> queryVariableValues
public AbstractVariableQueryImpl()
public AbstractVariableQueryImpl(CommandExecutor commandExecutor)
public abstract long executeCount(CommandContext commandContext)
executeCount
in class AbstractQuery<T extends Query<?,?>,U>
public abstract List<U> executeList(CommandContext commandContext, Page page)
AbstractQuery
executeList
in class AbstractQuery<T extends Query<?,?>,U>
page
- used if the results must be paged. If null, no paging will be applied.protected void addVariable(String name, Object value, QueryOperator operator, boolean processInstanceScope)
protected void ensureVariablesInitialized()
public List<QueryVariableValue> getQueryVariableValues()
Copyright © 2020. All rights reserved.