public static final class UpdateQuery.CompleteBuilder
extends java.lang.Object
DeleteQuery.| Modifier and Type | Method and Description |
|---|---|
UpdateQuery.CompleteBuilder |
affectsTags(java.util.Collection<java.lang.String> tags)
Optional: Specifies set of notification tags to provide detailed information
about which particular change were occurred.
|
UpdateQuery.CompleteBuilder |
affectsTags(java.lang.String tag,
java.lang.String... tags)
Optional: Specifies set of notification tags to provide detailed information
about which particular change were occurred.
|
UpdateQuery |
build()
Builds immutable instance of
UpdateQuery. |
UpdateQuery.CompleteBuilder |
table(java.lang.String table)
Specifies table name.
|
UpdateQuery.CompleteBuilder |
where(java.lang.String where)
Optional: Specifies
WHERE clause. |
<T> UpdateQuery.CompleteBuilder |
whereArgs(T... whereArgs)
Optional: Specifies arguments for
WHERE clause. |
@NonNull public UpdateQuery.CompleteBuilder table(@NonNull java.lang.String table)
table - non-null and not empty table name.UpdateQuery.table()@NonNull public UpdateQuery.CompleteBuilder where(@Nullable java.lang.String where)
WHERE clause.
Optional filter declaring which rows to return.
Formatted as an SQL WHERE clause (excluding the WHERE itself).
Passing null will UPDATE all rows for the given table.
Default value is null.
where - WHERE clause.UpdateQuery.where()@NonNull public <T> UpdateQuery.CompleteBuilder whereArgs(@Nullable T... whereArgs)
WHERE clause.
Passed objects will be immediately converted
to list of String via calling Object.toString().
Default value is null.
whereArgs - list of arguments for WHERE clause.UpdateQuery.whereArgs()@NonNull public UpdateQuery.CompleteBuilder affectsTags(@NonNull java.lang.String tag, @Nullable java.lang.String... tags)
tag - the first required tag which will be affected by this query.tags - optional set of tags which will be affected by this queryUpdateQuery.affectsTags(),
StorIOSQLite.observeChangesOfTag(String)@NonNull public UpdateQuery.CompleteBuilder affectsTags(@Nullable java.util.Collection<java.lang.String> tags)
tags - set of tags which will be affected by this query.UpdateQuery.affectsTags(),
StorIOSQLite.observeChangesOfTag(String)@NonNull public UpdateQuery build()
UpdateQuery.UpdateQuery.