
Package ca.uhn.fhir.jpa.model.entity
Class ResourceIndexedComboTokenNonUnique
java.lang.Object
ca.uhn.fhir.jpa.model.entity.BasePartitionable
ca.uhn.fhir.jpa.model.entity.BaseResourceIndex
ca.uhn.fhir.jpa.model.entity.ResourceIndexedComboTokenNonUnique
- All Implemented Interfaces:
IResourceIndexComboSearchParameter
,Serializable
,Comparable<ResourceIndexedComboTokenNonUnique>
@Entity
public class ResourceIndexedComboTokenNonUnique
extends BaseResourceIndex
implements Comparable<ResourceIndexedComboTokenNonUnique>, IResourceIndexComboSearchParameter
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructorResourceIndexedComboTokenNonUnique
(PartitionSettings thePartitionSettings, ResourceTable theEntity, String theQueryString) -
Method Summary
Modifier and TypeMethodDescriptionstatic long
calculateHashComplete
(PartitionSettings partitionSettings, ca.uhn.fhir.interceptor.model.RequestPartitionId partitionId, String queryString) static long
calculateHashComplete
(PartitionSettings partitionSettings, PartitionablePartitionId thePartitionId, String queryString) void
void
int
<T extends BaseResourceIndex>
voidcopyMutableValuesFrom
(T theSource) boolean
Subclasses must implementgetId()
org.hl7.fhir.instance.model.api.IIdType
Note: This field is not persisted, so it will only be populated for new indexesint
hashCode()
Subclasses must implementvoid
setHashComplete
(Long theHashComplete) void
void
setIndexString
(String theIndexString) void
setPartitionSettings
(PartitionSettings thePartitionSettings) void
setResource
(ResourceTable theResource) void
setSearchParameterId
(org.hl7.fhir.instance.model.api.IIdType theSearchParameterId) Note: This field is not persisted, so it will only be populated for new indexestoString()
Methods inherited from class ca.uhn.fhir.jpa.model.entity.BaseResourceIndex
setPartitionId
Methods inherited from class ca.uhn.fhir.jpa.model.entity.BasePartitionable
getPartitionId
-
Constructor Details
-
ResourceIndexedComboTokenNonUnique
public ResourceIndexedComboTokenNonUnique()Constructor -
ResourceIndexedComboTokenNonUnique
public ResourceIndexedComboTokenNonUnique(PartitionSettings thePartitionSettings, ResourceTable theEntity, String theQueryString)
-
-
Method Details
-
getIndexString
- Specified by:
getIndexString
in interfaceIResourceIndexComboSearchParameter
-
setIndexString
-
equals
Description copied from class:BaseResourceIndex
Subclasses must implement- Specified by:
equals
in classBaseResourceIndex
-
copyMutableValuesFrom
- Specified by:
copyMutableValuesFrom
in classBaseResourceIndex
-
getId
- Specified by:
getId
in classBaseResourceIndex
-
setId
- Specified by:
setId
in classBaseResourceIndex
-
clearHashes
- Specified by:
clearHashes
in classBaseResourceIndex
-
calculateHashes
- Specified by:
calculateHashes
in classBaseResourceIndex
-
hashCode
Description copied from class:BaseResourceIndex
Subclasses must implement- Specified by:
hashCode
in classBaseResourceIndex
-
getPartitionSettings
-
setPartitionSettings
-
getResource
- Specified by:
getResource
in interfaceIResourceIndexComboSearchParameter
-
setResource
- Specified by:
setResource
in interfaceIResourceIndexComboSearchParameter
-
getHashComplete
-
setHashComplete
-
compareTo
- Specified by:
compareTo
in interfaceComparable<ResourceIndexedComboTokenNonUnique>
-
toString
- Overrides:
toString
in classBasePartitionable
-
calculateHashComplete
public static long calculateHashComplete(PartitionSettings partitionSettings, PartitionablePartitionId thePartitionId, String queryString) -
calculateHashComplete
public static long calculateHashComplete(PartitionSettings partitionSettings, ca.uhn.fhir.interceptor.model.RequestPartitionId partitionId, String queryString) -
setSearchParameterId
Note: This field is not persisted, so it will only be populated for new indexes- Specified by:
setSearchParameterId
in interfaceIResourceIndexComboSearchParameter
-
getSearchParameterId
Note: This field is not persisted, so it will only be populated for new indexes- Specified by:
getSearchParameterId
in interfaceIResourceIndexComboSearchParameter
-