public CompiledStatement compile(CompileContext compileContext) { // Android's argument binding doesn't handle trigger statements, so we settle for a sanitized sql statement. return new CompiledStatement(toRawSql(compileContext), EMPTY_ARGS, false); }
public CompiledStatement resolveToCompiledStatement() { String cacheKey = hasCollectionArgs() ? getCacheKey() : null; int totalArgSize = calculateArgsSizeWithCollectionArgs(); boolean largeArgMode = totalArgSize > SqlStatement.MAX_VARIABLE_NUMBER; return new CompiledStatement(resolveSqlString(cacheKey, largeArgMode), resolveSqlArguments(cacheKey, totalArgSize, largeArgMode), needsValidation); }
public CompiledStatement compile(CompileContext compileContext) { // Android's argument binding doesn't handle trigger statements, so we settle for a sanitized sql statement. return new CompiledStatement(toRawSql(compileContext), EMPTY_ARGS, false); }
public CompiledStatement resolveToCompiledStatement() { String cacheKey = hasCollectionArgs() ? getCacheKey() : null; int totalArgSize = calculateArgsSizeWithCollectionArgs(); boolean largeArgMode = totalArgSize > SqlStatement.MAX_VARIABLE_NUMBER; return new CompiledStatement(resolveSqlString(cacheKey, largeArgMode), resolveSqlArguments(cacheKey, totalArgSize, largeArgMode), needsValidation); }