Uses of Interface
com.glyart.asql.common.functions.PreparedStatementSetter
-
Packages that use PreparedStatementSetter Package Description com.glyart.asql.common.database Contains classes that handle a data source connection.com.glyart.asql.common.defaults Contains default implementations of some interfaces used by aSQL. -
-
Uses of PreparedStatementSetter in com.glyart.asql.common.database
Methods in com.glyart.asql.common.database with parameters of type PreparedStatementSetter Modifier and Type Method Description <S> CompletableFuture<S>
DataTemplate. query(PreparedStatementCreator creator, PreparedStatementSetter setter, ResultSetExtractor<S> extractor)
Executes a query using a PreparedStatement, created by aPreparedStatementCreator
and with his values set by aPreparedStatementSetter
.<S> CompletableFuture<S>
DataTemplate. query(String sql, PreparedStatementSetter setter, ResultSetExtractor<S> extractor)
Executes a query using a SQL statement, then reading the ResultSet with aResultSetExtractor
implementation.<S> CompletableFuture<List<S>>
DataTemplate. query(String sql, PreparedStatementSetter pss, RowMapper<S> rowMapper)
Executes a query using a SQL statement and aPreparedStatementSetter
implementation that will bind values to the query.CompletableFuture<Integer>
DataTemplate. update(PreparedStatementCreator creator, PreparedStatementSetter setter, boolean getGeneratedKey)
Performs a single update operation (like insert, delete, update) using aPreparedStatementCreator
to provide SQL and any required parameters.CompletableFuture<Integer>
DataTemplate. update(String sql, PreparedStatementSetter setter, boolean getGeneratedKey)
Performs a single update operation (like insert, delete, update). -
Uses of PreparedStatementSetter in com.glyart.asql.common.defaults
Classes in com.glyart.asql.common.defaults that implement PreparedStatementSetter Modifier and Type Class Description class
DefaultSetter
-