public static final class InsertQuery.CompleteBuilder
extends java.lang.Object
DeleteQuery.| Modifier and Type | Method and Description |
|---|---|
InsertQuery.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.
|
InsertQuery.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.
|
InsertQuery |
build()
Builds immutable instance of
InsertQuery. |
InsertQuery.CompleteBuilder |
nullColumnHack(java.lang.String nullColumnHack)
Optional: Specifies
NULL column hack. |
InsertQuery.CompleteBuilder |
table(java.lang.String table)
Specifies table name.
|
@NonNull public InsertQuery.CompleteBuilder table(@NonNull java.lang.String table)
table - non-null and not empty table name.InsertQuery.table()@NonNull public InsertQuery.CompleteBuilder nullColumnHack(@Nullable java.lang.String nullColumnHack)
NULL column hack.
SQL doesn't allow inserting a completely empty row without naming at least one column name. If your provided values are empty, no column names are known and an empty row can't be inserted. If not set to null, the nullColumnHack parameter provides the name of nullable column name to explicitly insert a NULL into in the case where your values is empty.
Default value is null.
nullColumnHack - optional null column hack.InsertQuery.nullColumnHack()@NonNull public InsertQuery.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 query.InsertQuery.affectsTags(),
StorIOSQLite.observeChangesOfTag(String)@NonNull public InsertQuery.CompleteBuilder affectsTags(@Nullable java.util.Collection<java.lang.String> tags)
tags - set of tags which will be affected by this query.InsertQuery.affectsTags(),
StorIOSQLite.observeChangesOfTag(String)@NonNull public InsertQuery build()
InsertQuery.InsertQuery.