public class JPACriteriaQueryVisitor<T,E> extends AbstractJPATypedQueryVisitor<T,E,javax.persistence.criteria.CriteriaQuery<E>>
AbstractSearchConditionVisitor.ClassValue
Constructor and Description |
---|
JPACriteriaQueryVisitor(javax.persistence.EntityManager em,
Class<T> tClass,
Class<E> queryClass) |
JPACriteriaQueryVisitor(javax.persistence.EntityManager em,
Class<T> tClass,
Class<E> queryClass,
List<String> joinProps) |
JPACriteriaQueryVisitor(javax.persistence.EntityManager em,
Class<T> tClass,
Class<E> queryClass,
Map<String,String> fieldMap) |
JPACriteriaQueryVisitor(javax.persistence.EntityManager em,
Class<T> tClass,
Class<E> queryClass,
Map<String,String> fieldMap,
List<String> joinProps) |
Modifier and Type | Method and Description |
---|---|
Long |
count() |
javax.persistence.TypedQuery<E> |
getArrayTypedQuery(List<javax.persistence.metamodel.SingularAttribute<T,?>> attributes) |
javax.persistence.TypedQuery<E> |
getConstructTypedQuery(List<javax.persistence.metamodel.SingularAttribute<T,?>> attributes) |
javax.persistence.TypedQuery<E> |
getOrderedTypedQuery(List<javax.persistence.metamodel.SingularAttribute<T,?>> attributes,
boolean asc) |
javax.persistence.criteria.CriteriaQuery<E> |
getQuery()
Return a built query object
|
javax.persistence.TypedQuery<E> |
getTupleTypedQuery(List<javax.persistence.metamodel.SingularAttribute<T,?>> attributes) |
javax.persistence.criteria.CriteriaQuery<E> |
orderBy(List<javax.persistence.metamodel.SingularAttribute<T,?>> attributes,
boolean asc) |
javax.persistence.criteria.CriteriaQuery<E> |
selectArray(List<javax.persistence.metamodel.SingularAttribute<T,?>> attributes) |
javax.persistence.criteria.CriteriaQuery<E> |
selectConstruct(List<javax.persistence.metamodel.SingularAttribute<T,?>> attributes) |
javax.persistence.criteria.CriteriaQuery<E> |
selectTuple(List<javax.persistence.metamodel.SingularAttribute<T,?>> attributes) |
getCriteriaBuilder, getCriteriaQuery, getEntityManager, getQueryClass, getRoot, getTypedQuery, visit
getFieldTypeConverter, getPrimitiveFieldClass, getPrimitiveFieldClass, getPrimitiveFieldClass, getRealPropertyName, isWildcardStringMatch, setFieldTypeConverter, setPrimitiveFieldTypeMap, setValidator, setWildcardStringMatch, validatePropertyValue, visitor
public JPACriteriaQueryVisitor(javax.persistence.EntityManager em, Class<T> tClass, Class<E> queryClass)
public JPACriteriaQueryVisitor(javax.persistence.EntityManager em, Class<T> tClass, Class<E> queryClass, List<String> joinProps)
public JPACriteriaQueryVisitor(javax.persistence.EntityManager em, Class<T> tClass, Class<E> queryClass, Map<String,String> fieldMap)
public javax.persistence.criteria.CriteriaQuery<E> getQuery()
SearchConditionVisitor
public Long count()
public javax.persistence.TypedQuery<E> getOrderedTypedQuery(List<javax.persistence.metamodel.SingularAttribute<T,?>> attributes, boolean asc)
public javax.persistence.criteria.CriteriaQuery<E> orderBy(List<javax.persistence.metamodel.SingularAttribute<T,?>> attributes, boolean asc)
public javax.persistence.TypedQuery<E> getArrayTypedQuery(List<javax.persistence.metamodel.SingularAttribute<T,?>> attributes)
public javax.persistence.criteria.CriteriaQuery<E> selectArray(List<javax.persistence.metamodel.SingularAttribute<T,?>> attributes)
public javax.persistence.criteria.CriteriaQuery<E> selectConstruct(List<javax.persistence.metamodel.SingularAttribute<T,?>> attributes)
public javax.persistence.TypedQuery<E> getConstructTypedQuery(List<javax.persistence.metamodel.SingularAttribute<T,?>> attributes)
public javax.persistence.criteria.CriteriaQuery<E> selectTuple(List<javax.persistence.metamodel.SingularAttribute<T,?>> attributes)
Apache CXF