public class PreparedPutCollectionOfObjects<T> extends PreparedPut<PutResults<T>>
| Modifier and Type | Class and Description |
|---|---|
static class |
PreparedPutCollectionOfObjects.Builder<T>
Builder for
PreparedPutCollectionOfObjects |
storIOSQLite| Modifier and Type | Method and Description |
|---|---|
rx.Completable |
asRxCompletable()
Creates
Completable which will perform Put Operation lazily when somebody subscribes to it. |
rx.Observable<PutResults<T>> |
asRxObservable()
Creates
Observable which will perform Put Operation and send result to observer. |
rx.Single<PutResults<T>> |
asRxSingle()
Creates
Single which will perform Put Operation lazily when somebody subscribes to it and send result to observer. |
rx.Observable<PutResults<T>> |
createObservable()
Deprecated.
(will be removed in 2.0) please use
asRxObservable(). |
PutResults<T> |
executeAsBlocking()
Executes Put Operation immediately in current thread.
|
@WorkerThread @NonNull public PutResults<T> executeAsBlocking()
Notice: This is blocking I/O operation that should not be executed on the Main Thread,
it can cause ANR (Activity Not Responding dialog), block the UI and drop animations frames.
So please, call this method on some background thread. See WorkerThread.
@NonNull @CheckResult public rx.Observable<PutResults<T>> createObservable()
asRxObservable().Observable which will perform Put Operation and send result to observer.
Returned Observable will be "Cold Observable", which means that it performs
put only after subscribing to it. Also, it emits the result once.
StorIOSQLite.defaultScheduler() if not null.Observable which will perform Put Operation.
and send result to observer.@NonNull public rx.Observable<PutResults<T>> asRxObservable()
Observable which will perform Put Operation and send result to observer.
Returned Observable will be "Cold Observable", which means that it performs
put only after subscribing to it. Also, it emits the result once.
StorIOSQLite.defaultScheduler() if not null.Observable which will perform Put Operation.
and send result to observer.@NonNull @CheckResult public rx.Single<PutResults<T>> asRxSingle()
Single which will perform Put Operation lazily when somebody subscribes to it and send result to observer.
StorIOSQLite.defaultScheduler() if not null.Single which will perform Put Operation.
And send result to observer.@NonNull @CheckResult public rx.Completable asRxCompletable()
Completable which will perform Put Operation lazily when somebody subscribes to it.
StorIOSQLite.defaultScheduler() if not null.Completable which will perform Put Operation.