Package ca.uhn.fhir.jpa.dao.predicate
Class PredicateBuilderToken
java.lang.Object
ca.uhn.fhir.jpa.dao.predicate.PredicateBuilderToken
- All Implemented Interfaces:
IPredicateBuilder
@Component
@Scope("prototype")
public class PredicateBuilderToken
extends Object
implements IPredicateBuilder
-
Constructor Summary
ConstructorsConstructorDescriptionPredicateBuilderToken
(LegacySearchBuilder theSearchBuilder, PredicateBuilder thePredicateBuilder) -
Method Summary
Modifier and TypeMethodDescriptionjavax.persistence.criteria.Predicate
addPredicate
(String theResourceName, ca.uhn.fhir.context.RuntimeSearchParam theSearchParam, List<? extends ca.uhn.fhir.model.api.IQueryParameterType> theList, SearchFilterParser.CompareOperation theOperation, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId) Collection<javax.persistence.criteria.Predicate>
createPredicateToken
(Collection<ca.uhn.fhir.model.api.IQueryParameterType> theParameters, String theResourceName, ca.uhn.fhir.context.RuntimeSearchParam theSearchParam, javax.persistence.criteria.CriteriaBuilder theBuilder, javax.persistence.criteria.From<?, ResourceIndexedSearchParamToken> theFrom, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId)
-
Constructor Details
-
PredicateBuilderToken
public PredicateBuilderToken(LegacySearchBuilder theSearchBuilder, PredicateBuilder thePredicateBuilder)
-
-
Method Details
-
addPredicate
public javax.persistence.criteria.Predicate addPredicate(String theResourceName, ca.uhn.fhir.context.RuntimeSearchParam theSearchParam, List<? extends ca.uhn.fhir.model.api.IQueryParameterType> theList, SearchFilterParser.CompareOperation theOperation, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId) - Specified by:
addPredicate
in interfaceIPredicateBuilder
-
createPredicateToken
public Collection<javax.persistence.criteria.Predicate> createPredicateToken(Collection<ca.uhn.fhir.model.api.IQueryParameterType> theParameters, String theResourceName, ca.uhn.fhir.context.RuntimeSearchParam theSearchParam, javax.persistence.criteria.CriteriaBuilder theBuilder, javax.persistence.criteria.From<?, ResourceIndexedSearchParamToken> theFrom, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId) -
getPartitionSettings
-