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
@Embeddable
@Entity
public class ResourceIndexedSearchParamUri
extends BaseResourceIndexedSearchParam
- See Also:
-
Field Summary
Fields inherited from class ca.uhn.fhir.jpa.model.entity.BaseResourceIndexedSearchParam
myHashIdentity
-
Constructor Summary
ConstructorDescriptionConstructorResourceIndexedSearchParamUri
(PartitionSettings thePartitionSettings, String theResourceType, String theParamName, String theUri) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoid
static long
calculateHashUri
(PartitionSettings thePartitionSettings, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, String theResourceType, String theParamName, String theUri) static long
calculateHashUri
(PartitionSettings thePartitionSettings, PartitionablePartitionId theRequestPartitionId, String theResourceType, String theParamName, String theUri) void
<T extends BaseResourceIndex>
voidcopyMutableValuesFrom
(T theSource) boolean
Subclasses must implementgetId()
Get the Resource this SP indexesgetUri()
int
hashCode()
Subclasses must implementboolean
matches
(ca.uhn.fhir.model.api.IQueryParameterType theParam) void
setHashUri
(Long theHashUri) void
setResource
(ResourceTable theResource) ca.uhn.fhir.model.api.IQueryParameterType
toString()
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, setUpdated
Methods inherited from class ca.uhn.fhir.jpa.model.entity.BaseResourceIndex
setPartitionId, setPlaceholderHashesIfMissing
Methods 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:
copyMutableValuesFrom
in classBaseResourceIndexedSearchParam
-
clearHashes
- Specified by:
clearHashes
in classBaseResourceIndex
-
calculateHashes
- Specified by:
calculateHashes
in classBaseResourceIndex
-
equals
Description copied from class:BaseResourceIndex
Subclasses must implement- Specified by:
equals
in classBaseResourceIndex
-
getHashUri
-
setHashUri
-
getId
- Specified by:
getId
in classBaseResourceIndexedSearchParam
-
setId
- Specified by:
setId
in classBaseResourceIndex
-
getUri
-
setUri
-
hashCode
Description copied from class:BaseResourceIndex
Subclasses must implement- Specified by:
hashCode
in classBaseResourceIndex
-
toQueryParameterType
- Specified by:
toQueryParameterType
in classBaseResourceIndexedSearchParam
-
toString
- Overrides:
toString
in classBasePartitionable
-
matches
- Overrides:
matches
in 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:BaseResourceIndexedSearchParam
Get the Resource this SP indexes- Specified by:
getResource
in classBaseResourceIndexedSearchParam
-
setResource
- Specified by:
setResource
in classBaseResourceIndexedSearchParam
-