Interface EntityEngine.WhereContext<E>

All Known Subinterfaces:
EntityEngine.WhereEqualAndContext<E>, EntityEngine.WhereEqualContext<E>, EntityEngine.WhereInContext<E>
Enclosing interface:
EntityEngine

public static interface EntityEngine.WhereContext<E>
  • Method Summary

    Modifier and Type
    Method
    Description
     
    orderBy(String... orderByColumn)
     
    Returns the single Entity that is the result of this query.
  • Method Details

    • orderBy

      List<E> orderBy(String... orderByColumn)
    • list

      List<E> list()
    • singleValue

      E singleValue()
      Returns the single Entity that is the result of this query.

      Will return null if no rows were returned by the DB query. Throws PrecedenceSimpleClauseBuilder.IllegalState if more than one row is found.

      Returns:
      the Entity found or null of none found.