12 lines
320 B
Java
12 lines
320 B
Java
package eu.eudat.queryable.predicates;
|
|
|
|
import javax.persistence.criteria.CriteriaBuilder;
|
|
import javax.persistence.criteria.Order;
|
|
import javax.persistence.criteria.Path;
|
|
import javax.persistence.criteria.Root;
|
|
|
|
public interface OrderByPredicate<T> {
|
|
Order applyPredicate(CriteriaBuilder builder, Root<T> root);
|
|
|
|
}
|