Class ResourceIdPredicateBuilder

java.lang.Object
ca.uhn.fhir.jpa.search.builder.predicate.BasePredicateBuilder
ca.uhn.fhir.jpa.search.builder.predicate.ResourceIdPredicateBuilder

  • Constructor Details

  • Method Details

    • createPredicateResourceId

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

      @Nullable public static com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn getResourceIdColumn(@Nullable com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn[] theJoinColumns)
      This method takes 1-2 columns and returns the last one. This is useful where the input is an array of join columns for SQL Search expressions. In partition key mode, there are 2 columns (partition id and resource id). In non partition key mode, only the resource id column is used.