Uses of Interface
com.github.collinalpert.java2db.utilities.SqlPredicate
-
Packages that use SqlPredicate Package Description com.github.collinalpert.java2db.services com.github.collinalpert.java2db.utilities -
-
Uses of SqlPredicate in com.github.collinalpert.java2db.services
Methods in com.github.collinalpert.java2db.services with parameters of type SqlPredicate Modifier and Type Method Description protected java.sql.ResultSetBaseService. getByPredicate(SqlPredicate<T> predicate, DBConnection connection)java.util.List<T>BaseService. getMultiple(SqlPredicate<T> predicate)java.util.Optional<T>BaseService. getSingle(SqlPredicate<T> predicate) -
Uses of SqlPredicate in com.github.collinalpert.java2db.utilities
Methods in com.github.collinalpert.java2db.utilities that return SqlPredicate Modifier and Type Method Description default SqlPredicate<T>SqlPredicate. and(SqlPredicate<? super T> other)Methods in com.github.collinalpert.java2db.utilities with parameters of type SqlPredicate Modifier and Type Method Description static <E extends BaseEntity>
voidIoC. addConstraint(java.lang.Class<E> clazz, SqlPredicate<E> predicate)Adds a query constraint to a query made with a certain entity.default SqlPredicate<T>SqlPredicate. and(SqlPredicate<? super T> other)static <T> java.lang.StringLambda2Sql. toSql(SqlPredicate<T> predicate)Converts a predicate lambda to SQL.
-