Lines Matching full:sql
164 * Execute an SQL statement and invoke callback methods
171 * @param sql the SQL statement to be executed
175 public void exec(String sql, SQLite.Callback cb) throws SQLite.Exception { in exec() argument
177 _exec(sql, cb); in exec()
181 private native void _exec(String sql, SQLite.Callback cb) in _exec() argument
185 * Execute an SQL statement and invoke callback methods
202 * @param sql the SQL statement to be executed
204 * @param args arguments for the SQL statement, '%q' substitution
207 public void exec(String sql, SQLite.Callback cb, in exec() argument
210 _exec(sql, cb, args); in exec()
214 private native void _exec(String sql, SQLite.Callback cb, String args[]) in _exec() argument
288 * @param sql the SQL statement to be executed
293 public TableResult get_table(String sql, int maxrows) in get_table() argument
298 exec(sql, ret); in get_table()
307 Vm vm = compile(sql); in get_table()
328 * @param sql the SQL statement to be executed
332 public TableResult get_table(String sql) throws SQLite.Exception { in get_table() argument
333 return get_table(sql, 0); in get_table()
340 * @param sql the SQL statement to be executed
342 * @param args arguments for the SQL statement, '%q' substitution
346 public TableResult get_table(String sql, int maxrows, String args[]) in get_table() argument
351 exec(sql, ret, args); in get_table()
360 Vm vm = compile(sql, args); in get_table()
381 * @param sql the SQL statement to be executed
382 * @param args arguments for the SQL statement, '%q' substitution
386 public TableResult get_table(String sql, String args[]) in get_table() argument
388 return get_table(sql, 0, args); in get_table()
395 * @param sql the SQL statement to be executed
396 * @param args arguments for the SQL statement, '%q' substitution
400 public void get_table(String sql, String args[], TableResult tbl) in get_table() argument
405 exec(sql, tbl, args); in get_table()
414 Vm vm = compile(sql, args); in get_table()
430 * See if an SQL statement is complete.
432 * one or more complete SQL statements.
434 * @param sql the SQL statement to be checked
437 public synchronized static boolean complete(String sql) { in complete() argument
438 return _complete(sql); in complete()
441 private native static boolean _complete(String sql); in _complete() argument
673 * Compile and return SQLite VM for SQL statement. Only available
676 * @param sql SQL statement to be compiled
680 public Vm compile(String sql) throws SQLite.Exception { in compile() argument
683 vm_compile(sql, vm); in compile()
689 * Compile and return SQLite VM for SQL statement. Only available
692 * @param sql SQL statement to be compiled
693 * @param args arguments for the SQL statement, '%q' substitution
697 public Vm compile(String sql, String args[]) throws SQLite.Exception { in compile() argument
700 vm_compile_args(sql, vm, args); in compile()
706 * Prepare and return SQLite3 statement for SQL. Only available
709 * @param sql SQL statement to be prepared
713 public Stmt prepare(String sql) throws SQLite.Exception { in prepare() argument
716 stmt_prepare(sql, stmt); in prepare()
749 * @param sql SQL statement
753 private native void vm_compile(String sql, Vm vm) in vm_compile() argument
758 * @param sql SQL statement
759 * @param args arguments for the SQL statement, '%q' substitution
763 private native void vm_compile_args(String sql, Vm vm, String args[]) in vm_compile_args() argument
768 * @param sql SQL statement
772 private native void stmt_prepare(String sql, Stmt stmt) in stmt_prepare() argument