Package io.ebeaninternal.api
Interface SpiExpressionList<T>
-
- All Superinterfaces:
Expression
,ExpressionList<T>
,SpiExpression
- All Known Implementing Classes:
DefaultExpressionList
,FilterExpressionList
public interface SpiExpressionList<T> extends ExpressionList<T>, SpiExpression
Internal extension of ExpressionList.
-
-
Field Summary
-
Fields inherited from interface io.ebeaninternal.api.SpiExpression
SQL_FALSE, SQL_TRUE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
applyRowLimits(SpiQuery<?> query)
Apply firstRow maxRows limits on the filterMany query.List<SpiExpression>
getUnderlyingList()
Return the underlying list of expressions.boolean
isEmpty()
Return true if this list is empty.Junction<T>
toJunction()
Return the expression list as a Junction (for ElasticSearch).SpiExpressionList<?>
trimPath(int prefixTrim)
Return a copy of the ExpressionList with the path trimmed for filterMany() expressions.void
writeDocQuery(DocQueryContext context, SpiExpression idEquals)
Write the top level where expressions taking into account possible extra idEquals expression.-
Methods inherited from interface io.ebean.ExpressionList
add, addAll, allEq, and, and, apply, arrayContains, arrayIsEmpty, arrayIsNotEmpty, arrayNotContains, asDraft, asDto, asOf, asUpdate, between, betweenProperties, bitwiseAll, bitwiseAnd, bitwiseAny, bitwiseNot, conjunction, contains, delete, delete, disjunction, endAnd, endJunction, endNot, endOr, endsWith, eq, eqOrNull, exampleLike, exists, exists, filterMany, filterMany, findCount, findEach, findEachWhile, findFutureCount, findFutureIds, findFutureList, findIds, findIterate, findList, findMap, findOne, findOneOrEmpty, findPagedList, findSet, findSingleAttribute, findSingleAttributeList, findVersions, findVersionsBetween, forUpdate, forUpdateNoWait, forUpdateSkipLocked, ge, gt, gtOrNull, having, icontains, idEq, idIn, idIn, iendsWith, ieq, iexampleLike, ilike, in, in, in, ine, inOrEmpty, inPairs, inRange, inRangeWith, isEmpty, isIn, isIn, isIn, isNotEmpty, isNotNull, isNull, istartsWith, jsonBetween, jsonEqualTo, jsonExists, jsonGreaterOrEqual, jsonGreaterThan, jsonLessOrEqualTo, jsonLessThan, jsonNotEqualTo, jsonNotExists, le, like, lt, ltOrNull, match, match, multiMatch, multiMatch, must, mustNot, ne, not, not, notExists, notIn, notIn, notIn, or, or, order, order, orderBy, orderBy, orderById, query, raw, raw, raw, rawOrEmpty, select, select, setBeanCacheMode, setCountDistinct, setDisableLazyLoading, setDisableReadAuditing, setDistinct, setDocIndexName, setFirstRow, setIncludeSoftDeletes, setLabel, setMapKey, setMaxRows, setOrderBy, setUseCache, setUseDocStore, setUseQueryCache, setUseQueryCache, should, startsWith, textCommonTerms, textQueryString, textSimple, update, update, usingConnection, usingTransaction, where, where
-
Methods inherited from interface io.ebeaninternal.api.SpiExpression
addBindValues, addSql, containsMany, copyForPlanKey, getIdEqualTo, isSameByBind, naturalKey, nestedPath, prepareExpression, queryBindHash, queryPlanHash, simplify, validate, writeDocQuery
-
-
-
-
Method Detail
-
toJunction
Junction<T> toJunction()
Return the expression list as a Junction (for ElasticSearch).
-
getUnderlyingList
List<SpiExpression> getUnderlyingList()
Return the underlying list of expressions.
-
trimPath
SpiExpressionList<?> trimPath(int prefixTrim)
Return a copy of the ExpressionList with the path trimmed for filterMany() expressions.
-
isEmpty
boolean isEmpty()
Return true if this list is empty.
-
writeDocQuery
void writeDocQuery(DocQueryContext context, SpiExpression idEquals) throws IOException
Write the top level where expressions taking into account possible extra idEquals expression.- Throws:
IOException
-
applyRowLimits
default void applyRowLimits(SpiQuery<?> query)
Apply firstRow maxRows limits on the filterMany query.
-
-