public class QueryInterpreter extends Object
Constructor and Description |
---|
QueryInterpreter(SqlRepositoryConfiguration repoConfiguration) |
Modifier and Type | Method and Description |
---|---|
<T extends ObjectFilter> |
findAndCreateRestriction(T filter,
QueryContext context,
Restriction parent) |
<T> Matcher<T> |
findMatcher(Class<T> type) |
<T> Matcher<T> |
findMatcher(T value) |
SqlRepositoryConfiguration |
getRepoConfiguration() |
org.hibernate.Criteria |
interpret(ObjectQuery query,
Class<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> type,
Collection<SelectorOptions<GetOperationOptions>> options,
PrismContext prismContext,
boolean countingObjects,
org.hibernate.Session session) |
org.hibernate.criterion.Criterion |
interpretFilter(ObjectFilter filter,
QueryContext context,
Restriction parent) |
<T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> |
updatePagingAndSorting(org.hibernate.Criteria query,
Class<T> type,
ObjectPaging paging) |
protected org.hibernate.Criteria |
updatePagingAndSortingByOid(org.hibernate.Criteria criteria,
ObjectQuery query) |
public QueryInterpreter(SqlRepositoryConfiguration repoConfiguration)
public SqlRepositoryConfiguration getRepoConfiguration()
public org.hibernate.Criteria interpret(ObjectQuery query, Class<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> type, Collection<SelectorOptions<GetOperationOptions>> options, PrismContext prismContext, boolean countingObjects, org.hibernate.Session session) throws QueryException
QueryException
public org.hibernate.criterion.Criterion interpretFilter(ObjectFilter filter, QueryContext context, Restriction parent) throws QueryException
QueryException
public <T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> org.hibernate.Criteria updatePagingAndSorting(org.hibernate.Criteria query, Class<T> type, ObjectPaging paging)
protected org.hibernate.Criteria updatePagingAndSortingByOid(org.hibernate.Criteria criteria, ObjectQuery query)
public <T> Matcher<T> findMatcher(T value)
public <T extends ObjectFilter> Restriction findAndCreateRestriction(T filter, QueryContext context, Restriction parent) throws QueryException
QueryException
Copyright © 2016 evolveum. All rights reserved.