Package com.ibm.fhir.cql.helpers
Class FHIRBundleCursor
- java.lang.Object
-
- com.ibm.fhir.cql.helpers.FHIRBundleCursor
-
- All Implemented Interfaces:
java.lang.Iterable<java.lang.Object>
public class FHIRBundleCursor extends java.lang.Object implements java.lang.Iterable<java.lang.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 java.util.Iterator<java.lang.Object>
iterator()
-
-
-
Constructor Detail
-
FHIRBundleCursor
public FHIRBundleCursor(FHIRBundleCursor.PageLoader pageLoader, Bundle results)
-
-