
Package ca.uhn.fhir.jpa.model.entity
Class ResourceIndexedSearchParamDate
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.ResourceIndexedSearchParamDate
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionField which stores an integer representation of YYYYMDD as calculated by Calendar e.g. 2019-01-20 -> 20190120Fields inherited from class ca.uhn.fhir.jpa.model.entity.BaseResourceIndexedSearchParam
myHashIdentity -
Constructor Summary
ConstructorsConstructorDescriptionConstructorResourceIndexedSearchParamDate(PartitionSettings thePartitionSettings, String theResourceType, String theParamName, Date theLow, String theLowString, Date theHigh, String theHighString, String theOriginalValue) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoidstatic LongcalculateOrdinalValue(Date theDate) void<T extends BaseResourceIndex>
voidcopyMutableValuesFrom(T theSource) booleanSubclasses must implementgetId()Get the Resource this SP indexesprotected LonggetTimeFromDate(Date date) inthashCode()Subclasses must implementbooleanmatches(ca.uhn.fhir.model.api.IQueryParameterType theParam) voidsetResource(ResourceTable theResource) voidsetResourceId(Long theResourceId) setValueHigh(Date theValueHigh) setValueLow(Date theValueLow) 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
-
myValueHigh
-
myValueLow
-
myValueLowDateOrdinal
Field which stores an integer representation of YYYYMDD as calculated by Calendar e.g. 2019-01-20 -> 20190120 -
myValueHighDateOrdinal
-
-
Constructor Details
-
ResourceIndexedSearchParamDate
public ResourceIndexedSearchParamDate()Constructor -
ResourceIndexedSearchParamDate
public ResourceIndexedSearchParamDate(PartitionSettings thePartitionSettings, String theResourceType, String theParamName, Date theLow, String theLowString, Date theHigh, String theHighString, String theOriginalValue) Constructor
-
-
Method Details
-
getValueLowDateOrdinal
-
getValueHighDateOrdinal
-
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
-
getId
- Specified by:
getIdin classBaseResourceIndexedSearchParam
-
setId
- Specified by:
setIdin classBaseResourceIndex
-
getTimeFromDate
-
getValueHigh
-
setValueHigh
-
getValueLow
-
setValueLow
-
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
-
calculateOrdinalValue
-
getResource
Description copied from class:BaseResourceIndexedSearchParamGet the Resource this SP indexes- Specified by:
getResourcein classBaseResourceIndexedSearchParam
-
setResource
- Specified by:
setResourcein classBaseResourceIndexedSearchParam
-