Package ca.uhn.fhir.jpa.util
Class QueryParameterUtils
java.lang.Object
ca.uhn.fhir.jpa.util.QueryParameterUtils
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final com.healthmarketscience.sqlbuilder.Condition[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ca.uhn.fhir.rest.param.ParamPrefixEnum
fromOperation
(SearchFilterParser.CompareOperation thePrefix) static String
getChainedPart
(String parameter) static String
getParamNameWithPrefix
(String theSpnamePrefix, String theParamName) static void
populateSearchEntity
(SearchParameterMap theParams, String theResourceType, String theSearchUuid, String theQueryString, Search theSearch, RequestPartitionId theRequestPartitionId) static com.healthmarketscience.sqlbuilder.Condition
toAndPredicate
(com.healthmarketscience.sqlbuilder.Condition... theAndPredicates) static com.healthmarketscience.sqlbuilder.Condition
toAndPredicate
(List<com.healthmarketscience.sqlbuilder.Condition> theAndPredicates) static com.healthmarketscience.sqlbuilder.Condition
toEqualToOrInPredicate
(com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn theColumn, List<String> theValuePlaceholders) static com.healthmarketscience.sqlbuilder.Condition
toEqualToOrInPredicate
(com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn theColumn, List<String> theValuePlaceholders, boolean theInverse) static com.healthmarketscience.sqlbuilder.Condition
toNotEqualToOrNotInPredicate
(com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn theColumn, List<String> theValuePlaceholders) toOperation
(ca.uhn.fhir.rest.param.ParamPrefixEnum thePrefix) static com.healthmarketscience.sqlbuilder.Condition
toOrPredicate
(com.healthmarketscience.sqlbuilder.Condition... theOrPredicates) static com.healthmarketscience.sqlbuilder.Condition
toOrPredicate
(List<com.healthmarketscience.sqlbuilder.Condition> theOrPredicates) static jakarta.persistence.criteria.Predicate[]
toPredicateArray
(List<jakarta.persistence.criteria.Predicate> thePredicates) static void
-
Field Details
-
DEFAULT_SYNC_SIZE
- See Also:
-
EMPTY_CONDITION_ARRAY
-
-
Constructor Details
-
QueryParameterUtils
public QueryParameterUtils()
-
-
Method Details
-
toAndPredicate
@Nullable public static com.healthmarketscience.sqlbuilder.Condition toAndPredicate(List<com.healthmarketscience.sqlbuilder.Condition> theAndPredicates) -
toOrPredicate
@Nullable public static com.healthmarketscience.sqlbuilder.Condition toOrPredicate(List<com.healthmarketscience.sqlbuilder.Condition> theOrPredicates) -
toOrPredicate
@Nullable public static com.healthmarketscience.sqlbuilder.Condition toOrPredicate(com.healthmarketscience.sqlbuilder.Condition... theOrPredicates) -
toAndPredicate
@Nullable public static com.healthmarketscience.sqlbuilder.Condition toAndPredicate(com.healthmarketscience.sqlbuilder.Condition... theAndPredicates) -
toEqualToOrInPredicate
@Nonnull public static com.healthmarketscience.sqlbuilder.Condition toEqualToOrInPredicate(com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn theColumn, List<String> theValuePlaceholders, boolean theInverse) -
toEqualToOrInPredicate
@Nonnull public static com.healthmarketscience.sqlbuilder.Condition toEqualToOrInPredicate(com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn theColumn, List<String> theValuePlaceholders) -
toNotEqualToOrNotInPredicate
@Nonnull public static com.healthmarketscience.sqlbuilder.Condition toNotEqualToOrNotInPredicate(com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn theColumn, List<String> theValuePlaceholders) -
toOperation
public static SearchFilterParser.CompareOperation toOperation(ca.uhn.fhir.rest.param.ParamPrefixEnum thePrefix) -
fromOperation
public static ca.uhn.fhir.rest.param.ParamPrefixEnum fromOperation(SearchFilterParser.CompareOperation thePrefix) -
getChainedPart
-
getParamNameWithPrefix
-
toPredicateArray
public static jakarta.persistence.criteria.Predicate[] toPredicateArray(List<jakarta.persistence.criteria.Predicate> thePredicates) -
verifySearchHasntFailedOrThrowInternalErrorException
-
populateSearchEntity
public static void populateSearchEntity(SearchParameterMap theParams, String theResourceType, String theSearchUuid, String theQueryString, Search theSearch, RequestPartitionId theRequestPartitionId)
-