public class AsyncPullRequest
extends AsyncClientRequest
Class represents internal implementation of Async pull request that is used to create pull
Constructor and Description |
---|
AsyncPullRequest(com.kinvey.java.store.BaseDataStore<?> store,
com.kinvey.java.Query query,
KinveyPullCallback callback)
Async pull request constructor
|
AsyncPullRequest(com.kinvey.java.store.BaseDataStore<?> store,
com.kinvey.java.Query query,
int pageSize,
KinveyPullCallback callback)
Async pull request constructor
|
AsyncPullRequest(com.kinvey.java.store.BaseDataStore<?> store,
com.kinvey.java.Query query,
boolean isAutoPagination,
KinveyPullCallback callback)
Async pull request constructor
|
Modifier and Type | Method and Description |
---|---|
com.kinvey.java.model.KinveyPullResponse |
executeAsync()
This method will be executed Asynchronously.
|
execute, executeAsync, getCallback, getKinveyCallbackHandler, notify, run, setCallback, setKinveyCallbackHandler
public AsyncPullRequest(com.kinvey.java.store.BaseDataStore<?> store, com.kinvey.java.Query query, KinveyPullCallback callback)
Async pull request constructor
query
- Query that is used to fetch data from networkstore
- Kinvey data store instance to be used to execute network requestscallback
- async callbacks to be invoked when job is donepublic AsyncPullRequest(com.kinvey.java.store.BaseDataStore<?> store, com.kinvey.java.Query query, int pageSize, KinveyPullCallback callback)
Async pull request constructor
query
- Query that is used to fetch data from networkpageSize
- Page size for auto-paginationstore
- Kinvey data store instance to be used to execute network requestscallback
- async callbacks to be invoked when job is donepublic AsyncPullRequest(com.kinvey.java.store.BaseDataStore<?> store, com.kinvey.java.Query query, boolean isAutoPagination, KinveyPullCallback callback)
Async pull request constructor
query
- Query that is used to fetch data from networkisAutoPagination
- true if auto-pagination is usedstore
- Kinvey data store instance to be used to execute network requestscallback
- async callbacks to be invoked when job is done