Package ca.uhn.fhir.jpa.model.entity
Class ResourceIndexedSearchParamString
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.ResourceIndexedSearchParamString
- All Implemented Interfaces:
Serializable
@Embeddable
@Entity
public class ResourceIndexedSearchParamString
extends BaseResourceIndexedSearchParam
- See Also:
-
Field Summary
Fields inherited from class ca.uhn.fhir.jpa.model.entity.BaseResourceIndexedSearchParam
myHashIdentity
-
Constructor Summary
ConstructorDescriptionResourceIndexedSearchParamString
(PartitionSettings thePartitionSettings, StorageSettings theStorageSettings, String theResourceType, String theParamName, String theValueNormalized, String theValueExact) -
Method Summary
Modifier and TypeMethodDescriptionvoid
static long
calculateHashExact
(PartitionSettings thePartitionSettings, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, String theResourceType, String theParamName, String theValueExact) static long
calculateHashExact
(PartitionSettings thePartitionSettings, PartitionablePartitionId theRequestPartitionId, String theResourceType, String theParamName, String theValueExact) static long
calculateHashNormalized
(PartitionSettings thePartitionSettings, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, StorageSettings theStorageSettings, String theResourceType, String theParamName, String theValueNormalized) static long
calculateHashNormalized
(PartitionSettings thePartitionSettings, PartitionablePartitionId theRequestPartitionId, StorageSettings theStorageSettings, String theResourceType, String theParamName, String theValueNormalized) void
<T extends BaseResourceIndex>
voidcopyMutableValuesFrom
(T theSource) boolean
Subclasses must implementgetId()
Get the Resource this SP indexesint
hashCode()
Subclasses must implementboolean
matches
(ca.uhn.fhir.model.api.IQueryParameterType theParam) void
setHashExact
(Long theHashExact) void
setHashNormalizedPrefix
(Long theHashNormalizedPrefix) void
setResource
(ResourceTable theResource) setValueExact
(String theValueExact) setValueNormalized
(String theValueNormalized) 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:
-
HASH_PREFIX_LENGTH
- See Also:
-
-
Constructor Details
-
ResourceIndexedSearchParamString
public ResourceIndexedSearchParamString() -
ResourceIndexedSearchParamString
public ResourceIndexedSearchParamString(PartitionSettings thePartitionSettings, StorageSettings theStorageSettings, String theResourceType, String theParamName, String theValueNormalized, String theValueExact)
-
-
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
-
getHashExact
-
setHashExact
-
getHashNormalizedPrefix
-
setHashNormalizedPrefix
-
getId
- Specified by:
getId
in classBaseResourceIndexedSearchParam
-
setId
- Specified by:
setId
in classBaseResourceIndex
-
getValueExact
-
setValueExact
-
getValueNormalized
-
setValueNormalized
-
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
-
calculateHashExact
public static long calculateHashExact(PartitionSettings thePartitionSettings, PartitionablePartitionId theRequestPartitionId, String theResourceType, String theParamName, String theValueExact) -
calculateHashExact
public static long calculateHashExact(PartitionSettings thePartitionSettings, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, String theResourceType, String theParamName, String theValueExact) -
calculateHashNormalized
public static long calculateHashNormalized(PartitionSettings thePartitionSettings, PartitionablePartitionId theRequestPartitionId, StorageSettings theStorageSettings, String theResourceType, String theParamName, String theValueNormalized) -
calculateHashNormalized
public static long calculateHashNormalized(PartitionSettings thePartitionSettings, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, StorageSettings theStorageSettings, String theResourceType, String theParamName, String theValueNormalized) -
getResource
Description copied from class:BaseResourceIndexedSearchParam
Get the Resource this SP indexes- Specified by:
getResource
in classBaseResourceIndexedSearchParam
-
setResource
- Specified by:
setResource
in classBaseResourceIndexedSearchParam
-