public interface SpiExpressionList<T> extends ExpressionList<T>
| Modifier and Type | Method and Description |
|---|---|
ArrayList<Object> |
buildBindValues(SpiExpressionRequest request)
Combine the expression bind values into a list.
|
String |
buildSql(SpiExpressionRequest request)
Concatenate the expression sql into a String.
|
void |
containsMany(BeanDescriptor<?> desc,
ManyWhereJoins manyWhereJoins)
Process "Many" properties populating ManyWhereJoins.
|
List<SpiExpression> |
getUnderlyingList()
Return the underlying list of expressions.
|
boolean |
isEmpty()
Return true if this list is empty.
|
void |
queryPlanHash(BeanQueryRequest<?> request,
HashQueryPlanBuilder builder)
Calculate a hash based on the expressions but excluding the actual bind
values.
|
void |
setExpressionFactory(ExpressionFactory expr)
Restore the ExpressionFactory after deserialisation.
|
SpiExpressionList<?> |
trimPath(int prefixTrim)
Return a copy of the ExpressionList with the path trimmed for filterMany() expressions.
|
add, addAll, allEq, and, between, betweenProperties, conjunction, contains, disjunction, endJunction, endsWith, eq, exampleLike, filterMany, findFutureIds, findFutureList, findFutureRowCount, findIds, findIterate, findList, findMap, findMap, findPagingList, findRowCount, findSet, findUnique, findVisit, ge, gt, having, icontains, idEq, idIn, iendsWith, ieq, iexampleLike, ilike, in, in, in, isNotNull, isNull, istartsWith, join, join, le, like, lt, ne, not, or, order, order, orderBy, orderBy, query, raw, raw, raw, select, setBackgroundFetchAfter, setFirstRow, setListener, setMapKey, setMaxRows, setOrderBy, setUseCache, startsWith, whereList<SpiExpression> getUnderlyingList()
SpiExpressionList<?> trimPath(int prefixTrim)
void setExpressionFactory(ExpressionFactory expr)
void containsMany(BeanDescriptor<?> desc, ManyWhereJoins manyWhereJoins)
Predicates on Many properties require an extra independent join clause.
boolean isEmpty()
String buildSql(SpiExpressionRequest request)
The list of expressions are evaluated in order building a sql statement with bind parameters.
ArrayList<Object> buildBindValues(SpiExpressionRequest request)
Expressions are evaluated in order and all the resulting bind values are returned as a List.
void queryPlanHash(BeanQueryRequest<?> request, HashQueryPlanBuilder builder)
Copyright © 2014. All Rights Reserved.