void appendConcatenatedCompilables(List<? extends CompilableWithArguments> compilables, String separator, boolean forSqlValidation) { if (compilables != null && !compilables.isEmpty()) { boolean needSeparator = false; for (CompilableWithArguments compilable : compilables) { if (needSeparator) { sql.append(separator); } needSeparator = true; compilable.appendToSqlBuilder(this, forSqlValidation); } } }
@Deprecated protected final SqlBuilder buildSql(VersionCode sqliteVersion, boolean withBoundArguments, boolean forSqlValidation) { return buildSql(CompileContext.defaultContextForVersionCode(sqliteVersion), withBoundArguments, forSqlValidation); }
@Override public String toString() { return toRawSql(CompileContext.defaultContextForVersionCode(VERSION_FOR_TO_STRING)); }
public final String toRawSql(CompileContext compileContext) { return buildSql(compileContext, false, false).getSqlString(); }
protected final SqlBuilder buildSql(CompileContext compileContext, boolean withBoundArguments, boolean forSqlValidation) { SqlBuilder builder = new SqlBuilder(compileContext, withBoundArguments); appendToSqlBuilder(builder, forSqlValidation); return builder; }
@Override public String toString() { return toRawSql(CompileContext.defaultContextForVersionCode(VERSION_FOR_TO_STRING)); }
@Deprecated public final String toRawSql(VersionCode sqliteVersion) { return buildSql(CompileContext.defaultContextForVersionCode(sqliteVersion), false, false).getSqlString(); }
sql.append(")"); } else if (value instanceof CompilableWithArguments) { ((CompilableWithArguments) value).appendToSqlBuilder(this, forSqlValidation); } else if (value instanceof Collection<?>) { addCollectionArg((Collection<?>) value);
@Deprecated protected final SqlBuilder buildSql(VersionCode sqliteVersion, boolean withBoundArguments, boolean forSqlValidation) { return buildSql(CompileContext.defaultContextForVersionCode(sqliteVersion), withBoundArguments, forSqlValidation); }
void appendConcatenatedCompilables(List<? extends CompilableWithArguments> compilables, String separator, boolean forSqlValidation) { if (compilables != null && !compilables.isEmpty()) { boolean needSeparator = false; for (CompilableWithArguments compilable : compilables) { if (needSeparator) { sql.append(separator); } needSeparator = true; compilable.appendToSqlBuilder(this, forSqlValidation); } } }
public final String toRawSql(CompileContext compileContext) { return buildSql(compileContext, false, false).getSqlString(); }
protected final SqlBuilder buildSql(CompileContext compileContext, boolean withBoundArguments, boolean forSqlValidation) { SqlBuilder builder = new SqlBuilder(compileContext, withBoundArguments); appendToSqlBuilder(builder, forSqlValidation); return builder; }
@Deprecated public final String toRawSql(VersionCode sqliteVersion) { return buildSql(CompileContext.defaultContextForVersionCode(sqliteVersion), false, false).getSqlString(); }
sql.append(")"); } else if (value instanceof CompilableWithArguments) { ((CompilableWithArguments) value).appendToSqlBuilder(this, forSqlValidation); } else if (value instanceof Collection<?>) { addCollectionArg((Collection<?>) value);