public interface IBundleProvider
| Modifier and Type | Method and Description |
|---|---|
IPrimitiveType<Date> |
getPublished()
Returns the instant as of which this result was valid
|
List<IBaseResource> |
getResources(int theFromIndex,
int theToIndex)
Load the given collection of resources by index, plus any additional resources per the
server's processing rules (e.g.
|
String |
getUuid()
Returns the UUID associated with this search.
|
Integer |
preferredPageSize()
Optionally may be used to signal a preferred page size to the server, e.g.
|
Integer |
size()
Returns the total number of results which match the given query (exclusive of any
_include's or OperationOutcome).
|
List<IBaseResource> getResources(int theFromIndex, int theToIndex)
theFromIndex - The low index (inclusive) to returntheToIndex - The high index (exclusive) to returntheToIndex - theFromIndex.Integer preferredPageSize()
nullInteger size()
IPrimitiveType<Date> getPublished()
String getUuid()
IPagingProvider is being used that requires UUIDs
being returned.
In other words, if you are using the default FifoMemoryPagingProvider in
your server, it is fine for this method to simply return null since FifoMemoryPagingProvider
does not use the value anyhow. On the other hand, if you are creating a custom
[@code IPagingProvider} implementation you might use this method to communicate
the search ID back to the provider.
Copyright © 2014–2017 University Health Network. All rights reserved.