| Modifier and Type | Field and Description |
|---|---|
| private final Function | |
| private final Function | |
| private final Function | |
| private final Supplier | |
| private final Function |
| Access | Constructor and Description |
|---|---|
| public | ResponseRecordIterable(final Supplier<REQUESTBUILDER>
a supplier which can called to produce a builder object for
requests requestBuilderSupplier, final Function<RESPONSE, String> a function which can extract the next page token from a
response produced by a list operation nextPageTokenRetrievalFunction, final Function<RequestBuilderAndToken<REQUESTBUILDER>, REQUEST> a function which can build a request for a list operation based
on a builder object and a pagination token to use requestBuilderFunction, final Function<REQUEST, RESPONSE> a function which will call a list operation with a request and
return the response of the call pageRetrievalFunction, final Function<RESPONSE, List<ITEMTYPE>> retrieveItemsFromResponseFunction)Creates a new iterable. |
| Modifier and Type | Method and Description |
|---|---|
| public Iterator |
| nextPageTokenRetrievalFunction | back to summary |
|---|---|
| private final Function<RESPONSE, String> nextPageTokenRetrievalFunction | |
| pageRetrievalFunction | back to summary |
|---|---|
| private final Function<REQUEST, RESPONSE> pageRetrievalFunction | |
| requestBuilderFunction | back to summary |
|---|---|
| private final Function<RequestBuilderAndToken<REQUESTBUILDER>, REQUEST> requestBuilderFunction | |
| requestBuilderSupplier | back to summary |
|---|---|
| private final Supplier<REQUESTBUILDER> requestBuilderSupplier | |
| retrieveItemsFromResponseFunction | back to summary |
|---|---|
| private final Function<RESPONSE, List<ITEMTYPE>> retrieveItemsFromResponseFunction | |
| ResponseRecordIterable | back to summary |
|---|---|
| public ResponseRecordIterable(final Supplier<REQUESTBUILDER> requestBuilderSupplier, final Function<RESPONSE, String> nextPageTokenRetrievalFunction, final Function<RequestBuilderAndToken<REQUESTBUILDER>, REQUEST> requestBuilderFunction, final Function<REQUEST, RESPONSE> pageRetrievalFunction, final Function<RESPONSE, List<ITEMTYPE>> retrieveItemsFromResponseFunction) Creates a new iterable.
| |
| iterator | back to summary |
|---|---|
| public Iterator Implements java. Doc from java. Returns an iterator over elements of type | |