public class PreparedDeleteByQuery extends PreparedDelete<DeleteResult>
StorIOSQLite.| Modifier and Type | Class and Description |
|---|---|
static class |
PreparedDeleteByQuery.Builder
Builder for
PreparedDeleteByQuery. |
storIOSQLite| Modifier and Type | Method and Description |
|---|---|
rx.Completable |
asRxCompletable()
Creates
Completable which will perform Delete Operation lazily when somebody subscribes to it. |
rx.Observable<DeleteResult> |
asRxObservable()
Creates
Observable which will perform Delete Operation and send result to observer. |
rx.Single<DeleteResult> |
asRxSingle()
Creates
Single which will perform Delete Operation lazily when somebody subscribes to it and send result to observer. |
rx.Observable<DeleteResult> |
createObservable()
Deprecated.
(will be removed in 2.0) please use
asRxObservable(). |
DeleteResult |
executeAsBlocking()
Executes Delete Operation immediately in current thread.
|
@WorkerThread @NonNull public DeleteResult 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<DeleteResult> createObservable()
asRxObservable().Observable which will perform Delete Operation and send result to observer.
Returned Observable will be "Cold Observable", which means that it performs
delete only after subscribing to it. Also, it emits the result once.
StorIOSQLite.defaultScheduler() if not null.Observable which will perform Delete Operation.
and send result to observer.@NonNull public rx.Observable<DeleteResult> asRxObservable()
Observable which will perform Delete Operation and send result to observer.
Returned Observable will be "Cold Observable", which means that it performs
delete only after subscribing to it. Also, it emits the result once.
StorIOSQLite.defaultScheduler() if not null.Observable which will perform Delete Operation.
and send result to observer.@NonNull @CheckResult public rx.Single<DeleteResult> asRxSingle()
Single which will perform Delete Operation lazily when somebody subscribes to it and send result to observer.
StorIOSQLite.defaultScheduler() if not null.Single which will perform Delete Operation.
And send result to observer.@NonNull @CheckResult public rx.Completable asRxCompletable()
Completable which will perform Delete Operation lazily when somebody subscribes to it.
StorIOSQLite.defaultScheduler() if not null.Completable which will perform Delete Operation.