public final class DeleteResult
extends java.lang.Object
Instances of this class are Immutable.
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<java.lang.String> |
affectedTables()
Gets names of the tables that wer affected by Delete Operation.
|
java.util.Set<java.lang.String> |
affectedTags()
Gets notification tags which were affected by Delete Operation.
|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
static DeleteResult |
newInstance(int numberOfRowsDeleted,
java.util.Set<java.lang.String> affectedTables,
java.util.Collection<java.lang.String> affectedTags)
Creates new instance of immutable container for results of Delete Operation.
|
static DeleteResult |
newInstance(int numberOfRowsDeleted,
java.util.Set<java.lang.String> affectedTables,
java.lang.String... affectedTags)
Creates new instance of immutable container for results of Delete Operation.
|
static DeleteResult |
newInstance(int numberOfRowsDeleted,
java.lang.String affectedTable,
java.util.Collection<java.lang.String> affectedTags)
Creates new instance of immutable container for results of Delete Operation.
|
static DeleteResult |
newInstance(int numberOfRowsDeleted,
java.lang.String affectedTable,
java.lang.String... affectedTags)
Creates new instance of immutable container for results of Delete Operation.
|
int |
numberOfRowsDeleted()
Gets number of rows that were deleted.
|
java.lang.String |
toString() |
@NonNull public static DeleteResult newInstance(int numberOfRowsDeleted, @NonNull java.util.Set<java.lang.String> affectedTables, @Nullable java.util.Collection<java.lang.String> affectedTags)
numberOfRowsDeleted - number of rows that were deleted.affectedTables - tables that were affected.affectedTags - notification tags that were affected.@NonNull public static DeleteResult newInstance(int numberOfRowsDeleted, @NonNull java.util.Set<java.lang.String> affectedTables, @Nullable java.lang.String... affectedTags)
numberOfRowsDeleted - number of rows that were deleted.affectedTables - tables that were affected.affectedTags - notification tags that were affected.@NonNull public static DeleteResult newInstance(int numberOfRowsDeleted, @NonNull java.lang.String affectedTable, @Nullable java.util.Collection<java.lang.String> affectedTags)
numberOfRowsDeleted - number of rows that were deleted.affectedTable - table that was affected.affectedTags - notification tags that were affected.@NonNull public static DeleteResult newInstance(int numberOfRowsDeleted, @NonNull java.lang.String affectedTable, @Nullable java.lang.String... affectedTags)
numberOfRowsDeleted - number of rows that were deleted.affectedTable - table that was affected.affectedTags - notification tags that were affected.public int numberOfRowsDeleted()
@NonNull public java.util.Set<java.lang.String> affectedTables()
@NonNull public java.util.Set<java.lang.String> affectedTags()
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