public class QuerydslQueryFactory extends JpaQueryFactoryBase implements JpaQueryFactory
computedAttrs, em, metaLookup| Modifier and Type | Method and Description |
|---|---|
void |
addInterceptor(QuerydslTranslationInterceptor interceptor) |
static QuerydslQueryFactory |
newInstance() |
<T> QuerydslQuery<T> |
query(Class<?> entityClass,
String attrName,
List<?> entityIds)
Builds a new query for the given attribute.
|
<T> QuerydslQuery<T> |
query(Class<T> entityClass)
Builds a new query for the given entity class.
|
void |
registerComputedAttribute(Class<?> targetClass,
String attributeName,
Type attributeType,
QuerydslExpressionFactory<?> expressionFactory) |
getComputedAttributes, getEntityManager, initalizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetComputedAttributes, initalizepublic static QuerydslQueryFactory newInstance()
public void addInterceptor(QuerydslTranslationInterceptor interceptor)
public <T> QuerydslQuery<T> query(Class<T> entityClass)
JpaQueryFactoryquery in interface JpaQueryFactoryT - entityentityClass - to querypublic <T> QuerydslQuery<T> query(Class<?> entityClass, String attrName, List<?> entityIds)
JpaQueryFactoryquery in interface JpaQueryFactoryT - parent entityentityClass - to fetch children fromattrName - on parent entityentityIds - to retrieve the children frompublic void registerComputedAttribute(Class<?> targetClass, String attributeName, Type attributeType, QuerydslExpressionFactory<?> expressionFactory)
Copyright © 2017. All Rights Reserved.