Class BaseSearchParamPredicateBuilder
java.lang.Object
ca.uhn.fhir.jpa.search.builder.predicate.BasePredicateBuilder
ca.uhn.fhir.jpa.search.builder.predicate.BaseJoiningPredicateBuilder
ca.uhn.fhir.jpa.search.builder.predicate.BaseSearchParamPredicateBuilder
- All Implemented Interfaces:
ICanMakeMissingParamPredicate
- Direct Known Subclasses:
BaseQuantityPredicateBuilder
,ComboNonUniqueSearchParameterPredicateBuilder
,ComboUniqueSearchParameterPredicateBuilder
,CoordsPredicateBuilder
,DatePredicateBuilder
,NumberPredicateBuilder
,StringPredicateBuilder
,TokenPredicateBuilder
,UriPredicateBuilder
public abstract class BaseSearchParamPredicateBuilder
extends BaseJoiningPredicateBuilder
implements ICanMakeMissingParamPredicate
-
Constructor Summary
ConstructorDescriptionBaseSearchParamPredicateBuilder
(SearchQueryBuilder theSearchSqlBuilder, com.healthmarketscience.sqlbuilder.dbspec.basic.DbTable theTable) -
Method Summary
Modifier and TypeMethodDescriptioncom.healthmarketscience.sqlbuilder.Condition
combineWithHashIdentityPredicate
(String theResourceName, String theParamName, com.healthmarketscience.sqlbuilder.Condition thePredicate) com.healthmarketscience.sqlbuilder.Condition
createHashIdentityPredicate
(String theResourceType, String theParamName) com.healthmarketscience.sqlbuilder.Condition
createPredicateParamMissingForNonReference
(String theResourceName, String theParamName, Boolean theMissing, RequestPartitionId theRequestPartitionId) com.healthmarketscience.sqlbuilder.Condition
Creates the condition for searching for a missing field for a given SearchParameter type.com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn
com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn
com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn
com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn
com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn
Methods inherited from class ca.uhn.fhir.jpa.search.builder.predicate.BaseJoiningPredicateBuilder
combineWithRequestPartitionIdPredicate, createPartitionIdPredicate, createPredicateResourceIds, getTable, replaceDefaultPartitionIdIfNonNull
Methods inherited from class ca.uhn.fhir.jpa.search.builder.predicate.BasePredicateBuilder
addJoin, createConditionForValueWithComparator, getFhirContext, getOrCreateQueryRootTable, setMatchNothing
-
Constructor Details
-
BaseSearchParamPredicateBuilder
public BaseSearchParamPredicateBuilder(SearchQueryBuilder theSearchSqlBuilder, com.healthmarketscience.sqlbuilder.dbspec.basic.DbTable theTable)
-
-
Method Details
-
getColumnHashIdentity
-
getResourceTypeColumn
-
getColumnParamName
-
getMissingColumn
-
getResourceIdColumn
- Specified by:
getResourceIdColumn
in classBaseJoiningPredicateBuilder
-
combineWithHashIdentityPredicate
public com.healthmarketscience.sqlbuilder.Condition combineWithHashIdentityPredicate(String theResourceName, String theParamName, com.healthmarketscience.sqlbuilder.Condition thePredicate) -
createHashIdentityPredicate
@Nonnull public com.healthmarketscience.sqlbuilder.Condition createHashIdentityPredicate(String theResourceType, String theParamName) -
createPredicateParamMissingForNonReference
public com.healthmarketscience.sqlbuilder.Condition createPredicateParamMissingForNonReference(String theResourceName, String theParamName, Boolean theMissing, RequestPartitionId theRequestPartitionId) -
createPredicateParamMissingValue
public com.healthmarketscience.sqlbuilder.Condition createPredicateParamMissingValue(MissingQueryParameterPredicateParams theParams) Description copied from interface:ICanMakeMissingParamPredicate
Creates the condition for searching for a missing field for a given SearchParameter type. Only use ifStorageSettings.getIndexMissingFields()
is disabled- Specified by:
createPredicateParamMissingValue
in interfaceICanMakeMissingParamPredicate
-