Interface Queryable<T>

    • Method Summary

      Modifier and Type Method Description
      T[] toArray()
      Executes a new query and returns the result as an array.
      java.util.List<T> toList()
      Executes the query and returns the result as a List
      java.util.stream.Stream<T> toStream()
      Executes the query and returns the result as a Stream
    • Method Detail

      • toList

        java.util.List<T> toList()
        Executes the query and returns the result as a List
        Returns:
        A list of entities representing the result rows.
      • toStream

        java.util.stream.Stream<T> toStream()
        Executes the query and returns the result as a Stream
        Returns:
        A list of entities representing the result rows.
      • toArray

        T[] toArray()
        Executes a new query and returns the result as an array.
        Returns:
        An array of entities representing the result rows.