Class FhirSearchParameter<T>
java.lang.Object
org.apache.beam.sdk.io.gcp.healthcare.FhirSearchParameter<T>
FhirSearchParameter represents the query parameters for a FHIR search request, used as a
parameter for
FhirIO.Search
.-
Method Summary
Modifier and TypeMethodDescriptionboolean
getKey()
int
hashCode()
static <T> FhirSearchParameter
<T> Creates a FhirSearchParameter of type T.static <T> FhirSearchParameter
<T> Creates a FhirSearchParameter of type T, without a key.toString()
-
Method Details
-
of
public static <T> FhirSearchParameter<T> of(String resourceType, @Nullable String key, @Nullable Map<String, T> queries) Creates a FhirSearchParameter of type T.- Type Parameters:
T
- The type of the search query value.- Parameters:
resourceType
- the FHIR resource type.key
- Key for the search query to key the results with.queries
- The search query.- Returns:
- The FhirSearchParameter of type T.
-
of
Creates a FhirSearchParameter of type T, without a key.- Type Parameters:
T
- The type of the search query value.- Parameters:
resourceType
- the FHIR resource type.queries
- The search query.- Returns:
- The FhirSearchParameter of type T.
-
getResourceType
-
getKey
-
getQueries
-
equals
-
hashCode
public int hashCode() -
toString
-