
Package ca.uhn.fhir.jpa.model.entity
Class ResourceIndexedSearchParamUri
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.ResourceIndexedSearchParamUri
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
FieldsFields inherited from class ca.uhn.fhir.jpa.model.entity.BaseResourceIndexedSearchParam
myHashIdentity -
Constructor Summary
ConstructorsConstructorDescriptionConstructorResourceIndexedSearchParamUri(PartitionSettings thePartitionSettings, String theResourceType, String theParamName, String theUri) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoidstatic longcalculateHashUri(PartitionSettings thePartitionSettings, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, String theResourceType, String theParamName, String theUri) static longcalculateHashUri(PartitionSettings thePartitionSettings, PartitionablePartitionId theRequestPartitionId, String theResourceType, String theParamName, String theUri) void<T extends BaseResourceIndex>
voidcopyMutableValuesFrom(T theSource) booleanSubclasses must implementgetId()Get the Resource this SP indexesgetUri()inthashCode()Subclasses must implementbooleanmatches(ca.uhn.fhir.model.api.IQueryParameterType theParam) voidsetHashUri(Long theHashUri) voidsetResource(ResourceTable theResource) voidsetResourceId(Long theResourceId) ca.uhn.fhir.model.api.IQueryParameterTypetoString()Methods inherited from class ca.uhn.fhir.jpa.model.entity.BaseResourceIndexedSearchParam
calculateHashIdentity, calculateHashIdentity, calculateHashIdentity, getHashIdentity, getParamName, getPartitionSettings, getResourcePid, getResourceType, getStorageSettings, getUpdated, isIndexStorageOptimized, isMissing, optimizeIndexStorage, restoreParamName, setHashIdentity, setMissing, setParamName, setPartitionSettings, setResourceType, setStorageSettings, setUpdatedMethods inherited from class ca.uhn.fhir.jpa.model.entity.BaseResourceIndex
setPartitionId, setPlaceholderHashesIfMissingMethods inherited from class ca.uhn.fhir.jpa.model.entity.BasePartitionable
getPartitionId
-
Field Details
-
MAX_LENGTH
- See Also:
-
myUri
-
-
Constructor Details
-
ResourceIndexedSearchParamUri
public ResourceIndexedSearchParamUri()Constructor -
ResourceIndexedSearchParamUri
public ResourceIndexedSearchParamUri(PartitionSettings thePartitionSettings, String theResourceType, String theParamName, String theUri) Constructor
-
-
Method Details
-
copyMutableValuesFrom
- Overrides:
copyMutableValuesFromin classBaseResourceIndexedSearchParam
-
setResourceId
- Specified by:
setResourceIdin classBaseResourceIndex
-
clearHashes
- Specified by:
clearHashesin classBaseResourceIndex
-
calculateHashes
- Specified by:
calculateHashesin classBaseResourceIndex
-
equals
Description copied from class:BaseResourceIndexSubclasses must implement- Specified by:
equalsin classBaseResourceIndex
-
getHashUri
-
setHashUri
-
getId
- Specified by:
getIdin classBaseResourceIndexedSearchParam
-
setId
- Specified by:
setIdin classBaseResourceIndex
-
getUri
-
setUri
-
hashCode
Description copied from class:BaseResourceIndexSubclasses must implement- Specified by:
hashCodein classBaseResourceIndex
-
toQueryParameterType
- Specified by:
toQueryParameterTypein classBaseResourceIndexedSearchParam
-
toString
- Overrides:
toStringin classBasePartitionable
-
matches
- Overrides:
matchesin classBaseResourceIndexedSearchParam
-
calculateHashUri
public static long calculateHashUri(PartitionSettings thePartitionSettings, PartitionablePartitionId theRequestPartitionId, String theResourceType, String theParamName, String theUri) -
calculateHashUri
public static long calculateHashUri(PartitionSettings thePartitionSettings, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, String theResourceType, String theParamName, String theUri) -
getResource
Description copied from class:BaseResourceIndexedSearchParamGet the Resource this SP indexes- Specified by:
getResourcein classBaseResourceIndexedSearchParam
-
setResource
- Specified by:
setResourcein classBaseResourceIndexedSearchParam
-