Package ca.uhn.fhir.interceptor.model
Class RequestPartitionId
- java.lang.Object
-
- ca.uhn.fhir.interceptor.model.RequestPartitionId
-
public class RequestPartitionId extends Object
- Since:
- 5.0.0
-
-
Method Summary
-
-
-
Method Detail
-
isAllPartitions
public boolean isAllPartitions()
-
getPartitionDate
@Nullable public LocalDate getPartitionDate()
-
getPartitionName
@Nullable public String getPartitionName()
-
getPartitionId
@Nullable public Integer getPartitionId()
-
getPartitionIdStringOrNullString
public String getPartitionIdStringOrNullString()
Returns the partition ID (numeric) as a string, or the string "null"
-
allPartitions
@Nonnull public static RequestPartitionId allPartitions()
-
defaultPartition
@Nonnull public static RequestPartitionId defaultPartition()
-
fromPartitionId
@Nonnull public static RequestPartitionId fromPartitionId(@Nullable Integer thePartitionId)
-
fromPartitionId
@Nonnull public static RequestPartitionId fromPartitionId(@Nullable Integer thePartitionId, @Nullable LocalDate thePartitionDate)
-
fromPartitionName
@Nonnull public static RequestPartitionId fromPartitionName(@Nullable String thePartitionName)
-
fromPartitionName
@Nonnull public static RequestPartitionId fromPartitionName(@Nullable String thePartitionName, @Nullable LocalDate thePartitionDate)
-
fromPartitionIdAndName
@Nonnull public static RequestPartitionId fromPartitionIdAndName(@Nullable Integer thePartitionId, @Nullable String thePartitionName)
-
forPartitionIdAndName
@Nonnull public static RequestPartitionId forPartitionIdAndName(@Nullable Integer thePartitionId, @Nullable String thePartitionName, @Nullable LocalDate thePartitionDate)
-
stringifyForKey
public static String stringifyForKey(RequestPartitionId theRequestPartitionId)
Create a string representation suitable for use as a cache key. Null aware.
-
-