Class ResourceIdPredicateBuilder
java.lang.Object
ca.uhn.fhir.jpa.search.builder.predicate.BasePredicateBuilder
ca.uhn.fhir.jpa.search.builder.predicate.ResourceIdPredicateBuilder
-
Constructor Summary
ConstructorDescriptionResourceIdPredicateBuilder
(SearchQueryBuilder theSearchSqlBuilder) Constructor -
Method Summary
Modifier and TypeMethodDescriptioncom.healthmarketscience.sqlbuilder.Condition
createPredicateResourceId
(com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn[] theSourceJoinColumn, String theResourceName, List<List<ca.uhn.fhir.model.api.IQueryParameterType>> theValues, SearchFilterParser.CompareOperation theOperation, RequestPartitionId theRequestPartitionId) static com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn
getResourceIdColumn
(com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn[] theJoinColumns) This method takes 1-2 columns and returns the last one.Methods inherited from class ca.uhn.fhir.jpa.search.builder.predicate.BasePredicateBuilder
addJoin, createConditionForValueWithComparator, getFhirContext, getOrCreateQueryRootTable, getSearchQueryBuilder, setMatchNothing
-
Constructor Details
-
ResourceIdPredicateBuilder
Constructor
-
-
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.
-