public abstract class RDSPagingProvider<TYPE,UNPARSED_TYPE,REQUEST,RESULT extends com.amazonaws.AmazonWebServiceResult> extends Object implements org.mule.runtime.extension.api.runtime.streaming.PagingProvider<RDSConnection,org.mule.runtime.extension.api.runtime.operation.Result<TYPE,RequestIDAttribute>>
| Constructor and Description |
|---|
RDSPagingProvider(REQUEST request,
BiFunction<com.amazonaws.services.rds.AmazonRDS,REQUEST,RESULT> clientListFunction,
Function<RESULT,String> getMarkerFunction,
BiFunction<REQUEST,String,REQUEST> appendMarkerFunction,
Supplier<RESULT> resultConstructor,
Function<RESULT,List<UNPARSED_TYPE>> extractionFunction,
Function<UNPARSED_TYPE,TYPE> parsingFunction) |
| Modifier and Type | Method and Description |
|---|---|
void |
close(RDSConnection rdsClient) |
List<org.mule.runtime.extension.api.runtime.operation.Result<TYPE,RequestIDAttribute>> |
getPage(RDSConnection rdsClient) |
Optional<Integer> |
getTotalResults(RDSConnection rdsClient) |
public RDSPagingProvider(REQUEST request, BiFunction<com.amazonaws.services.rds.AmazonRDS,REQUEST,RESULT> clientListFunction, Function<RESULT,String> getMarkerFunction, BiFunction<REQUEST,String,REQUEST> appendMarkerFunction, Supplier<RESULT> resultConstructor, Function<RESULT,List<UNPARSED_TYPE>> extractionFunction, Function<UNPARSED_TYPE,TYPE> parsingFunction)
public List<org.mule.runtime.extension.api.runtime.operation.Result<TYPE,RequestIDAttribute>> getPage(RDSConnection rdsClient)
getPage in interface org.mule.runtime.extension.api.runtime.streaming.PagingProvider<RDSConnection,org.mule.runtime.extension.api.runtime.operation.Result<TYPE,RequestIDAttribute>>public Optional<Integer> getTotalResults(RDSConnection rdsClient)
getTotalResults in interface org.mule.runtime.extension.api.runtime.streaming.PagingProvider<RDSConnection,org.mule.runtime.extension.api.runtime.operation.Result<TYPE,RequestIDAttribute>>public void close(RDSConnection rdsClient) throws org.mule.runtime.api.exception.MuleException
close in interface org.mule.runtime.extension.api.runtime.streaming.PagingProvider<RDSConnection,org.mule.runtime.extension.api.runtime.operation.Result<TYPE,RequestIDAttribute>>org.mule.runtime.api.exception.MuleExceptionCopyright © 2019 MuleSoft, Inc.. All rights reserved.