public interface JpaQueryBackend<F,O,P,E>
| Modifier and Type | Method and Description |
|---|---|
void |
addParentPredicate(MetaAttribute primaryKeyAttr) |
void |
addPredicate(P predicate) |
void |
addSelection(E expression,
String name) |
P |
and(List<P> predicates) |
P |
buildPredicate(FilterOperator operator,
MetaAttributePath path,
Object value) |
boolean |
containsRelation(E expression) |
void |
distinct() |
F |
doJoin(MetaAttribute targetAttr,
javax.persistence.criteria.JoinType joinType,
F parent) |
E |
getAttribute(E currentCriteriaPath,
MetaAttribute pathElement) |
E |
getAttribute(MetaAttributePath attrPath) |
E |
getExpression(O order) |
Class<?> |
getJavaElementType(E currentCriteriaPath) |
List<O> |
getOrderList() |
F |
getRoot() |
boolean |
hasManyRootsFetchesOrJoins() |
E |
joinMapValue(E currentCriteriaPath,
MetaAttribute pathElement,
Object key) |
E |
joinSubType(E currentCriteriaPath,
Class<?> entityType) |
O |
newSort(E expression,
Direction dir) |
P |
not(P predicate) |
P |
or(List<P> predicates) |
void |
setOrder(List<O> orderSpecListToOrderArray) |
void distinct()
F getRoot()
void addPredicate(P predicate)
E getAttribute(MetaAttributePath attrPath)
void addParentPredicate(MetaAttribute primaryKeyAttr)
boolean hasManyRootsFetchesOrJoins()
boolean containsRelation(E expression)
P buildPredicate(FilterOperator operator, MetaAttributePath path, Object value)
E getAttribute(E currentCriteriaPath, MetaAttribute pathElement)
E joinMapValue(E currentCriteriaPath, MetaAttribute pathElement, Object key)
F doJoin(MetaAttribute targetAttr, javax.persistence.criteria.JoinType joinType, F parent)
Copyright © 2017. All Rights Reserved.