HomeSort by relevance Sort by last modified time
    Searched refs:SQLite (Results 1 - 25 of 40) sorted by null

1 2

  /external/javasqlite/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...]
Backup.java 1 package SQLite;
4 * Class wrapping an SQLite backup object.
10 * Internal handle for the native SQLite API.
19 protected void finish() throws SQLite.Exception {
33 } catch (SQLite.Exception e) {
38 protected native void _finalize() throws SQLite.Exception;
47 public boolean step(int n) throws SQLite.Exception {
53 private native boolean _step(int n) throws SQLite.Exception;
59 public void backup() throws SQLite.Exception {
69 public int remaining() 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.
Profile.java 1 package SQLite;
4 * Callback interface for SQLite's profile function.
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/libcore/sqlite/
OldExceptionTest.java 17 package libcore.sqlite;
19 import SQLite.Database;
20 import SQLite.Exception;
OldBlobTest.java 17 package libcore.sqlite;
19 import SQLite.Blob;
20 import SQLite.Database;
21 import SQLite.Exception;
QueryTimeoutTest.java 18 package libcore.sqlite;
20 import SQLite.Database;
21 import SQLite.Function;
22 import SQLite.FunctionContext;
23 import SQLite.JDBC2z.JDBCConnection;
OldStmtTest.java 17 package libcore.sqlite;
19 import SQLite.Constants;
20 import SQLite.Database;
21 import SQLite.Stmt;
22 import SQLite.TableResult;
106 } catch (SQLite.Exception expected) {
115 } catch (SQLite.Exception expected) {
148 } catch (SQLite.Exception expected) {
165 } catch (SQLite.Exception expected) {
191 } catch (SQLite.Exception expected)
    [all...]
OldFunctionContextTest.java 17 package libcore.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;
  /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;
  /external/javasqlite/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...]
JDBCStatement.java 1 package SQLite.JDBC2z;
87 SQLite.TableResult tr = null;
118 } catch (SQLite.Exception e) {
120 conn.db.last_error() == SQLite.Constants.SQLITE_BUSY &&
127 } catch (SQLite.Exception ee) {

Completed in 1551 milliseconds

1 2