Class QueryStack

java.lang.Object
ca.uhn.fhir.jpa.search.builder.QueryStack

public class QueryStack extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    QueryStack(SearchParameterMap theSearchParameters, ca.uhn.fhir.jpa.api.config.DaoConfig theDaoConfig, ModelConfig theModelConfig, ca.uhn.fhir.context.FhirContext theFhirContext, SearchQueryBuilder theSqlBuilder, ca.uhn.fhir.rest.server.util.ISearchParamRegistry theSearchParamRegistry, PartitionSettings thePartitionSettings)
    Constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addPredicateCompositeNonUnique(String theIndexString, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId)
     
    void
    addPredicateCompositeUnique(String theIndexString, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId)
     
    void
    addPredicateEverythingOperation(String theResourceName, Long... theTargetPids)
     
    void
    addSortOnDate(String theResourceName, String theParamName, boolean theAscending)
     
    void
    addSortOnLastUpdated(boolean theAscending)
     
    void
    addSortOnNumber(String theResourceName, String theParamName, boolean theAscending)
     
    void
    addSortOnQuantity(String theResourceName, String theParamName, boolean theAscending)
     
    void
    addSortOnResourceId(boolean theAscending)
     
    void
    addSortOnResourceLink(String theResourceName, String theParamName, boolean theAscending)
     
    void
    addSortOnString(String theResourceName, String theParamName, boolean theAscending)
     
    void
    addSortOnToken(String theResourceName, String theParamName, boolean theAscending)
     
    void
    addSortOnUri(String theResourceName, String theParamName, boolean theAscending)
     
    com.healthmarketscience.sqlbuilder.Condition
    createPredicateCoords(com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn theSourceJoinColumn, String theResourceName, ca.uhn.fhir.context.RuntimeSearchParam theSearchParam, List<? extends ca.uhn.fhir.model.api.IQueryParameterType> theList, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId)
     
    com.healthmarketscience.sqlbuilder.Condition
    createPredicateDate(com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn theSourceJoinColumn, String theResourceName, String theSpnamePrefix, 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)
     
    com.healthmarketscience.sqlbuilder.Condition
    createPredicateDate(com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn theSourceJoinColumn, String theResourceName, String theSpnamePrefix, 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, SearchQueryBuilder theSqlBuilder)
     
    com.healthmarketscience.sqlbuilder.Condition
    createPredicateNumber(com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn theSourceJoinColumn, String theResourceName, String theSpnamePrefix, 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)
     
    com.healthmarketscience.sqlbuilder.Condition
    createPredicateNumber(com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn theSourceJoinColumn, String theResourceName, String theSpnamePrefix, 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, SearchQueryBuilder theSqlBuilder)
     
    com.healthmarketscience.sqlbuilder.Condition
    createPredicateQuantity(com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn theSourceJoinColumn, String theResourceName, String theSpnamePrefix, 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)
     
    com.healthmarketscience.sqlbuilder.Condition
    createPredicateQuantity(com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn theSourceJoinColumn, String theResourceName, String theSpnamePrefix, 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, SearchQueryBuilder theSqlBuilder)
     
    com.healthmarketscience.sqlbuilder.Condition
    createPredicateReference(com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn theSourceJoinColumn, String theResourceName, String theParamName, List<String> theQualifiers, List<? extends ca.uhn.fhir.model.api.IQueryParameterType> theList, SearchFilterParser.CompareOperation theOperation, ca.uhn.fhir.rest.api.server.RequestDetails theRequest, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId)
     
    com.healthmarketscience.sqlbuilder.Condition
    createPredicateReference(com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn theSourceJoinColumn, String theResourceName, String theParamName, List<String> theQualifiers, List<? extends ca.uhn.fhir.model.api.IQueryParameterType> theList, SearchFilterParser.CompareOperation theOperation, ca.uhn.fhir.rest.api.server.RequestDetails theRequest, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, SearchQueryBuilder theSqlBuilder)
     
    com.healthmarketscience.sqlbuilder.Condition
    createPredicateReferenceForContainedResource(com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn theSourceJoinColumn, String theResourceName, ca.uhn.fhir.context.RuntimeSearchParam theSearchParam, List<? extends ca.uhn.fhir.model.api.IQueryParameterType> theList, SearchFilterParser.CompareOperation theOperation, ca.uhn.fhir.rest.api.server.RequestDetails theRequest, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId)
     
    com.healthmarketscience.sqlbuilder.Condition
    createPredicateResourceId(com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn theSourceJoinColumn, List<List<ca.uhn.fhir.model.api.IQueryParameterType>> theValues, String theResourceName, SearchFilterParser.CompareOperation theOperation, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId)
     
    com.healthmarketscience.sqlbuilder.Condition
    createPredicateString(com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn theSourceJoinColumn, String theResourceName, String theSpnamePrefix, 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)
     
    com.healthmarketscience.sqlbuilder.Condition
    createPredicateString(com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn theSourceJoinColumn, String theResourceName, String theSpnamePrefix, 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, SearchQueryBuilder theSqlBuilder)
     
    com.healthmarketscience.sqlbuilder.Condition
    createPredicateTag(com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn theSourceJoinColumn, List<List<ca.uhn.fhir.model.api.IQueryParameterType>> theList, String theParamName, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId)
     
    com.healthmarketscience.sqlbuilder.Condition
    createPredicateToken(com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn theSourceJoinColumn, String theResourceName, String theSpnamePrefix, 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)
     
    com.healthmarketscience.sqlbuilder.Condition
    createPredicateToken(com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn theSourceJoinColumn, String theResourceName, String theSpnamePrefix, 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, SearchQueryBuilder theSqlBuilder)
     
    com.healthmarketscience.sqlbuilder.Condition
    createPredicateUri(com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn theSourceJoinColumn, String theResourceName, String theSpnamePrefix, ca.uhn.fhir.context.RuntimeSearchParam theSearchParam, List<? extends ca.uhn.fhir.model.api.IQueryParameterType> theList, SearchFilterParser.CompareOperation theOperation, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId)
     
    com.healthmarketscience.sqlbuilder.Condition
    createPredicateUri(com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn theSourceJoinColumn, String theResourceName, String theSpnamePrefix, ca.uhn.fhir.context.RuntimeSearchParam theSearchParam, List<? extends ca.uhn.fhir.model.api.IQueryParameterType> theList, SearchFilterParser.CompareOperation theOperation, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, SearchQueryBuilder theSqlBuilder)
     
    static ca.uhn.fhir.rest.param.ParamPrefixEnum
     
    static String
    getParamNameWithPrefix(String theSpnamePrefix, String theParamName)
     
     
    com.healthmarketscience.sqlbuilder.Condition
    searchForIdsWithAndOr(com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn theSourceJoinColumn, String theResourceName, String theParamName, List<List<ca.uhn.fhir.model.api.IQueryParameterType>> theAndOrParams, ca.uhn.fhir.rest.api.server.RequestDetails theRequest, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, ca.uhn.fhir.rest.api.SearchContainedModeEnum theSearchContainedMode)
     
    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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • addSortOnDate

      public void addSortOnDate(String theResourceName, String theParamName, boolean theAscending)
    • addSortOnLastUpdated

      public void addSortOnLastUpdated(boolean theAscending)
    • addSortOnNumber

      public void addSortOnNumber(String theResourceName, String theParamName, boolean theAscending)
    • addSortOnQuantity

      public void addSortOnQuantity(String theResourceName, String theParamName, boolean theAscending)
    • addSortOnResourceId

      public void addSortOnResourceId(boolean theAscending)
    • addSortOnResourceLink

      public void addSortOnResourceLink(String theResourceName, String theParamName, boolean theAscending)
    • addSortOnString

      public void addSortOnString(String theResourceName, String theParamName, boolean theAscending)
    • addSortOnToken

      public void addSortOnToken(String theResourceName, String theParamName, boolean theAscending)
    • addSortOnUri

      public void addSortOnUri(String theResourceName, String theParamName, boolean theAscending)
    • createPredicateCoords

      public com.healthmarketscience.sqlbuilder.Condition createPredicateCoords(@Nullable com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn theSourceJoinColumn, String theResourceName, ca.uhn.fhir.context.RuntimeSearchParam theSearchParam, List<? extends ca.uhn.fhir.model.api.IQueryParameterType> theList, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId)
    • createPredicateDate

      public com.healthmarketscience.sqlbuilder.Condition createPredicateDate(@Nullable com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn theSourceJoinColumn, String theResourceName, String theSpnamePrefix, 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)
    • createPredicateDate

      public com.healthmarketscience.sqlbuilder.Condition createPredicateDate(@Nullable com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn theSourceJoinColumn, String theResourceName, String theSpnamePrefix, 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, SearchQueryBuilder theSqlBuilder)
    • createPredicateNumber

      public com.healthmarketscience.sqlbuilder.Condition createPredicateNumber(@Nullable com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn theSourceJoinColumn, String theResourceName, String theSpnamePrefix, 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)
    • createPredicateNumber

      public com.healthmarketscience.sqlbuilder.Condition createPredicateNumber(@Nullable com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn theSourceJoinColumn, String theResourceName, String theSpnamePrefix, 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, SearchQueryBuilder theSqlBuilder)
    • createPredicateQuantity

      public com.healthmarketscience.sqlbuilder.Condition createPredicateQuantity(@Nullable com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn theSourceJoinColumn, String theResourceName, String theSpnamePrefix, 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)
    • createPredicateQuantity

      public com.healthmarketscience.sqlbuilder.Condition createPredicateQuantity(@Nullable com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn theSourceJoinColumn, String theResourceName, String theSpnamePrefix, 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, SearchQueryBuilder theSqlBuilder)
    • createPredicateReference

      public com.healthmarketscience.sqlbuilder.Condition createPredicateReference(@Nullable com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn theSourceJoinColumn, String theResourceName, String theParamName, List<String> theQualifiers, List<? extends ca.uhn.fhir.model.api.IQueryParameterType> theList, SearchFilterParser.CompareOperation theOperation, ca.uhn.fhir.rest.api.server.RequestDetails theRequest, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId)
    • createPredicateReference

      public com.healthmarketscience.sqlbuilder.Condition createPredicateReference(@Nullable com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn theSourceJoinColumn, String theResourceName, String theParamName, List<String> theQualifiers, List<? extends ca.uhn.fhir.model.api.IQueryParameterType> theList, SearchFilterParser.CompareOperation theOperation, ca.uhn.fhir.rest.api.server.RequestDetails theRequest, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, SearchQueryBuilder theSqlBuilder)
    • createPredicateReferenceForContainedResource

      public com.healthmarketscience.sqlbuilder.Condition createPredicateReferenceForContainedResource(@Nullable com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn theSourceJoinColumn, String theResourceName, ca.uhn.fhir.context.RuntimeSearchParam theSearchParam, List<? extends ca.uhn.fhir.model.api.IQueryParameterType> theList, SearchFilterParser.CompareOperation theOperation, ca.uhn.fhir.rest.api.server.RequestDetails theRequest, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId)
    • createPredicateResourceId

      @Nullable public com.healthmarketscience.sqlbuilder.Condition createPredicateResourceId(@Nullable com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn theSourceJoinColumn, List<List<ca.uhn.fhir.model.api.IQueryParameterType>> theValues, String theResourceName, SearchFilterParser.CompareOperation theOperation, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId)
    • createPredicateString

      public com.healthmarketscience.sqlbuilder.Condition createPredicateString(@Nullable com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn theSourceJoinColumn, String theResourceName, String theSpnamePrefix, 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)
    • createPredicateString

      public com.healthmarketscience.sqlbuilder.Condition createPredicateString(@Nullable com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn theSourceJoinColumn, String theResourceName, String theSpnamePrefix, 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, SearchQueryBuilder theSqlBuilder)
    • createPredicateTag

      public com.healthmarketscience.sqlbuilder.Condition createPredicateTag(@Nullable com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn theSourceJoinColumn, List<List<ca.uhn.fhir.model.api.IQueryParameterType>> theList, String theParamName, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId)
    • createPredicateToken

      public com.healthmarketscience.sqlbuilder.Condition createPredicateToken(@Nullable com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn theSourceJoinColumn, String theResourceName, String theSpnamePrefix, 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)
    • createPredicateToken

      public com.healthmarketscience.sqlbuilder.Condition createPredicateToken(@Nullable com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn theSourceJoinColumn, String theResourceName, String theSpnamePrefix, 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, SearchQueryBuilder theSqlBuilder)
    • createPredicateUri

      public com.healthmarketscience.sqlbuilder.Condition createPredicateUri(@Nullable com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn theSourceJoinColumn, String theResourceName, String theSpnamePrefix, ca.uhn.fhir.context.RuntimeSearchParam theSearchParam, List<? extends ca.uhn.fhir.model.api.IQueryParameterType> theList, SearchFilterParser.CompareOperation theOperation, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId)
    • createPredicateUri

      public com.healthmarketscience.sqlbuilder.Condition createPredicateUri(@Nullable com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn theSourceJoinColumn, String theResourceName, String theSpnamePrefix, ca.uhn.fhir.context.RuntimeSearchParam theSearchParam, List<? extends ca.uhn.fhir.model.api.IQueryParameterType> theList, SearchFilterParser.CompareOperation theOperation, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, SearchQueryBuilder theSqlBuilder)
    • newChildQueryFactoryWithFullBuilderReuse

    • searchForIdsWithAndOr

      @Nullable public com.healthmarketscience.sqlbuilder.Condition searchForIdsWithAndOr(@Nullable com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn theSourceJoinColumn, String theResourceName, String theParamName, List<List<ca.uhn.fhir.model.api.IQueryParameterType>> theAndOrParams, ca.uhn.fhir.rest.api.server.RequestDetails theRequest, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, ca.uhn.fhir.rest.api.SearchContainedModeEnum theSearchContainedMode)
    • addPredicateCompositeUnique

      public void addPredicateCompositeUnique(String theIndexString, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId)
    • addPredicateCompositeNonUnique

      public void addPredicateCompositeNonUnique(String theIndexString, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId)
    • addPredicateEverythingOperation

      public void addPredicateEverythingOperation(String theResourceName, Long... theTargetPids)
    • 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)
    • getParamNameWithPrefix

      public static String getParamNameWithPrefix(String theSpnamePrefix, String theParamName)