Interface QueryFilter
-
- 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 QueryFilter
SQL variable binding. e.g."FROM IDP WHERE NAME=?"; this.jdbcTemplate.fetchSingleRecord(GET_ALL_IDP_SQL, (resultSet, rowNumber) -> { ... return ..; },(preparedStatement) -> { preparedStatement.setString(1, var1); });
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidfilter(PreparedStatement preparedStatement)Performs the variable binding.
-
-
-
Method Detail
-
filter
void filter(PreparedStatement preparedStatement) throws SQLException
Performs the variable binding.- Parameters:
preparedStatement-- Throws:
SQLException
-
-