theSq3Lite 10.0
|
Sq3LiteC - the class known as sq3lite or Lite defined by Sq3LiteS … More...
Public Member Functions | |
native Sq3LiteC | Next () |
Java: → C-API get next instance from linked-list of Sq3LiteS type | |
native Sq3LiteC | Prev () |
Java: → C-API get previous instance from linked-list of Sq3LiteS type | |
native void | BusyTimeout (int ms) |
Java: → C-API Set A Busy Timeout … | |
native void | DeclareVtab (String zSQL) |
Java: → C-API Declare The Schema Of A Virtual Table … | |
native void | ExtendedResultCodes (int onoff) |
Java: → C-API Enable Or Disable Extended Result Codes … | |
native void | Limit (Sq3LimitE id, int newVal) |
Java: → C-API Run-time Limits … | |
native Sq3ErrorE | ErrCode () |
Java: → C-API Error Codes And Messages … | |
native String | ErrMsg () |
Java: → C-API Error Codes And Messages … | |
native void | ErrorOffset () |
Java: → C-API Error Codes And Messages … | |
native Sq3ExtendetResultCodesE | ExtendetErrCode () |
Java: → C-API Error Codes And Messages … | |
native void | SystemErrno () |
Java: → C-API Low-level system error code … | |
native void | Exec (String sql, Sq3LiteExecIF callback_data) |
Java: → C-API One-Step Query Execution Interface … | |
native void | ExecV2 (String sql, Sq3LiteExecV2IF callback) |
Java: → C-API The Sq3LiteExecV2() interface is a convenience wrapper around Sq3StmtPrepareV2(), Sq3StmtStep(), and Sq3StmtFinalize(), that allows an application to run multiple statements of SQL without having to use a lot of C code. | |
void | ExecV2 (String sql) |
Java: → C-API The Sq3LiteExecV2() interface is a convenience wrapper around Sq3StmtPrepareV2(), Sq3StmtStep(), and Sq3StmtFinalize(), that allows an application to run multiple statements of SQL without having to use a lot of C code. | |
void | Exec (String sql) |
Java: → C-API One-Step Query Execution Interface … | |
native int | GetAutocommit () |
Java: → C-API Test For Auto-Commit Mode … | |
native long | LastInsertRowid () |
Java: → C-API Last Insert Rowid … | |
native void | TxnState (String zSchema) |
Java: → C-API Determine the transaction state of a database … | |
native void | VtabOnConflict () |
Java: → C-API Determine The Virtual Table Conflict Policy … | |
native MkBufferListC | DbStatusBFL (Sq3DbStatusE op, boolean resetFlg) |
Java: → C-API Database Connection Status … | |
native void | DbCacheflush () |
Java: → C-API Flush caches to disk mid-transaction … | |
native String | DbFilename (String zDbName) |
Java: → C-API Return The Filename For A Database Connection … | |
native String | DbName (int N) |
Java: → C-API Return The Schema Name For A Database Connection … | |
native void | DbReadonly (String zDbName) |
Java: → C-API Determine if a database is read-only … | |
native void | DbReleaseMemory () |
Java: → C-API Free Memory Used By A Database Connection … | |
native void | Deserialize (String zSchema, byte[] pData, Sq3DeSerializeEF mFlags) |
Java: → C-API Deserialize a database … | |
native void | DropModules (MkBufferListC azKeepBfl) |
Java: → C-API Remove Unnecessary Virtual Table Implementations … | |
void | Log () |
Java: → C-API log the lite … | |
void | Log (MkObjectC fmtobj) |
Java: → C-API log the lite … | |
void | Log (MkObjectC fmtobj, int debug) |
Java: → C-API log the lite … | |
void | Log (MkObjectC fmtobj, int debug, String callfunc) |
Java: → C-API log the lite … | |
native void | OverloadFunction (String zFuncName, int nArg) |
Java: → C-API Overload A Function For A Virtual Table … | |
native byte[] | Serialize (String zSchema, Sq3SerializeE mFlags) |
Java: → C-API Serialize a database … | |
native String[] | DbStatus (Sq3DbStatusE op, boolean resetFlg) |
Java: → C-API Database Connection Status … | |
native String[] | TableColumnMetadata (String zDbName, String zTableName, String zColumnName) |
Java: → C-API Extract Metadata About A Column Of A Table … | |
native void | WalAutocheckpoint (int N) |
Java: → C-API Configure an auto-checkpoint … | |
native String[] | WalCheckpointV2 (String zDb, int eMode) |
Java: → C-API Checkpoint a database … | |
native void | Interrupt () |
Java: → C-API Interrupt A Long-Running Query … | |
native boolean | IsInterrupted () |
Java: → C-API Interrupt A Long-Running Query … | |
native int | Changes () |
Java: → C-API Count The Number Of Rows Modified … | |
native long | Changes64 () |
Java: → C-API Count The Number Of Rows Modified … | |
native void | SetLastInsertRowid (long arg1) |
Java: → C-API Set the Last Insert Rowid value … | |
native int | TotalChanges () |
Java: → C-API Total Number Of Rows Modified … | |
native long | TotalChanges64 () |
Java: → C-API Total Number Of Rows Modified … | |
Sq3LiteC (String filename, Sq3OpenEF flags, String zVfs) | |
Java: → C-API Opening A New Database Connection … | |
Sq3LiteC (String filename) | |
Java: → C-API Opening A New Database Connection … | |
Sq3LiteC (String filename, Sq3OpenEF flags) | |
Java: → C-API Opening A New Database Connection … | |
native Sq3StmtC | PrepareV2 (String zSql) |
Java: → C-API Compiling An SQL Statement … | |
native void | CloseV2 () |
Java: → C-API Closing A Database Connection … | |
![]() | |
void | close () |
String | toString () |
native void | HandleDelete () |
native boolean | HandleExists () |
native int | HandleGet () |
native int | HandleGetOfType () |
native int | HandleGetOr0 () |
native MkObjectC | Next () |
native MkObjectC | Prev () |
native void | DbgDump (String message, String callfunc) |
void | DbgDump () |
void | DbgDump (String message) |
native void | DbgL (String message, int debug, String callfunc, int lvl) |
void | DbgL (String message) |
void | DbgL (String message, int debug) |
void | DbgL (String message, int debug, String callfunc) |
native void | DbgLogC (String callfunc) |
void | DbgLogC () |
native void | DbgO (String callfunc) |
void | DbgO () |
native void | DbgSTACK (int skip, int num, String callfunc) |
void | DbgSTACK () |
void | DbgSTACK (int skip) |
void | DbgSTACK (int skip, int num) |
native void | LogC (String message, int debug, String callfunc) |
void | LogC (String message) |
void | LogC (String message, int debug) |
native void | LogHEX (String callfunc, byte[] data) |
native void | Log (MkObjectC fmtobj, int debug, String callfunc, int lvl) |
native void | LogLong (MkObjectC fmtobj, int debug, String callfunc, int lvl) |
void | LogLong () |
void | LogLong (MkObjectC fmtobj) |
void | LogLong (MkObjectC fmtobj, int debug) |
void | LogLong (MkObjectC fmtobj, int debug, String callfunc) |
native void | LogShort (MkObjectC fmtobj, int debug, String callfunc, int lvl) |
void | LogShort () |
void | LogShort (MkObjectC fmtobj) |
void | LogShort (MkObjectC fmtobj, int debug) |
void | LogShort (MkObjectC fmtobj, int debug, String callfunc) |
native void | LogType (MkObjectC fmtobj, int debug, String callfunc, int lvl) |
void | LogType () |
void | LogType (MkObjectC fmtobj) |
void | LogType (MkObjectC fmtobj, int debug) |
void | LogType (MkObjectC fmtobj, int debug, String callfunc) |
void | Log () |
void | Log (MkObjectC fmtobj) |
void | Log (MkObjectC fmtobj, int debug) |
void | Log (MkObjectC fmtobj, int debug, String callfunc) |
native MkErrorC | ErrorCatch (Throwable exception, String callfunc) |
MkErrorC | ErrorCatch () |
MkErrorC | ErrorCatch (Throwable exception) |
native MkErrorC | ToError () |
native boolean | IsNull () |
native String | ToName () |
native String | ToNameOfClass () |
native String | ToNameOfType () |
native String | ToString () |
native int | RefGet () |
native void | SysKill (int pid, int signal) |
native int | SysGetPid () |
native void | Dispose () |
native void | Delete () |
void | printP () |
void | L0 () |
void | L1 () |
void | L2 () |
void | L3 () |
void | L4 () |
void | L5 () |
void | L6 () |
void | L7 () |
void | L8 () |
void | L9 () |
void | LA () |
void | LB () |
void | LE () |
void | printL (String name, Object val) |
Static Public Member Functions | |
static native Sq3LiteC | HandleResolve (int netHdl) |
Java: → C-API Handle-Resolve-Slot - return a Sq3LiteC from netHdl or null if invalid… | |
static native Sq3LiteC | Instances () |
Java: → C-API get head-instance from linked-list of Sq3LiteS type … | |
static native Sq3LiteC | GetNull () |
Java: → C-API Null-Slot - return a Sq3LiteC typed NULL instance … | |
static native String | ErrStr (int arg0) |
Java: → C-API Error Codes And Messages … | |
static native void | Sleep (int arg0) |
Java: → C-API Suspend Execution For A Short Time … | |
static native Sq3LiteC | OpenV2 (String filename, Sq3OpenEF flags, String zVfs) |
Java: → C-API Opening A New Database Connection … | |
static Sq3LiteC | OpenV2 (String filename) |
Java: → C-API Opening A New Database Connection … | |
static Sq3LiteC | OpenV2 (String filename, Sq3OpenEF flags) |
Java: → C-API Opening A New Database Connection … | |
![]() | |
static native MkObjectC | HandleResolve (int netHdl) |
static native void | HandleDeleteByNetHdl (int netHdl) |
static native MkObjectC | Instances () |
static native MkObjectC | GetNull () |
static native void | DbgM (String message, int debug, String callfunc, int lvl) |
static void | DbgM (String message) |
static void | DbgM (String message, int debug) |
static void | DbgM (String message, int debug, String callfunc) |
static native int | SysHashI32 (String key, int length) |
static int | SysHashI32 (String key) |
static native String | SysHashSTR (String key, int length) |
static String | SysHashSTR (String key) |
static native void | DeleteCallbackCleanup (String ident) |
static native void | DeleteCallbackSetup (String ident, MkObjectDeleteIF callback, String filter) |
static void | DeleteCallbackSetup (String ident) |
static void | DeleteCallbackSetup (String ident, MkObjectDeleteIF callback) |
static int | getPId () |
static long | getTId () |
static String | getCallerProc (int level) |
static String | getCallerProc () |
static String | getStackTrace (int level) |
static String | getStackTrace () |
static int | getCallerLine (int level) |
static int | getCallerLine () |
static String | getCallerFile (int level) |
static String | getCallerFile () |
static void | SF (String msg, String name, int framelvl) |
static void | SF (String msg) |
static void | SF (String msg, String name) |
static void | printP (long ptr, String name, int framelvl) |
static void | printO (byte byt, String name, int framelvl) |
static void | printBool (boolean bol, String name, int framelvl) |
static void | printObj (Object id, String caller, int framelvl) |
static void | printObj (Object id, String caller) |
static void | printObj (Object id) |
static void | printC (String id, String name, int framelvl) |
static void | printC (String id) |
static void | printTyp (MkObjectC id, String name, int framelvl) |
static void | printStack (String name, int framelvl) |
static void | M0 () |
static void | M1 () |
static void | M2 () |
static void | M3 () |
static void | M4 () |
static void | M5 () |
static void | M6 () |
static void | M7 () |
static void | M8 () |
static void | M9 () |
static void | MA () |
static void | MB () |
static void | MC () |
static void | MD () |
static void | ME () |
Additional Inherited Members | |
![]() | |
MkObjectC (long mng, boolean dummy) | |
void | Dispose (boolean disposing) |
Sq3LiteC - the class known as sq3lite or Lite defined by Sq3LiteS …
Struct to represent the data of the Sq3LiteC …
Database Connection Handle …
Each open SQLite database is represented by a pointer to an instance of the opaque structure named "sqlite3". It is useful to think of an Sq3LiteC pointer as an object. The sqlite3_open (), sqlite3_open16 (), and Sq3LiteOpenV2 () interfaces are its constructors, and sqlite3_close () and Sq3LiteCloseV2 () are its destructors. There are many other interfaces (such as Sq3StmtPrepareV2 (), sqlite3_create_function (), and Sq3LiteBusyTimeout () to name but three) that are methods on an Sq3LiteC object.
Reference code from sqlite3:
Definition at line 20 of file Sq3LiteC.java.