OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
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
...]
TableResult.java
1
package
SQLite
;
6
* Class representing an
SQLite
result set as
15
*
SQLite
.Database db = new
SQLite
.Database();
/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) {
JDBCResultSet.java
1
package
SQLite
.JDBC2z;
16
protected
SQLite
.TableResult tr;
72
SQLite
.Database.version().compareTo("2.5.0") < 0;
74
public JDBCResultSet(
SQLite
.TableResult tr, JDBCStatement s) {
319
return new java.sql.Time(
SQLite
.Database.long_from_julian(lastg));
327
return new java.sql.Time(
SQLite
.Database.long_from_julian(lastg));
368
return new java.sql.Timestamp(
SQLite
.Database.long_from_julian(lastg));
376
return new java.sql.Timestamp(
SQLite
.Database.long_from_julian(lastg));
419
return new java.sql.Date(
SQLite
.Database.long_from_julian(lastg));
427
return new java.sql.Date(
SQLite
.Database.long_from_julian(lastg))
[
all
...]
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/util/
SQLite_Test.java
4
import android.database.
sqlite
.SQLiteDatabase;
10
import static com.xtremelabs.robolectric.util.
SQLite
.*;
31
SQLite
.SQLStringAndBindings insertString = buildInsertString("table_name", values, SQLiteDatabase.CONFLICT_NONE);
38
SQLite
.SQLStringAndBindings insertString = buildUpdateString("table_name", values, "id=?", new String[]{"1234"});
H2Test.java
4
import android.database.
sqlite
.SQLiteDatabase;
12
import static com.xtremelabs.robolectric.util.
SQLite
.buildInsertString;
35
SQLite
.SQLStringAndBindings insertString = buildInsertString("table_name", values, SQLiteDatabase.CONFLICT_REPLACE);
/libcore/luni/src/test/java/libcore/java/sql/
DriverTest.java
21
import
SQLite
.JDBCDriver;
30
public static final String SQLITE_JDBC_URL = "jdbc:
sqlite
:/only_used_at_connect_time";
38
Class.forName("
SQLite
.JDBCDriver");
67
// The
SQLite
JDBC driver used by these tests is not actually JDBC compliant.
Completed in 3998 milliseconds
1
2