Class HttpHealthcareApiClient.FhirResourcePagesIterator
java.lang.Object
org.apache.beam.sdk.io.gcp.healthcare.HttpHealthcareApiClient.FhirResourcePagesIterator
- Enclosing class:
HttpHealthcareApiClient
public static class HttpHealthcareApiClient.FhirResourcePagesIterator
extends Object
implements Iterator<JsonArray>
The type FhirResourcePagesIterator for methods which return paged output.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
-
Constructor Summary
ConstructorsConstructorDescriptionFhirResourcePagesIterator
(HttpHealthcareApiClient.FhirResourcePagesIterator.FhirMethod fhirMethod, HealthcareApiClient client, String fhirStore, String resourceType, String resourceName, @Nullable Map<String, Object> parameters) -
Method Summary
Modifier and TypeMethodDescriptionboolean
hasNext()
next()
ofPatientEverything
(HealthcareApiClient client, String resourceName, @Nullable Map<String, Object> parameters) Instantiates a new GetPatientEverything FHIR resource pages iterator.ofSearch
(HealthcareApiClient client, String fhirStore, String resourceType, @Nullable Map<String, Object> parameters) Instantiates a new search FHIR resource pages iterator.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Constructor Details
-
FhirResourcePagesIterator
public FhirResourcePagesIterator(HttpHealthcareApiClient.FhirResourcePagesIterator.FhirMethod fhirMethod, HealthcareApiClient client, String fhirStore, String resourceType, String resourceName, @Nullable Map<String, Object> parameters)
-
-
Method Details
-
ofSearch
public static HttpHealthcareApiClient.FhirResourcePagesIterator ofSearch(HealthcareApiClient client, String fhirStore, String resourceType, @Nullable Map<String, Object> parameters) Instantiates a new search FHIR resource pages iterator.- Parameters:
client
- the clientfhirStore
- the Fhir storeresourceType
- the Fhir resource type to search forparameters
- the query parameters
-
ofPatientEverything
public static HttpHealthcareApiClient.FhirResourcePagesIterator ofPatientEverything(HealthcareApiClient client, String resourceName, @Nullable Map<String, Object> parameters) Instantiates a new GetPatientEverything FHIR resource pages iterator.- Parameters:
client
- the clientresourceName
- the FHIR resource nameparameters
- the filter parameters
-
hasNext
- Specified by:
hasNext
in interfaceIterator<JsonArray>
- Throws:
NoSuchElementException
-
next
- Specified by:
next
in interfaceIterator<JsonArray>
- Throws:
NoSuchElementException
-