
Package ca.uhn.fhir.jpa.util
Class QueryParameterUtils
java.lang.Object
ca.uhn.fhir.jpa.util.QueryParameterUtils
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final com.healthmarketscience.sqlbuilder.Condition[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ca.uhn.fhir.rest.param.ParamPrefixEnumfromOperation(SearchFilterParser.CompareOperation thePrefix) static StringgetChainedPart(String parameter) static StringgetParamNameWithPrefix(String theSpnamePrefix, String theParamName) static voidpopulateSearchEntity(SearchParameterMap theParams, String theResourceType, String theSearchUuid, String theQueryString, Search theSearch, RequestPartitionId theRequestPartitionId) static com.healthmarketscience.sqlbuilder.ConditiontoAndPredicate(com.healthmarketscience.sqlbuilder.Condition... theAndPredicates) static com.healthmarketscience.sqlbuilder.ConditiontoAndPredicate(List<com.healthmarketscience.sqlbuilder.Condition> theAndPredicates) static com.healthmarketscience.sqlbuilder.ConditiontoEqualToOrInPredicate(com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn theColumn, List<String> theValuePlaceholders) static com.healthmarketscience.sqlbuilder.ConditiontoEqualToOrInPredicate(com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn theColumn, List<String> theValuePlaceholders, boolean theInverse) static com.healthmarketscience.sqlbuilder.ConditiontoInPredicate(ColumnTupleObject theColumns, JpaPidValueTuples theValues, boolean theInverse) static com.healthmarketscience.sqlbuilder.ConditiontoNotEqualToOrNotInPredicate(com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn theColumn, List<String> theValuePlaceholders) toOperation(ca.uhn.fhir.rest.param.ParamPrefixEnum thePrefix) static com.healthmarketscience.sqlbuilder.ConditiontoOrPredicate(com.healthmarketscience.sqlbuilder.Condition... theOrPredicates) static com.healthmarketscience.sqlbuilder.ConditiontoOrPredicate(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) -
toInPredicate
@Nonnull public static com.healthmarketscience.sqlbuilder.Condition toInPredicate(ColumnTupleObject theColumns, JpaPidValueTuples theValues, boolean theInverse) -
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)
-