Package io.github.mfvanek.pg.utils
Class QueryExecutors
java.lang.Object
io.github.mfvanek.pg.utils.QueryExecutors
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> List<T>
executeQuery
(io.github.mfvanek.pg.connection.PgConnection pgConnection, String sqlQuery, ResultSetExtractor<T> rse) static <T> List<T>
executeQueryWithBloatThreshold
(io.github.mfvanek.pg.connection.PgConnection pgConnection, io.github.mfvanek.pg.model.PgContext pgContext, String sqlQuery, ResultSetExtractor<T> rse) static <T> List<T>
executeQueryWithSchema
(io.github.mfvanek.pg.connection.PgConnection pgConnection, io.github.mfvanek.pg.model.PgContext pgContext, String sqlQuery, ResultSetExtractor<T> rse)
-
Method Details
-
executeQuery
@Nonnull public static <T> List<T> executeQuery(@Nonnull io.github.mfvanek.pg.connection.PgConnection pgConnection, @Nonnull String sqlQuery, @Nonnull ResultSetExtractor<T> rse) -
executeQueryWithSchema
@Nonnull public static <T> List<T> executeQueryWithSchema(@Nonnull io.github.mfvanek.pg.connection.PgConnection pgConnection, @Nonnull io.github.mfvanek.pg.model.PgContext pgContext, @Nonnull String sqlQuery, @Nonnull ResultSetExtractor<T> rse) -
executeQueryWithBloatThreshold
@Nonnull public static <T> List<T> executeQueryWithBloatThreshold(@Nonnull io.github.mfvanek.pg.connection.PgConnection pgConnection, @Nonnull io.github.mfvanek.pg.model.PgContext pgContext, @Nonnull String sqlQuery, @Nonnull ResultSetExtractor<T> rse)
-