
Uses of Class
ca.uhn.fhir.jpa.model.config.PartitionSettings
Packages that use PartitionSettings
Package
Description
-
Uses of PartitionSettings in ca.uhn.fhir.jpa.model.config
Methods in ca.uhn.fhir.jpa.model.config that return PartitionSettingsModifier and TypeMethodDescriptionPartitionSettings.setAllowReferencesAcrossPartitions(PartitionSettings.CrossPartitionReferenceMode theAllowReferencesAcrossPartitions) Should resources references be permitted to cross partition boundaries.PartitionSettings.setAlwaysOpenNewTransactionForDifferentPartition(boolean theAlwaysOpenNewTransactionForDifferentPartition) Should we always open a new database transaction if the partition context changesPartitionSettings.setConditionalCreateDuplicateIdentifiersEnabled(boolean theConditionalCreateDuplicateIdentifiersEnabled) TheResourceSearchUrlEntitytable is used to prevent accidental concurrent conditional create/update operations from creating duplicate resources by inserting a row in that table as a part of the database transaction performing the write operation.PartitionSettings.setDatabasePartitionMode(boolean theDatabasePartitionMode) This flag activates partition IDs in PKs mode, which is newly introduced in HAPI FHIR 8.0.0.PartitionSettings.setDefaultPartitionId(Integer theDefaultPartitionId) If set, the given ID will be used for the default partition.PartitionSettings.setIncludePartitionInSearchHashes(boolean theIncludePartitionInSearchHashes) If set totrue(default isfalse) thePARTITION_IDvalue will be factored into the hash values used in theHFJ_SPIDX_xxxtables, removing the need to explicitly add a selector on this column in queries.PartitionSettings.setPartitioningEnabled(boolean thePartitioningEnabled) If enabled (default isfalse) the JPA server will support data partitioningPartitionSettings.setUnnamedPartitionMode(boolean theUnnamedPartitionMode) If set totrue(default isfalse), partitions will be unnamed and all IDs fromInteger.MIN_VALUEthroughInteger.MAX_VALUEwill be allowed without needing to be created ahead of time. -
Uses of PartitionSettings in ca.uhn.fhir.jpa.model.entity
Methods in ca.uhn.fhir.jpa.model.entity that return PartitionSettingsModifier and TypeMethodDescriptionBaseResourceIndexedSearchParam.getPartitionSettings()ResourceIndexedComboTokenNonUnique.getPartitionSettings()SearchParamPresentEntity.getPartitionSettings()Methods in ca.uhn.fhir.jpa.model.entity with parameters of type PartitionSettingsModifier and TypeMethodDescriptionstatic longResourceIndexedComboTokenNonUnique.calculateHashComplete(PartitionSettings partitionSettings, PartitionablePartitionId thePartitionId, String queryString) static longResourceIndexedSearchParamString.calculateHashExact(PartitionSettings thePartitionSettings, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, String theResourceType, String theParamName, String theValueExact) static longResourceIndexedSearchParamString.calculateHashExact(PartitionSettings thePartitionSettings, PartitionablePartitionId theRequestPartitionId, String theResourceType, String theParamName, String theValueExact) static longBaseResourceIndexedSearchParam.calculateHashIdentity(PartitionSettings thePartitionSettings, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, String theResourceType, String theParamName) static longBaseResourceIndexedSearchParam.calculateHashIdentity(PartitionSettings thePartitionSettings, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, String theResourceType, String theParamName, List<String> theAdditionalValues) static longBaseResourceIndexedSearchParam.calculateHashIdentity(PartitionSettings thePartitionSettings, PartitionablePartitionId theRequestPartitionId, String theResourceType, String theParamName) static longResourceIndexedSearchParamString.calculateHashNormalized(PartitionSettings thePartitionSettings, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, StorageSettings theStorageSettings, String theResourceType, String theParamName, String theValueNormalized) static longResourceIndexedSearchParamString.calculateHashNormalized(PartitionSettings thePartitionSettings, PartitionablePartitionId theRequestPartitionId, StorageSettings theStorageSettings, String theResourceType, String theParamName, String theValueNormalized) static longSearchParamPresentEntity.calculateHashPresence(PartitionSettings thePartitionSettings, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, String theResourceType, String theParamName, Boolean thePresent) static longSearchParamPresentEntity.calculateHashPresence(PartitionSettings thePartitionSettings, PartitionablePartitionId theRequestPartitionId, String theResourceType, String theParamName, Boolean thePresent) static longResourceIndexedSearchParamToken.calculateHashSystem(PartitionSettings thePartitionSettings, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, String theResourceType, String theParamName, String theSystem) static longResourceIndexedSearchParamToken.calculateHashSystem(PartitionSettings thePartitionSettings, PartitionablePartitionId theRequestPartitionId, String theResourceType, String theParamName, String theSystem) static longBaseResourceIndexedSearchParamQuantity.calculateHashSystemAndUnits(PartitionSettings thePartitionSettings, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, String theResourceType, String theParamName, String theSystem, String theUnits) static longBaseResourceIndexedSearchParamQuantity.calculateHashSystemAndUnits(PartitionSettings thePartitionSettings, PartitionablePartitionId theRequestPartitionId, String theResourceType, String theParamName, String theSystem, String theUnits) static longResourceIndexedSearchParamToken.calculateHashSystemAndValue(PartitionSettings thePartitionSettings, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, String theResourceType, String theParamName, String theSystem, String theValue) static longResourceIndexedSearchParamToken.calculateHashSystemAndValue(PartitionSettings thePartitionSettings, PartitionablePartitionId theRequestPartitionId, String theResourceType, String theParamName, String theSystem, String theValue) static longBaseResourceIndexedSearchParamQuantity.calculateHashUnits(PartitionSettings thePartitionSettings, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, String theResourceType, String theParamName, String theUnits) static longBaseResourceIndexedSearchParamQuantity.calculateHashUnits(PartitionSettings thePartitionSettings, PartitionablePartitionId theRequestPartitionId, String theResourceType, String theParamName, String theUnits) static longResourceIndexedSearchParamUri.calculateHashUri(PartitionSettings thePartitionSettings, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, String theResourceType, String theParamName, String theUri) static longResourceIndexedSearchParamUri.calculateHashUri(PartitionSettings thePartitionSettings, PartitionablePartitionId theRequestPartitionId, String theResourceType, String theParamName, String theUri) static longResourceIndexedSearchParamToken.calculateHashValue(PartitionSettings thePartitionSettings, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, String theResourceType, String theParamName, String theValue) static longResourceIndexedSearchParamToken.calculateHashValue(PartitionSettings thePartitionSettings, PartitionablePartitionId theRequestPartitionId, String theResourceType, String theParamName, String theValue) BaseResourceIndexedSearchParam.setPartitionSettings(PartitionSettings thePartitionSettings) voidResourceIndexedComboTokenNonUnique.setPartitionSettings(PartitionSettings thePartitionSettings) voidSearchParamPresentEntity.setPartitionSettings(PartitionSettings thePartitionSettings) static PartitionablePartitionIdPartitionablePartitionId.toStoragePartition(ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, PartitionSettings thePartitionSettings) Constructors in ca.uhn.fhir.jpa.model.entity with parameters of type PartitionSettingsModifierConstructorDescriptionResourceIndexedComboTokenNonUnique(PartitionSettings thePartitionSettings, ResourceTable theEntity, String theQueryString) ResourceIndexedSearchParamCoords(PartitionSettings thePartitionSettings, String theResourceType, String theParamName, double theLatitude, double theLongitude) ResourceIndexedSearchParamDate(PartitionSettings thePartitionSettings, String theResourceType, String theParamName, Date theLow, String theLowString, Date theHigh, String theHighString, String theOriginalValue) ConstructorResourceIndexedSearchParamNumber(PartitionSettings thePartitionSettings, String theResourceType, String theParamName, BigDecimal theValue) ResourceIndexedSearchParamQuantity(PartitionSettings thePartitionSettings, String theResourceType, String theParamName, BigDecimal theValue, String theSystem, String theUnits) ResourceIndexedSearchParamQuantityNormalized(PartitionSettings thePartitionSettings, String theResourceType, String theParamName, double theValue, String theSystem, String theUnits) ResourceIndexedSearchParamString(PartitionSettings thePartitionSettings, StorageSettings theStorageSettings, String theResourceType, String theParamName, String theValueNormalized, String theValueExact) ResourceIndexedSearchParamToken(PartitionSettings thePartitionSettings, String theResourceType, String theParamName, boolean theMissing) ConstructorResourceIndexedSearchParamToken(PartitionSettings thePartitionSettings, String theResourceType, String theParamName, String theSystem, String theValue) ConstructorResourceIndexedSearchParamUri(PartitionSettings thePartitionSettings, String theResourceType, String theParamName, String theUri) Constructor -
Uses of PartitionSettings in ca.uhn.fhir.jpa.model.util
Methods in ca.uhn.fhir.jpa.model.util with parameters of type PartitionSettingsModifier and TypeMethodDescriptionstatic longSearchParamHash.hashSearchParam(PartitionSettings thePartitionSettings, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, String... theValues) Applies a fast and consistent hashing algorithm to a set of strings