Package ca.uhn.fhir.jpa.model.entity
Class ResourceIndexedSearchParamCoords
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.ResourceIndexedSearchParamCoords
- All Implemented Interfaces:
Serializable
@Embeddable
@Entity
public class ResourceIndexedSearchParamCoords
extends BaseResourceIndexedSearchParam
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Fields inherited from class ca.uhn.fhir.jpa.model.entity.BaseResourceIndexedSearchParam
myHashIdentity
-
Constructor Summary
ConstructorDescriptionResourceIndexedSearchParamCoords
(PartitionSettings thePartitionSettings, String theResourceType, String theParamName, double theLatitude, double theLongitude) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
<T extends BaseResourceIndex>
voidcopyMutableValuesFrom
(T theSource) boolean
Subclasses must implementgetId()
Get the Resource this SP indexesint
hashCode()
Subclasses must implementvoid
setLatitude
(double theLatitude) setLongitude
(double theLongitude) 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, matches, 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:
-
myLatitude
-
myLongitude
-
-
Constructor Details
-
ResourceIndexedSearchParamCoords
public ResourceIndexedSearchParamCoords() -
ResourceIndexedSearchParamCoords
public ResourceIndexedSearchParamCoords(PartitionSettings thePartitionSettings, String theResourceType, String theParamName, double theLatitude, double theLongitude)
-
-
Method Details
-
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
-
copyMutableValuesFrom
- Overrides:
copyMutableValuesFrom
in classBaseResourceIndexedSearchParam
-
getId
- Specified by:
getId
in classBaseResourceIndexedSearchParam
-
setId
- Specified by:
setId
in classBaseResourceIndex
-
getLatitude
-
setLatitude
-
getLongitude
-
setLongitude
-
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
-
getResource
Description copied from class:BaseResourceIndexedSearchParam
Get the Resource this SP indexes- Specified by:
getResource
in classBaseResourceIndexedSearchParam
-
setResource
- Specified by:
setResource
in classBaseResourceIndexedSearchParam
-