
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
- See Also:
-
Field Summary
FieldsFields inherited from class ca.uhn.fhir.jpa.model.entity.BaseResourceIndexedSearchParam
myHashIdentity -
Constructor Summary
ConstructorsConstructorDescriptionResourceIndexedSearchParamString(PartitionSettings thePartitionSettings, StorageSettings theStorageSettings, String theResourceType, String theParamName, String theValueNormalized, String theValueExact) -
Method Summary
Modifier and TypeMethodDescriptionvoidstatic longcalculateHashExact(PartitionSettings thePartitionSettings, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, String theResourceType, String theParamName, String theValueExact) static longcalculateHashExact(PartitionSettings thePartitionSettings, PartitionablePartitionId theRequestPartitionId, String theResourceType, String theParamName, String theValueExact) static longcalculateHashNormalized(PartitionSettings thePartitionSettings, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, StorageSettings theStorageSettings, String theResourceType, String theParamName, String theValueNormalized) static longcalculateHashNormalized(PartitionSettings thePartitionSettings, PartitionablePartitionId theRequestPartitionId, StorageSettings theStorageSettings, String theResourceType, String theParamName, String theValueNormalized) void<T extends BaseResourceIndex>
voidcopyMutableValuesFrom(T theSource) booleanSubclasses must implementgetId()Get the Resource this SP indexesinthashCode()Subclasses must implementbooleanmatches(ca.uhn.fhir.model.api.IQueryParameterType theParam) voidsetHashExact(Long theHashExact) voidsetHashNormalizedPrefix(Long theHashNormalizedPrefix) voidsetResource(ResourceTable theResource) voidsetResourceId(Long theResourceId) setValueExact(String theValueExact) setValueNormalized(String theValueNormalized) 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:
-
HASH_PREFIX_LENGTH
- See Also:
-
HFJ_SPIDX_STRING
- 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:
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
-
getHashExact
-
setHashExact
-
getHashNormalizedPrefix
-
setHashNormalizedPrefix
-
getId
- Specified by:
getIdin classBaseResourceIndexedSearchParam
-
setId
- Specified by:
setIdin classBaseResourceIndex
-
getValueExact
-
setValueExact
-
getValueNormalized
-
setValueNormalized
-
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
-
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:BaseResourceIndexedSearchParamGet the Resource this SP indexes- Specified by:
getResourcein classBaseResourceIndexedSearchParam
-
setResource
- Specified by:
setResourcein classBaseResourceIndexedSearchParam
-