Module io.ebean.api
Package io.ebean

Interface SqlQuery.TypeQuery<T>

Type Parameters:
T - The type of the scalar values
Enclosing interface:
SqlQuery

public static interface SqlQuery.TypeQuery<T>
Query mapping to single scalar values.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    findEach(Consumer<T> consumer)
    Find streaming the result effectively consuming a row at a time.
    Return the list of values.
    Return the single value.
    Return the single value that is optional.
  • Method Details

    • findOne

      @Nullable T findOne()
      Return the single value.
    • findOneOrEmpty

      Optional<T> findOneOrEmpty()
      Return the single value that is optional.
    • findList

      List<T> findList()
      Return the list of values.
    • findEach

      void findEach(Consumer<T> consumer)
      Find streaming the result effectively consuming a row at a time.