Interface QueryExecutor

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface QueryExecutor
An abstraction of sql query executor.
Since:
0.6.0
See Also:
  • DbObject
  • Method Summary

    Modifier and Type
    Method
    Description
    <T extends io.github.mfvanek.pg.model.DbObject>
    List<T>
    executeQuery(io.github.mfvanek.pg.connection.PgConnection pgConnection, io.github.mfvanek.pg.model.PgContext pgContext, String sqlQuery, ResultSetExtractor<T> rse)
     
  • Method Details

    • executeQuery

      @Nonnull <T extends io.github.mfvanek.pg.model.DbObject> List<T> executeQuery(@Nonnull io.github.mfvanek.pg.connection.PgConnection pgConnection, @Nonnull io.github.mfvanek.pg.model.PgContext pgContext, @Nonnull String sqlQuery, @Nonnull ResultSetExtractor<T> rse)