/libcore/sqlite-jdbc/src/main/java/SQLite/ |
ProgressHandler.java | 1 package SQLite; 4 * Callback interface for SQLite's user defined progress handler. 10 * Invoked for N SQLite VM opcodes.
|
Trace.java | 1 package SQLite; 4 * Callback interface for SQLite's trace function.
|
Vm.java | 1 package SQLite; 4 * Class to represent compiled SQLite VM. 10 * Internal handle for the compiled SQLite VM. 22 * Perform one step on compiled SQLite VM. 38 * } catch (SQLite.Exception e) { 47 public native boolean step(Callback cb) throws SQLite.Exception; 50 * Compile the next SQL statement for the SQLite VM instance. 55 public native boolean compile() throws SQLite.Exception; 58 * Abort the compiled SQLite VM. 61 public native void stop() throws SQLite.Exception [all...] |
Stmt.java | 1 package SQLite; 32 public native boolean prepare() throws SQLite.Exception; 60 * } catch (SQLite.Exception e) { 69 public native boolean step() throws SQLite.Exception; 75 public native void close() throws SQLite.Exception; 82 public native void reset() throws SQLite.Exception; 88 public native void clear_bindings() throws SQLite.Exception; 96 public native void bind(int pos, int value) throws SQLite.Exception; 104 public native void bind(int pos, long value) throws SQLite.Exception; 112 public native void bind(int pos, double value) throws SQLite.Exception [all...] |
BusyHandler.java | 1 package SQLite; 4 * Callback interface for SQLite's user defined busy handler.
|
Exception.java | 1 package SQLite; 4 * Class for SQLite related exceptions. 10 * Construct a new SQLite exception.
|
Authorizer.java | 1 package SQLite; 4 * Callback interface for SQLite's authorizer function.
|
Callback.java | 1 package SQLite; 4 * Callback interface for SQLite's query results. 9 * class TableFmt implements SQLite.Callback { 27 * SQLite.Database db = new SQLite.Database(); 41 * the SQLite engine returns the result set.<BR><BR> 50 * This is available from SQLite 2.6.0 on and needs 62 * SQLite query is aborted.<BR><BR>
|
Database.java | 1 package SQLite; 4 * Main class wrapping an SQLite database. 10 * Internal handle for the native SQLite API. 22 * Open an SQLite database file. 28 public void open(String filename, int mode) throws SQLite.Exception { 30 mode = SQLite.Constants.SQLITE_OPEN_READWRITE | 31 SQLite.Constants.SQLITE_OPEN_CREATE; 33 mode = SQLite.Constants.SQLITE_OPEN_READONLY; 38 } catch (SQLite.Exception se) { 49 * Open an SQLite database file [all...] |
Function.java | 1 package SQLite; 4 * Callback interface for SQLite's user defined functions. 12 * class SinFunc implements SQLite.Function { 13 * public void function(SQLite.FunctionContext fc, String args[]) { 23 * SQLite.Database db = new SQLite.Database();
|
FunctionContext.java | 1 package SQLite; 4 * Context for execution of SQLite's user defined functions. 12 * Internal handle for the native SQLite API.
|
Shell.java | 1 package SQLite; 3 import SQLite.*; 8 * SQLite command line shell. This is a partial reimplementaion 9 * of sqlite/src/shell.c and can be invoked by:<P> 12 * java SQLite.Shell [OPTIONS] database [SHELLCMD] 14 * java -jar sqlite.jar [OPTIONS] database [SHELLCMD] 171 /* Empty body to satisfy SQLite.Callback interface. */ 476 String prompt = "SQLITE> "; 500 prompt = "SQLITE> "; 502 prompt = "SQLITE? " [all...] |
/libcore/luni/src/test/java/tests/SQLite/ |
ExceptionTest.java | 17 package tests.SQLite; 19 import SQLite.Database; 20 import SQLite.Exception; 28 @TestTargetClass(SQLite.Exception.class)
|
AllTests.java | 17 package tests.SQLite; 26 TestSuite suite = new TestSuite("Tests for SQLite");
|
JDBCDriverFunctionalTest.java | 17 package tests.SQLite; 19 import SQLite.Exception; 20 import SQLite.JDBCDriver; 30 * Tests the SQLite.JDBCDriver. 38 * The SQLite db file. 45 * Sets up an unit test by loading the SQLite.JDBCDriver, getting two 59 // class in the SQLite package. 66 * and deleting the SQLite test db file. 92 connectionURL = "jdbc:sqlite:/" + dbFile.getPath(); 101 return "SQLite.JDBCDriver" [all...] |
ShellTest.java | 17 package tests.SQLite; 19 import SQLite.Shell; 33 * Test method for {@link SQLite.Shell#Shell(java.io.PrintWriter, java.io.PrintWriter)}. 46 * Test method for {@link SQLite.Shell#Shell(java.io.PrintStream, java.io.PrintStream)}. 59 * Test method for {@link SQLite.Shell#clone()}. 72 * Test method for {@link SQLite.Shell#sql_quote_dbl(java.lang.String)}. 85 * Test method for {@link SQLite.Shell#sql_quote(java.lang.String)}. 99 * Test method for {@link SQLite.Shell#columns(java.lang.String[])}. 112 * Test method for {@link SQLite.Shell#types(java.lang.String[])}. 125 * Test method for {@link SQLite.Shell#newrow(java.lang.String[])} [all...] |
BlobTest.java | 17 package tests.SQLite; 19 import SQLite.Blob; 20 import SQLite.Database; 21 import SQLite.Exception; 22 import SQLite.Stmt;
|
AbstractSqlTest.java | 18 package tests.SQLite; 20 import SQLite.Callback; 21 import SQLite.Database; 22 import SQLite.Exception;
|
FunctionContextTest.java | 17 package tests.SQLite; 19 import SQLite.Database; 20 import SQLite.Exception; 21 import SQLite.Function; 22 import SQLite.FunctionContext; 23 import SQLite.Stmt; 24 import SQLite.TableResult; 64 * Test method for {@link SQLite.FunctionContext#set_result(java.lang.String)}. 87 * Test method for {@link SQLite.FunctionContext#set_result(int)}. 110 * Test method for {@link SQLite.FunctionContext#set_result(double)} [all...] |
/libcore/luni/src/test/java/tests/support/ |
MockFunction.java | 19 import SQLite.Function; 20 import SQLite.FunctionContext; 23 public class MockFunction implements SQLite.Function{
|
MockCallback.java | 19 import SQLite.Callback;
|
/libcore/sqlite-jdbc/src/main/java/SQLite/JDBC2z/ |
JDBCConnection.java | 1 package SQLite.JDBC2z; 7 implements java.sql.Connection, SQLite.BusyHandler { 25 * SQLite 3 VFS to use. 112 dbx.open(dbfile, readonly ? SQLite.Constants.SQLITE_OPEN_READONLY : 113 (SQLite.Constants.SQLITE_OPEN_READWRITE | 114 SQLite.Constants.SQLITE_OPEN_CREATE), vfs); 116 } catch (SQLite.Exception e) { 125 if (SQLite.Database.version().compareTo("2.6.0") >= 0) { 128 } catch (SQLite.Exception e) { 129 if (dbx.last_error() != SQLite.Constants.SQLITE_BUSY | [all...] |
TableResultX.java | 1 package SQLite.JDBC2z; 6 public class TableResultX extends SQLite.TableResult { 25 public TableResultX(SQLite.TableResult tr) {
|
JDBCDatabaseMetaData.java | 1 package SQLite.JDBC2z; 51 return "SQLite"; 55 return SQLite.Database.version(); 59 return "SQLite/JDBC"; 63 return "" + SQLite.JDBCDriver.MAJORVERSION + "." + 64 SQLite.Constants.drv_minor; 68 return SQLite.JDBCDriver.MAJORVERSION; 72 return SQLite.Constants.drv_minor; 523 sb.append(SQLite.Shell.sql_quote(tableNamePattern)); 536 sb.append(SQLite.Shell.sql_quote(types[i].toLowerCase())) [all...] |
/libcore/sqlite-jdbc/ |
Android.mk | 6 external/sqlite/dist 16 # This name is dictated by the fact that the SQLite code calls loadLibrary("sqlite_jni").
|