public final class DeleteQuery
extends java.lang.Object
StorIOSQLite.
Instances of this class are immutable.
| Modifier and Type | Class and Description |
|---|---|
static class |
DeleteQuery.Builder
Builder for
DeleteQuery. |
static class |
DeleteQuery.CompleteBuilder
Compile-time safe part of builder for
DeleteQuery. |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<java.lang.String> |
affectsTags()
Gets optional immutable set of tags which will be affected by this query.
|
static DeleteQuery.Builder |
builder()
Creates new builder for
DeleteQuery. |
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
java.lang.String |
table()
Gets table name.
|
DeleteQuery.CompleteBuilder |
toBuilder()
Returns the new builder that has the same content as this query.
|
java.lang.String |
toString() |
java.lang.String |
where()
Gets
WHERE clause. |
java.util.List<java.lang.String> |
whereArgs()
Gets optional immutable list of arguments for
where() clause. |
@NonNull public java.lang.String table()
@NonNull public java.lang.String where()
WHERE clause.
Optional filter declaring which rows to return.
Formatted as an SQL WHERE clause (excluding the WHERE itself).
If empty — Query will delete all rows for the given table.
WHERE clause.@NonNull public java.util.List<java.lang.String> whereArgs()
where() clause.WHERE clause.@NonNull public java.util.Set<java.lang.String> affectsTags()
They will be used to notify observers of that tags.
@NonNull public DeleteQuery.CompleteBuilder toBuilder()
DeleteQuery.CompleteBuilder with content of this query.public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object@NonNull public static DeleteQuery.Builder builder()
DeleteQuery.DeleteQuery.Builder.