Interface Query<T>

All Known Subinterfaces:
PreparedQuery<T>

public interface Query<T>
A query.
Author:
Julien Viet
  • Method Details

    • execute

      Future<T> execute()
      Execute the query.
      Returns:
      a future notified with the result
    • collecting

      <R> Query<SqlResult<R>> collecting(Collector<Row,?,R> collector)
      Use the specified collector for collecting the query result to <R>.
    • mapping

      <U> Query<RowSet<U>> mapping(Function<Row,U> mapper)
      Use the specified mapper for mapping Row to <U>.