Uses of Interface
com.github.collinalpert.java2db.functions.SqlPredicate
-
-
Uses of SqlPredicate in com.github.collinalpert.java2db.functions
Methods in com.github.collinalpert.java2db.functions that return SqlPredicate Modifier and Type Method Description default SqlPredicate<T>SqlPredicate. and(SqlPredicate<? super T> other)Methods in com.github.collinalpert.java2db.functions with parameters of type SqlPredicate Modifier and Type Method Description default SqlPredicate<T>SqlPredicate. and(SqlPredicate<? super T> other) -
Uses of SqlPredicate in com.github.collinalpert.java2db.queries
Methods in com.github.collinalpert.java2db.queries with parameters of type SqlPredicate Modifier and Type Method Description Query<T>Query. where(SqlPredicate<T> predicate)Adds a WHERE clause to the DQL statement. -
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 Query<T>BaseService. getMultiple(SqlPredicate<T> predicate)Retrieves list of entities which match the predicate.protected java.util.Optional<T>BaseService. getSingle(SqlPredicate<T> predicate)Retrieves a single entity which matches the 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 static <E extends BaseEntity>
SqlPredicate<E>IoC. getConstraints(java.lang.Class<E> clazz)Retrieves a compositionSqlPredicatefor all constraints that have been added for this class or any superclass of this class.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.
-