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
@Embeddable
@Entity
public class ResourceIndexedSearchParamDate
extends BaseResourceIndexedSearchParam
- See Also:
- Serialized Form
-
Field Summary
FieldsModifier and TypeFieldDescriptionField which stores an integer representation of YYYYMDD as calculated by Calendar e.g. -
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()protected LonggetTimeFromDate(Date date)inthashCode()Subclasses must implementbooleanmatches(ca.uhn.fhir.model.api.IQueryParameterType theParam)voidsetHashIdentity(Long theHashIdentity)voidsetValueHigh(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, getModelConfig, getParamName, getPartitionSettings, getResource, getResourcePid, getResourceType, getUpdated, isMissing, setMissing, setModelConfig, setParamName, setPartitionSettings, setResource, setResourceType, setUpdatedMethods inherited from class ca.uhn.fhir.jpa.model.entity.BaseResourceIndex
setPartitionIdMethods 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
-
clearHashes
- Specified by:
clearHashesin classBaseResourceIndex
-
calculateHashes
- Specified by:
calculateHashesin classBaseResourceIndex
-
equals
Description copied from class:BaseResourceIndexSubclasses must implement- Specified by:
equalsin classBaseResourceIndex
-
setHashIdentity
-
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
-
matches
- Overrides:
matchesin classBaseResourceIndexedSearchParam
-
calculateOrdinalValue
-