Package com.ibm.fhir.cql.helpers
Class FHIRBundleCursor
- java.lang.Object
-
- com.ibm.fhir.cql.helpers.FHIRBundleCursor
-
public class FHIRBundleCursor extends Object implements Iterable<Object>
Helper class for iterating through the resources contained in a Bundle resource and all subsequent Bundle resources as indicated by the "next" links. This supports a pluggable data retriever mechanism so that consumers are free to resolve the next page links in whatever way is suitable for their execution environment. The FHIRBundleCursor is initialized from a default Bundle (aka page1) and continues from that point forward.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
FHIRBundleCursor.PageLoader
-
Constructor Summary
Constructors Constructor Description FHIRBundleCursor(FHIRBundleCursor.PageLoader pageLoader, Bundle results)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterator<Object>
iterator()
-
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-