Package ca.uhn.fhir.jpa.model.entity
Class ResourceIndexedSearchParamToken
java.lang.Object
ca.uhn.fhir.jpa.model.entity.BasePartitionable
ca.uhn.fhir.jpa.model.entity.BaseResourceIndex
ca.uhn.fhir.jpa.model.entity.BaseResourceIndexedSearchParam
ca.uhn.fhir.jpa.model.entity.ResourceIndexedSearchParamToken
- All Implemented Interfaces:
Serializable
@Embeddable
@Entity
public class ResourceIndexedSearchParamToken
extends BaseResourceIndexedSearchParam
- See Also:
- Serialized Form
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructorResourceIndexedSearchParamToken(PartitionSettings thePartitionSettings, String theResourceType, String theParamName, String theSystem, String theValue)Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoidstatic longcalculateHashSystem(PartitionSettings thePartitionSettings, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, String theResourceType, String theParamName, String theSystem)static longcalculateHashSystem(PartitionSettings thePartitionSettings, PartitionablePartitionId theRequestPartitionId, String theResourceType, String theParamName, String theSystem)static longcalculateHashSystemAndValue(PartitionSettings thePartitionSettings, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, String theResourceType, String theParamName, String theSystem, String theValue)static longcalculateHashSystemAndValue(PartitionSettings thePartitionSettings, PartitionablePartitionId theRequestPartitionId, String theResourceType, String theParamName, String theSystem, String theValue)static longcalculateHashValue(PartitionSettings thePartitionSettings, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, String theResourceType, String theParamName, String theValue)static longcalculateHashValue(PartitionSettings thePartitionSettings, PartitionablePartitionId theRequestPartitionId, String theResourceType, String theParamName, String theValue)void<T extends BaseResourceIndex>
voidcopyMutableValuesFrom(T theSource)booleanSubclasses must implementgetId()getValue()inthashCode()Subclasses must implementbooleanmatches(ca.uhn.fhir.model.api.IQueryParameterType theParam)voidvoidca.uhn.fhir.model.api.IQueryParameterTypetoString()Methods inherited from class ca.uhn.fhir.jpa.model.entity.BaseResourceIndexedSearchParam
calculateHashIdentity, calculateHashIdentity, calculateHashIdentity, getModelConfig, getParamName, getPartitionSettings, getResource, getResourcePid, getResourceType, getUpdated, isMissing, setMissing, setModelConfig, setParamName, setPartitionSettings, setResource, setResourceType, setUpdatedMethods inherited from class ca.uhn.fhir.jpa.model.entity.BaseResourceIndex
setPartitionIdMethods inherited from class ca.uhn.fhir.jpa.model.entity.BasePartitionable
getPartitionId
-
Field Details
-
MAX_LENGTH
- See Also:
- Constant Field Values
-
mySystem
-
-
Constructor Details
-
ResourceIndexedSearchParamToken
public ResourceIndexedSearchParamToken()Constructor -
ResourceIndexedSearchParamToken
public ResourceIndexedSearchParamToken(PartitionSettings thePartitionSettings, String theResourceType, String theParamName, String theSystem, String theValue)Constructor
-
-
Method Details
-
copyMutableValuesFrom
- Overrides:
copyMutableValuesFromin classBaseResourceIndexedSearchParam
-
clearHashes
- Specified by:
clearHashesin classBaseResourceIndex
-
calculateHashes
- Specified by:
calculateHashesin classBaseResourceIndex
-
equals
Description copied from class:BaseResourceIndexSubclasses must implement- Specified by:
equalsin classBaseResourceIndex
-
getHashSystem
-
getHashSystemAndValue
-
getHashValue
-
getId
- Specified by:
getIdin classBaseResourceIndexedSearchParam
-
setId
- Specified by:
setIdin classBaseResourceIndex
-
getSystem
-
setSystem
-
getValue
-
setValue
-
hashCode
Description copied from class:BaseResourceIndexSubclasses must implement- Specified by:
hashCodein classBaseResourceIndex
-
toQueryParameterType
- Specified by:
toQueryParameterTypein classBaseResourceIndexedSearchParam
-
toString
-
matches
- Overrides:
matchesin classBaseResourceIndexedSearchParam
-
calculateHashSystem
public static long calculateHashSystem(PartitionSettings thePartitionSettings, PartitionablePartitionId theRequestPartitionId, String theResourceType, String theParamName, String theSystem) -
calculateHashSystem
public static long calculateHashSystem(PartitionSettings thePartitionSettings, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, String theResourceType, String theParamName, String theSystem) -
calculateHashSystemAndValue
public static long calculateHashSystemAndValue(PartitionSettings thePartitionSettings, PartitionablePartitionId theRequestPartitionId, String theResourceType, String theParamName, String theSystem, String theValue) -
calculateHashSystemAndValue
public static long calculateHashSystemAndValue(PartitionSettings thePartitionSettings, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, String theResourceType, String theParamName, String theSystem, String theValue) -
calculateHashValue
public static long calculateHashValue(PartitionSettings thePartitionSettings, PartitionablePartitionId theRequestPartitionId, String theResourceType, String theParamName, String theValue) -
calculateHashValue
public static long calculateHashValue(PartitionSettings thePartitionSettings, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, String theResourceType, String theParamName, String theValue)
-