Class DefaultExpressionList<T>

java.lang.Object
io.ebeaninternal.server.expression.DefaultExpressionList<T>
All Implemented Interfaces:
io.ebean.Expression, io.ebean.ExpressionList<T>, SpiExpression, SpiExpressionList<T>
Direct Known Subclasses:
FilterExpressionList

@NullMarked public class DefaultExpressionList<T> extends Object implements SpiExpressionList<T>
Default implementation of ExpressionList.
  • Field Details

    • list

      protected List<SpiExpression> list
    • query

      protected final io.ebean.Query<T> query
    • expr

      protected final io.ebean.ExpressionFactory expr
  • Constructor Details

    • DefaultExpressionList

      public DefaultExpressionList(io.ebean.Query<T> query)
    • DefaultExpressionList

      protected DefaultExpressionList(io.ebean.ExpressionFactory expr)
  • Method Details

    • forFetchGroup

      public static <P> io.ebean.ExpressionList<P> forFetchGroup(io.ebean.Query<P> q)
    • prefixProperty

      public void prefixProperty(String path)
      Description copied from interface: SpiExpression
      Apply property prefix when filterMany expressions included into main query.
      Specified by:
      prefixProperty in interface SpiExpression
    • toJunction

      public io.ebean.Junction<T> toJunction()
      Description copied from interface: SpiExpressionList
      Return the expression list as a Junction (for ElasticSearch).
      Specified by:
      toJunction in interface SpiExpressionList<T>
    • naturalKey

      public boolean naturalKey(NaturalKeyQueryData<?> data)
      Description copied from interface: SpiExpression
      Check for match to a natural key query returning false if it doesn't match.
      Specified by:
      naturalKey in interface SpiExpression
    • simplify

      public void simplify()
      Description copied from interface: SpiExpression
      Simplify nested expressions if possible.
      Specified by:
      simplify in interface SpiExpression
    • trimPath

      public SpiExpressionList<?> trimPath(int prefixTrim)
      Description copied from interface: SpiExpressionList
      Return a copy of the ExpressionList with the path trimmed for filterMany() expressions.
      Specified by:
      trimPath in interface SpiExpressionList<T>
    • internalList

      public List<SpiExpression> internalList()
    • copy

      public DefaultExpressionList<T> copy(io.ebean.Query<T> query)
      Return a copy of the expression list.
    • copyForPlanKey

      public DefaultExpressionList<T> copyForPlanKey()
      Description copied from interface: SpiExpression
      Return a copy of the expression for use in the query plan key.
      Specified by:
      copyForPlanKey in interface SpiExpression
    • getIdEqualTo

      public Object getIdEqualTo(String idName)
      Description copied from interface: SpiExpression
      Return the bind Id value if this is a "equal to" expression for the id property.
      Specified by:
      getIdEqualTo in interface SpiExpression
    • containsMany

      public void containsMany(BeanDescriptor<?> desc, ManyWhereJoins whereManyJoins)
      Return true if one of the expressions is related to a Many property.
      Specified by:
      containsMany in interface SpiExpression
    • validate

      public void validate(SpiExpressionValidation validation)
      Description copied from interface: SpiExpression
      Validate all the properties/paths associated with this expression.
      Specified by:
      validate in interface SpiExpression
    • query

      public io.ebean.Query<T> query()
      Specified by:
      query in interface io.ebean.ExpressionList<T>
    • asOf

      public io.ebean.Query<T> asOf(Timestamp asOf)
      Specified by:
      asOf in interface io.ebean.ExpressionList<T>
    • asDto

      public <D> io.ebean.DtoQuery<D> asDto(Class<D> dtoClass)
      Specified by:
      asDto in interface io.ebean.ExpressionList<T>
    • asUpdate

      public io.ebean.UpdateQuery<T> asUpdate()
      Specified by:
      asUpdate in interface io.ebean.ExpressionList<T>
    • setIncludeSoftDeletes

      public io.ebean.Query<T> setIncludeSoftDeletes()
      Specified by:
      setIncludeSoftDeletes in interface io.ebean.ExpressionList<T>
    • findVersions

      public List<io.ebean.Version<T>> findVersions()
      Specified by:
      findVersions in interface io.ebean.ExpressionList<T>
    • findVersionsBetween

      public List<io.ebean.Version<T>> findVersionsBetween(Timestamp start, Timestamp end)
      Specified by:
      findVersionsBetween in interface io.ebean.ExpressionList<T>
    • where

      public io.ebean.ExpressionList<T> where()
      Specified by:
      where in interface io.ebean.ExpressionList<T>
    • orderBy

      public io.ebean.OrderBy<T> orderBy()
      Specified by:
      orderBy in interface io.ebean.ExpressionList<T>
    • orderBy

      public io.ebean.ExpressionList<T> orderBy(String orderBy)
      Specified by:
      orderBy in interface io.ebean.ExpressionList<T>
    • orderById

      public io.ebean.Query<T> orderById(boolean orderById)
      Specified by:
      orderById in interface io.ebean.ExpressionList<T>
    • apply

      public io.ebean.Query<T> apply(io.ebean.FetchPath fetchPath)
      Specified by:
      apply in interface io.ebean.ExpressionList<T>
    • usingTransaction

      public io.ebean.Query<T> usingTransaction(io.ebean.Transaction transaction)
      Specified by:
      usingTransaction in interface io.ebean.ExpressionList<T>
    • usingConnection

      public io.ebean.Query<T> usingConnection(Connection connection)
      Specified by:
      usingConnection in interface io.ebean.ExpressionList<T>
    • delete

      public int delete()
      Specified by:
      delete in interface io.ebean.ExpressionList<T>
    • update

      public int update()
      Specified by:
      update in interface io.ebean.ExpressionList<T>
    • findFutureIds

      public io.ebean.FutureIds<T> findFutureIds()
      Specified by:
      findFutureIds in interface io.ebean.ExpressionList<T>
    • findFutureCount

      public io.ebean.FutureRowCount<T> findFutureCount()
      Specified by:
      findFutureCount in interface io.ebean.ExpressionList<T>
    • findFutureList

      public io.ebean.FutureList<T> findFutureList()
      Specified by:
      findFutureList in interface io.ebean.ExpressionList<T>
    • findPagedList

      public io.ebean.PagedList<T> findPagedList()
      Specified by:
      findPagedList in interface io.ebean.ExpressionList<T>
    • findCount

      public int findCount()
      Specified by:
      findCount in interface io.ebean.ExpressionList<T>
    • findIds

      public <A> List<A> findIds()
      Specified by:
      findIds in interface io.ebean.ExpressionList<T>
    • findIterate

      public io.ebean.QueryIterator<T> findIterate()
      Specified by:
      findIterate in interface io.ebean.ExpressionList<T>
    • findEach

      public void findEach(Consumer<T> consumer)
      Specified by:
      findEach in interface io.ebean.ExpressionList<T>
    • findEach

      public void findEach(int batch, Consumer<List<T>> consumer)
      Specified by:
      findEach in interface io.ebean.ExpressionList<T>
    • findEachWhile

      public void findEachWhile(Predicate<T> consumer)
      Specified by:
      findEachWhile in interface io.ebean.ExpressionList<T>
    • findList

      public List<T> findList()
      Specified by:
      findList in interface io.ebean.ExpressionList<T>
    • findSet

      public Set<T> findSet()
      Specified by:
      findSet in interface io.ebean.ExpressionList<T>
    • findMap

      public <K> Map<K,T> findMap()
      Specified by:
      findMap in interface io.ebean.ExpressionList<T>
    • findSingleAttributeList

      public <A> List<A> findSingleAttributeList()
      Specified by:
      findSingleAttributeList in interface io.ebean.ExpressionList<T>
    • findSingleAttributeSet

      public <A> Set<A> findSingleAttributeSet()
      Specified by:
      findSingleAttributeSet in interface io.ebean.ExpressionList<T>
    • exists

      public boolean exists()
      Specified by:
      exists in interface io.ebean.ExpressionList<T>
    • findOne

      public @Nullable T findOne()
      Specified by:
      findOne in interface io.ebean.ExpressionList<T>
    • findOneOrEmpty

      public Optional<T> findOneOrEmpty()
      Specified by:
      findOneOrEmpty in interface io.ebean.ExpressionList<T>
    • filterMany

      public io.ebean.ExpressionList<T> filterMany(String manyProperty)
      Specified by:
      filterMany in interface io.ebean.ExpressionList<T>
    • filterManyRaw

      public io.ebean.ExpressionList<T> filterManyRaw(String manyProperty, String rawExpression, Object... params)
      Specified by:
      filterManyRaw in interface io.ebean.ExpressionList<T>
    • withLock

      public io.ebean.Query<T> withLock(io.ebean.Query.LockType lockType)
      Specified by:
      withLock in interface io.ebean.ExpressionList<T>
    • withLock

      public io.ebean.Query<T> withLock(io.ebean.Query.LockType lockType, io.ebean.Query.LockWait lockWait)
      Specified by:
      withLock in interface io.ebean.ExpressionList<T>
    • forUpdate

      public io.ebean.Query<T> forUpdate()
      Specified by:
      forUpdate in interface io.ebean.ExpressionList<T>
    • forUpdateNoWait

      public io.ebean.Query<T> forUpdateNoWait()
      Specified by:
      forUpdateNoWait in interface io.ebean.ExpressionList<T>
    • forUpdateSkipLocked

      public io.ebean.Query<T> forUpdateSkipLocked()
      Specified by:
      forUpdateSkipLocked in interface io.ebean.ExpressionList<T>
    • select

      public io.ebean.Query<T> select(String fetchProperties)
      Specified by:
      select in interface io.ebean.ExpressionList<T>
    • select

      public io.ebean.Query<T> select(io.ebean.FetchGroup<T> fetchGroup)
      Specified by:
      select in interface io.ebean.ExpressionList<T>
    • setDistinct

      public io.ebean.Query<T> setDistinct(boolean distinct)
      Specified by:
      setDistinct in interface io.ebean.ExpressionList<T>
    • setFirstRow

      public io.ebean.ExpressionList<T> setFirstRow(int firstRow)
      Specified by:
      setFirstRow in interface io.ebean.ExpressionList<T>
    • setMaxRows

      public io.ebean.ExpressionList<T> setMaxRows(int maxRows)
      Specified by:
      setMaxRows in interface io.ebean.ExpressionList<T>
    • setMapKey

      public io.ebean.Query<T> setMapKey(String mapKey)
      Specified by:
      setMapKey in interface io.ebean.ExpressionList<T>
    • setUseCache

      public io.ebean.Query<T> setUseCache(boolean useCache)
      Specified by:
      setUseCache in interface io.ebean.ExpressionList<T>
    • setBeanCacheMode

      public io.ebean.Query<T> setBeanCacheMode(io.ebean.CacheMode useCache)
      Specified by:
      setBeanCacheMode in interface io.ebean.ExpressionList<T>
    • setUseQueryCache

      public io.ebean.Query<T> setUseQueryCache(io.ebean.CacheMode useCache)
      Specified by:
      setUseQueryCache in interface io.ebean.ExpressionList<T>
    • setCountDistinct

      public io.ebean.Query<T> setCountDistinct(io.ebean.CountDistinctOrder orderBy)
      Specified by:
      setCountDistinct in interface io.ebean.ExpressionList<T>
    • setDisableLazyLoading

      public io.ebean.Query<T> setDisableLazyLoading(boolean disableLazyLoading)
      Specified by:
      setDisableLazyLoading in interface io.ebean.ExpressionList<T>
    • setLabel

      public io.ebean.Query<T> setLabel(String label)
      Specified by:
      setLabel in interface io.ebean.ExpressionList<T>
    • having

      public io.ebean.ExpressionList<T> having()
      Specified by:
      having in interface io.ebean.ExpressionList<T>
    • add

      public io.ebean.ExpressionList<T> add(io.ebean.Expression expr)
      Specified by:
      add in interface io.ebean.ExpressionList<T>
    • addAll

      public io.ebean.ExpressionList<T> addAll(io.ebean.ExpressionList<T> exprList)
      Specified by:
      addAll in interface io.ebean.ExpressionList<T>
    • underlyingList

      public List<SpiExpression> underlyingList()
      Description copied from interface: SpiExpressionList
      Return the underlying list of expressions.
      Specified by:
      underlyingList in interface SpiExpressionList<T>
    • isEmpty

      public boolean isEmpty()
      Description copied from interface: SpiExpressionList
      Return true if this list is empty.
      Specified by:
      isEmpty in interface SpiExpressionList<T>
    • addSql

      public void addSql(SpiExpressionRequest request)
      Description copied from interface: SpiExpression
      Add some sql to the query.

      This will contain ? as a place holder for each associated bind values.

      The 'sql' added to the query can contain object property names rather than db tables and columns. This 'sql' is later parsed converting the logical property names to their full database column names.

      Specified by:
      addSql in interface SpiExpression
      Parameters:
      request - the associated request.
    • addBindValues

      public void addBindValues(SpiExpressionBind request)
      Description copied from interface: SpiExpression
      Add the parameter values to be set against query. For each ? place holder there should be a corresponding value that is added to the bindList.
      Specified by:
      addBindValues in interface SpiExpression
      Parameters:
      request - the associated request.
    • prepareExpression

      public void prepareExpression(io.ebean.event.BeanQueryRequest<?> request)
      Description copied from interface: SpiExpression
      Prepare the expression. For example, compile sub-query expressions etc.
      Specified by:
      prepareExpression in interface SpiExpression
    • queryPlanHash

      public void queryPlanHash(StringBuilder builder)
      Calculate a hash based on the expressions but excluding the actual bind values.
      Specified by:
      queryPlanHash in interface SpiExpression
    • queryBindKey

      public void queryBindKey(BindValuesKey key)
      Description copied from interface: SpiExpression
      Build the key for bind values of the query.
      Specified by:
      queryBindKey in interface SpiExpression
    • isSameByBind

      public boolean isSameByBind(SpiExpression other)
      Description copied from interface: SpiExpression
      Return true if the expression is the same with respect to bind values.
      Specified by:
      isSameByBind in interface SpiExpression
    • jsonExists

      public io.ebean.ExpressionList<T> jsonExists(String propertyName, String path)
      Path exists - for the given path in a JSON document.
      Specified by:
      jsonExists in interface io.ebean.ExpressionList<T>
    • jsonNotExists

      public io.ebean.ExpressionList<T> jsonNotExists(String propertyName, String path)
      Path does not exist - for the given path in a JSON document.
      Specified by:
      jsonNotExists in interface io.ebean.ExpressionList<T>
    • jsonEqualTo

      public io.ebean.ExpressionList<T> jsonEqualTo(String propertyName, String path, Object value)
      Equal to expression for the value at the given path in the JSON document.
      Specified by:
      jsonEqualTo in interface io.ebean.ExpressionList<T>
    • jsonNotEqualTo

      public io.ebean.ExpressionList<T> jsonNotEqualTo(String propertyName, String path, Object val)
      Not Equal to - for the given path in a JSON document.
      Specified by:
      jsonNotEqualTo in interface io.ebean.ExpressionList<T>
    • jsonGreaterThan

      public io.ebean.ExpressionList<T> jsonGreaterThan(String propertyName, String path, Object val)
      Greater than - for the given path in a JSON document.
      Specified by:
      jsonGreaterThan in interface io.ebean.ExpressionList<T>
    • jsonGreaterOrEqual

      public io.ebean.ExpressionList<T> jsonGreaterOrEqual(String propertyName, String path, Object val)
      Greater than or equal to - for the given path in a JSON document.
      Specified by:
      jsonGreaterOrEqual in interface io.ebean.ExpressionList<T>
    • jsonLessThan

      public io.ebean.ExpressionList<T> jsonLessThan(String propertyName, String path, Object val)
      Less than - for the given path in a JSON document.
      Specified by:
      jsonLessThan in interface io.ebean.ExpressionList<T>
    • jsonLessOrEqualTo

      public io.ebean.ExpressionList<T> jsonLessOrEqualTo(String propertyName, String path, Object val)
      Less than or equal to - for the given path in a JSON document.
      Specified by:
      jsonLessOrEqualTo in interface io.ebean.ExpressionList<T>
    • jsonBetween

      public io.ebean.ExpressionList<T> jsonBetween(String propertyName, String path, Object lowerValue, Object upperValue)
      Between - for the given path in a JSON document.
      Specified by:
      jsonBetween in interface io.ebean.ExpressionList<T>
    • bitwiseAny

      public io.ebean.ExpressionList<T> bitwiseAny(String propertyName, long flags)
      Specified by:
      bitwiseAny in interface io.ebean.ExpressionList<T>
    • bitwiseNot

      public io.ebean.ExpressionList<T> bitwiseNot(String propertyName, long flags)
      Specified by:
      bitwiseNot in interface io.ebean.ExpressionList<T>
    • bitwiseAll

      public io.ebean.ExpressionList<T> bitwiseAll(String propertyName, long flags)
      Specified by:
      bitwiseAll in interface io.ebean.ExpressionList<T>
    • bitwiseAnd

      public io.ebean.ExpressionList<T> bitwiseAnd(String propertyName, long flags, long match)
      Specified by:
      bitwiseAnd in interface io.ebean.ExpressionList<T>
    • eq

      public io.ebean.ExpressionList<T> eq(String propertyName, io.ebean.Query<?> subQuery)
      Specified by:
      eq in interface io.ebean.ExpressionList<T>
    • eq

      public io.ebean.ExpressionList<T> eq(String propertyName, Object value)
      Specified by:
      eq in interface io.ebean.ExpressionList<T>
    • eqIfPresent

      public io.ebean.ExpressionList<T> eqIfPresent(String propertyName, @Nullable Object value)
      Specified by:
      eqIfPresent in interface io.ebean.ExpressionList<T>
    • eqOrNull

      public io.ebean.ExpressionList<T> eqOrNull(String propertyName, Object value)
      Specified by:
      eqOrNull in interface io.ebean.ExpressionList<T>
    • ieq

      public io.ebean.ExpressionList<T> ieq(String propertyName, String value)
      Specified by:
      ieq in interface io.ebean.ExpressionList<T>
    • ine

      public io.ebean.ExpressionList<T> ine(String propertyName, String value)
      Specified by:
      ine in interface io.ebean.ExpressionList<T>
    • ne

      public io.ebean.ExpressionList<T> ne(String propertyName, io.ebean.Query<?> subQuery)
      Specified by:
      ne in interface io.ebean.ExpressionList<T>
    • ne

      public io.ebean.ExpressionList<T> ne(String propertyName, Object value)
      Specified by:
      ne in interface io.ebean.ExpressionList<T>
    • allEq

      public io.ebean.ExpressionList<T> allEq(Map<String,Object> propertyMap)
      Specified by:
      allEq in interface io.ebean.ExpressionList<T>
    • and

      public io.ebean.ExpressionList<T> and(io.ebean.Expression expOne, io.ebean.Expression expTwo)
      Specified by:
      and in interface io.ebean.ExpressionList<T>
    • inRangeWith

      public io.ebean.ExpressionList<T> inRangeWith(String lowProperty, String highProperty, Object value)
      Specified by:
      inRangeWith in interface io.ebean.ExpressionList<T>
    • inRangeWithProperties

      public io.ebean.ExpressionList<T> inRangeWithProperties(String propertyName, String lowProperty, String highProperty)
      Specified by:
      inRangeWithProperties in interface io.ebean.ExpressionList<T>
    • inRange

      public io.ebean.ExpressionList<T> inRange(String propertyName, Object value1, Object value2)
      Specified by:
      inRange in interface io.ebean.ExpressionList<T>
    • between

      public io.ebean.ExpressionList<T> between(String propertyName, Object value1, Object value2)
      Specified by:
      between in interface io.ebean.ExpressionList<T>
    • betweenProperties

      public io.ebean.ExpressionList<T> betweenProperties(String lowProperty, String highProperty, Object value)
      Specified by:
      betweenProperties in interface io.ebean.ExpressionList<T>
    • contains

      public io.ebean.ExpressionList<T> contains(String propertyName, String value)
      Specified by:
      contains in interface io.ebean.ExpressionList<T>
    • endsWith

      public io.ebean.ExpressionList<T> endsWith(String propertyName, String value)
      Specified by:
      endsWith in interface io.ebean.ExpressionList<T>
    • ge

      public io.ebean.ExpressionList<T> ge(String propertyName, io.ebean.Query<?> subQuery)
      Specified by:
      ge in interface io.ebean.ExpressionList<T>
    • ge

      public io.ebean.ExpressionList<T> ge(String propertyName, Object value)
      Specified by:
      ge in interface io.ebean.ExpressionList<T>
    • gt

      public io.ebean.ExpressionList<T> gt(String propertyName, io.ebean.Query<?> subQuery)
      Specified by:
      gt in interface io.ebean.ExpressionList<T>
    • gt

      public io.ebean.ExpressionList<T> gt(String propertyName, Object value)
      Specified by:
      gt in interface io.ebean.ExpressionList<T>
    • gtOrNull

      public io.ebean.ExpressionList<T> gtOrNull(String propertyName, Object value)
      Specified by:
      gtOrNull in interface io.ebean.ExpressionList<T>
    • geOrNull

      public io.ebean.ExpressionList<T> geOrNull(String propertyName, Object value)
      Specified by:
      geOrNull in interface io.ebean.ExpressionList<T>
    • gtIfPresent

      public io.ebean.ExpressionList<T> gtIfPresent(String propertyName, @Nullable Object value)
      Specified by:
      gtIfPresent in interface io.ebean.ExpressionList<T>
    • geIfPresent

      public io.ebean.ExpressionList<T> geIfPresent(String propertyName, @Nullable Object value)
      Specified by:
      geIfPresent in interface io.ebean.ExpressionList<T>
    • icontains

      public io.ebean.ExpressionList<T> icontains(String propertyName, String value)
      Specified by:
      icontains in interface io.ebean.ExpressionList<T>
    • idIn

      public io.ebean.ExpressionList<T> idIn(Object... idValues)
      Specified by:
      idIn in interface io.ebean.ExpressionList<T>
    • idIn

      public io.ebean.ExpressionList<T> idIn(Collection<?> idCollection)
      Specified by:
      idIn in interface io.ebean.ExpressionList<T>
    • idEq

      public io.ebean.ExpressionList<T> idEq(Object value)
      Specified by:
      idEq in interface io.ebean.ExpressionList<T>
    • iendsWith

      public io.ebean.ExpressionList<T> iendsWith(String propertyName, String value)
      Specified by:
      iendsWith in interface io.ebean.ExpressionList<T>
    • ilike

      public io.ebean.ExpressionList<T> ilike(String propertyName, String value)
      Specified by:
      ilike in interface io.ebean.ExpressionList<T>
    • inPairs

      public io.ebean.ExpressionList<T> inPairs(io.ebean.Pairs pairs)
      Specified by:
      inPairs in interface io.ebean.ExpressionList<T>
    • inTuples

      public io.ebean.ExpressionList<T> inTuples(io.ebean.InTuples pairs)
      Specified by:
      inTuples in interface io.ebean.ExpressionList<T>
    • exists

      public io.ebean.ExpressionList<T> exists(String sqlSubQuery, Object... bindValues)
      Specified by:
      exists in interface io.ebean.ExpressionList<T>
    • notExists

      public io.ebean.ExpressionList<T> notExists(String sqlSubQuery, Object... bindValues)
      Specified by:
      notExists in interface io.ebean.ExpressionList<T>
    • inSubQuery

      public io.ebean.ExpressionList<T> inSubQuery(String propertyName, String sqlSubQuery, Object... bindValues)
      Specified by:
      inSubQuery in interface io.ebean.ExpressionList<T>
    • notInSubQuery

      public io.ebean.ExpressionList<T> notInSubQuery(String propertyName, String sqlSubQuery, Object... bindValues)
      Specified by:
      notInSubQuery in interface io.ebean.ExpressionList<T>
    • eqSubQuery

      public io.ebean.ExpressionList<T> eqSubQuery(String propertyName, String sqlSubQuery, Object... bindValues)
      Specified by:
      eqSubQuery in interface io.ebean.ExpressionList<T>
    • neSubQuery

      public io.ebean.ExpressionList<T> neSubQuery(String propertyName, String sqlSubQuery, Object... bindValues)
      Specified by:
      neSubQuery in interface io.ebean.ExpressionList<T>
    • gtSubQuery

      public io.ebean.ExpressionList<T> gtSubQuery(String propertyName, String sqlSubQuery, Object... bindValues)
      Specified by:
      gtSubQuery in interface io.ebean.ExpressionList<T>
    • geSubQuery

      public io.ebean.ExpressionList<T> geSubQuery(String propertyName, String sqlSubQuery, Object... bindValues)
      Specified by:
      geSubQuery in interface io.ebean.ExpressionList<T>
    • ltSubQuery

      public io.ebean.ExpressionList<T> ltSubQuery(String propertyName, String sqlSubQuery, Object... bindValues)
      Specified by:
      ltSubQuery in interface io.ebean.ExpressionList<T>
    • leSubQuery

      public io.ebean.ExpressionList<T> leSubQuery(String propertyName, String sqlSubQuery, Object... bindValues)
      Specified by:
      leSubQuery in interface io.ebean.ExpressionList<T>
    • in

      public io.ebean.ExpressionList<T> in(String propertyName, io.ebean.Query<?> subQuery)
      Specified by:
      in in interface io.ebean.ExpressionList<T>
    • in

      public io.ebean.ExpressionList<T> in(String propertyName, Collection<?> values)
      Specified by:
      in in interface io.ebean.ExpressionList<T>
    • inOrEmpty

      public io.ebean.ExpressionList<T> inOrEmpty(String propertyName, Collection<?> values)
      Specified by:
      inOrEmpty in interface io.ebean.ExpressionList<T>
    • in

      public io.ebean.ExpressionList<T> in(String propertyName, Object... values)
      Specified by:
      in in interface io.ebean.ExpressionList<T>
    • notIn

      public io.ebean.ExpressionList<T> notIn(String propertyName, Object... values)
      Specified by:
      notIn in interface io.ebean.ExpressionList<T>
    • notIn

      public io.ebean.ExpressionList<T> notIn(String propertyName, Collection<?> values)
      Specified by:
      notIn in interface io.ebean.ExpressionList<T>
    • notIn

      public io.ebean.ExpressionList<T> notIn(String propertyName, io.ebean.Query<?> subQuery)
      Specified by:
      notIn in interface io.ebean.ExpressionList<T>
    • isEmpty

      public io.ebean.ExpressionList<T> isEmpty(String propertyName)
      Specified by:
      isEmpty in interface io.ebean.ExpressionList<T>
    • isNotEmpty

      public io.ebean.ExpressionList<T> isNotEmpty(String propertyName)
      Specified by:
      isNotEmpty in interface io.ebean.ExpressionList<T>
    • exists

      public io.ebean.ExpressionList<T> exists(io.ebean.Query<?> subQuery)
      Specified by:
      exists in interface io.ebean.ExpressionList<T>
    • notExists

      public io.ebean.ExpressionList<T> notExists(io.ebean.Query<?> subQuery)
      Specified by:
      notExists in interface io.ebean.ExpressionList<T>
    • isNotNull

      public io.ebean.ExpressionList<T> isNotNull(String propertyName)
      Specified by:
      isNotNull in interface io.ebean.ExpressionList<T>
    • isNull

      public io.ebean.ExpressionList<T> isNull(String propertyName)
      Specified by:
      isNull in interface io.ebean.ExpressionList<T>
    • istartsWith

      public io.ebean.ExpressionList<T> istartsWith(String propertyName, String value)
      Specified by:
      istartsWith in interface io.ebean.ExpressionList<T>
    • le

      public io.ebean.ExpressionList<T> le(String propertyName, io.ebean.Query<?> subQuery)
      Specified by:
      le in interface io.ebean.ExpressionList<T>
    • le

      public io.ebean.ExpressionList<T> le(String propertyName, Object value)
      Specified by:
      le in interface io.ebean.ExpressionList<T>
    • exampleLike

      public io.ebean.ExpressionList<T> exampleLike(Object example)
      Specified by:
      exampleLike in interface io.ebean.ExpressionList<T>
    • iexampleLike

      public io.ebean.ExpressionList<T> iexampleLike(Object example)
      Specified by:
      iexampleLike in interface io.ebean.ExpressionList<T>
    • like

      public io.ebean.ExpressionList<T> like(String propertyName, String value)
      Specified by:
      like in interface io.ebean.ExpressionList<T>
    • lt

      public io.ebean.ExpressionList<T> lt(String propertyName, io.ebean.Query<?> subQuery)
      Specified by:
      lt in interface io.ebean.ExpressionList<T>
    • lt

      public io.ebean.ExpressionList<T> lt(String propertyName, Object value)
      Specified by:
      lt in interface io.ebean.ExpressionList<T>
    • ltOrNull

      public io.ebean.ExpressionList<T> ltOrNull(String propertyName, Object value)
      Specified by:
      ltOrNull in interface io.ebean.ExpressionList<T>
    • leOrNull

      public io.ebean.ExpressionList<T> leOrNull(String propertyName, Object value)
      Specified by:
      leOrNull in interface io.ebean.ExpressionList<T>
    • ltIfPresent

      public io.ebean.ExpressionList<T> ltIfPresent(String propertyName, @Nullable Object value)
      Specified by:
      ltIfPresent in interface io.ebean.ExpressionList<T>
    • leIfPresent

      public io.ebean.ExpressionList<T> leIfPresent(String propertyName, @Nullable Object value)
      Specified by:
      leIfPresent in interface io.ebean.ExpressionList<T>
    • not

      public io.ebean.ExpressionList<T> not(io.ebean.Expression exp)
      Specified by:
      not in interface io.ebean.ExpressionList<T>
    • or

      public io.ebean.ExpressionList<T> or(io.ebean.Expression expOne, io.ebean.Expression expTwo)
      Specified by:
      or in interface io.ebean.ExpressionList<T>
    • arrayContains

      public io.ebean.ExpressionList<T> arrayContains(String propertyName, Object... elementValue)
      Specified by:
      arrayContains in interface io.ebean.ExpressionList<T>
    • arrayNotContains

      public io.ebean.ExpressionList<T> arrayNotContains(String propertyName, Object... values)
      Specified by:
      arrayNotContains in interface io.ebean.ExpressionList<T>
    • arrayIsEmpty

      public io.ebean.ExpressionList<T> arrayIsEmpty(String propertyName)
      Specified by:
      arrayIsEmpty in interface io.ebean.ExpressionList<T>
    • arrayIsNotEmpty

      public io.ebean.ExpressionList<T> arrayIsNotEmpty(String propertyName)
      Specified by:
      arrayIsNotEmpty in interface io.ebean.ExpressionList<T>
    • raw

      public io.ebean.ExpressionList<T> raw(String raw, Object value)
      Specified by:
      raw in interface io.ebean.ExpressionList<T>
    • raw

      public io.ebean.ExpressionList<T> raw(String raw, Object... values)
      Specified by:
      raw in interface io.ebean.ExpressionList<T>
    • raw

      public io.ebean.ExpressionList<T> raw(String raw)
      Specified by:
      raw in interface io.ebean.ExpressionList<T>
    • rawOrEmpty

      public io.ebean.ExpressionList<T> rawOrEmpty(String raw, Collection<?> values)
      Specified by:
      rawOrEmpty in interface io.ebean.ExpressionList<T>
    • startsWith

      public io.ebean.ExpressionList<T> startsWith(String propertyName, String value)
      Specified by:
      startsWith in interface io.ebean.ExpressionList<T>
    • junction

      protected io.ebean.Junction<T> junction(io.ebean.Junction.Type type)
    • endJunction

      public io.ebean.ExpressionList<T> endJunction()
      Specified by:
      endJunction in interface io.ebean.ExpressionList<T>
    • endAnd

      public io.ebean.ExpressionList<T> endAnd()
      Specified by:
      endAnd in interface io.ebean.ExpressionList<T>
    • endOr

      public io.ebean.ExpressionList<T> endOr()
      Specified by:
      endOr in interface io.ebean.ExpressionList<T>
    • endNot

      public io.ebean.ExpressionList<T> endNot()
      Specified by:
      endNot in interface io.ebean.ExpressionList<T>
    • and

      public io.ebean.Junction<T> and()
      Specified by:
      and in interface io.ebean.ExpressionList<T>
    • or

      public io.ebean.Junction<T> or()
      Specified by:
      or in interface io.ebean.ExpressionList<T>
    • not

      public io.ebean.Junction<T> not()
      Specified by:
      not in interface io.ebean.ExpressionList<T>
    • conjunction

      public io.ebean.Junction<T> conjunction()
      Specified by:
      conjunction in interface io.ebean.ExpressionList<T>
    • disjunction

      public io.ebean.Junction<T> disjunction()
      Specified by:
      disjunction in interface io.ebean.ExpressionList<T>
    • setUnderlying

      public void setUnderlying(List<SpiExpression> groupedByNesting)
      Replace the underlying expression list with one organised by nested path.
    • idEqualTo

      public Object idEqualTo(String idName)
    • clear

      public io.ebean.ExpressionList<T> clear()
      Specified by:
      clear in interface io.ebean.ExpressionList<T>