theSq3Lite 10.0
Loading...
Searching...
No Matches
jvsq3lite.Sq3LiteC Class Reference

Sq3LiteC - the class known as sq3lite or Lite defined by Sq3LiteSMore...

+ Inheritance diagram for jvsq3lite.Sq3LiteC:
+ Collaboration diagram for jvsq3lite.Sq3LiteC:

Public Member Functions

native Sq3LiteC Next ()
  Java: Sq3LiteC lite.Next() C-API
get next instance from linked-list of Sq3LiteS type
 
native Sq3LiteC Prev ()
  Java: Sq3LiteC lite.Prev() C-API
get previous instance from linked-list of Sq3LiteS type
 
native void BusyTimeout (int ms)
  Java: sq3lite.BusyTimeout(int ms) C-API
Set A Busy Timeout …
 
native void DeclareVtab (String zSQL)
  Java: sq3lite.DeclareVtab(String zSQL) C-API
Declare The Schema Of A Virtual Table …
 
native void ExtendedResultCodes (int onoff)
  Java: sq3lite.ExtendedResultCodes(int onoff) C-API
Enable Or Disable Extended Result Codes …
 
native void Limit (Sq3LimitE id, int newVal)
  Java: sq3lite.Limit(Sq3LimitE id, int newVal) C-API
Run-time Limits …
 
native Sq3ErrorE ErrCode ()
  Java: Sq3ErrorE db.ErrCode() C-API
Error Codes And Messages …
 
native String ErrMsg ()
  Java: String sq3lite.ErrMsg() C-API
Error Codes And Messages …
 
native void ErrorOffset ()
  Java: db.ErrorOffset() C-API
Error Codes And Messages …
 
native Sq3ExtendetResultCodesE ExtendetErrCode ()
  Java: Sq3ExtendetResultCodesE db.ExtendetErrCode() C-API
Error Codes And Messages …
 
native void SystemErrno ()
  Java: sq3lite.SystemErrno() C-API
Low-level system error code …
 
native void Exec (String sql, Sq3LiteExecIF callback_data)
  Java: sq3lite.Exec(String sql, ?Sq3LiteExecIF callback_data = null?) C-API
One-Step Query Execution Interface …
 
native void ExecV2 (String sql, Sq3LiteExecV2IF callback)
  Java: sq3lite.ExecV2(String sql, ?Sq3LiteExecV2IF callback = null?) 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: sq3lite.ExecV2(String sql, ?Sq3LiteExecV2IF callback = null?) 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: sq3lite.Exec(String sql, ?Sq3LiteExecIF callback_data = null?) C-API
One-Step Query Execution Interface …
 
native int GetAutocommit ()
  Java: int sq3lite.GetAutocommit() C-API
Test For Auto-Commit Mode …
 
native long LastInsertRowid ()
  Java: long sq3lite.LastInsertRowid() C-API
Last Insert Rowid …
 
native void TxnState (String zSchema)
  Java: sq3lite.TxnState(String zSchema) C-API
Determine the transaction state of a database …
 
native void VtabOnConflict ()
  Java: sq3lite.VtabOnConflict() C-API
Determine The Virtual Table Conflict Policy …
 
native MkBufferListC DbStatusBFL (Sq3DbStatusE op, boolean resetFlg)
  Java: MkBufferListC sq3lite.DbStatusBFL(Sq3DbStatusE op, boolean resetFlg) C-API
Database Connection Status …
 
native void DbCacheflush ()
  Java: sq3lite.DbCacheflush() C-API
Flush caches to disk mid-transaction …
 
native String DbFilename (String zDbName)
  Java: String db.DbFilename(String zDbName) C-API
Return The Filename For A Database Connection …
 
native String DbName (int N)
  Java: String db.DbName(int N) C-API
Return The Schema Name For A Database Connection …
 
native void DbReadonly (String zDbName)
  Java: db.DbReadonly(String zDbName) C-API
Determine if a database is read-only …
 
native void DbReleaseMemory ()
  Java: sq3lite.DbReleaseMemory() C-API
Free Memory Used By A Database Connection …
 
native void Deserialize (String zSchema, byte[] pData, Sq3DeSerializeEF mFlags)
  Java: sq3lite.Deserialize(String zSchema, byte[] pData, Sq3DeSerializeEF mFlags) C-API
Deserialize a database …
 
native void DropModules (MkBufferListC azKeepBfl)
  Java: sq3lite.DropModules(MkBufferListC azKeepBfl) C-API
Remove Unnecessary Virtual Table Implementations …
 
void Log ()
  Java: lite.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the lite
 
void Log (MkObjectC fmtobj)
  Java: lite.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the lite
 
void Log (MkObjectC fmtobj, int debug)
  Java: lite.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the lite
 
void Log (MkObjectC fmtobj, int debug, String callfunc)
  Java: lite.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the lite
 
native void OverloadFunction (String zFuncName, int nArg)
  Java: sq3lite.OverloadFunction(String zFuncName, int nArg) C-API
Overload A Function For A Virtual Table …
 
native byte[] Serialize (String zSchema, Sq3SerializeE mFlags)
  Java: byte[] sq3lite.Serialize(String zSchema, Sq3SerializeE mFlags) C-API
Serialize a database …
 
native String[] DbStatus (Sq3DbStatusE op, boolean resetFlg)
  Java: {pCur:int pHiwtr:int} sq3lite.DbStatus(Sq3DbStatusE op, boolean resetFlg) C-API
Database Connection Status …
 
native String[] TableColumnMetadata (String zDbName, String zTableName, String zColumnName)
  Java: {pzDataType:String pzCollSeq:String pNotNull:int pPrimaryKey:int pAutoinc:int} db.TableColumnMetadata(String zDbName, String zTableName, String zColumnName) C-API
Extract Metadata About A Column Of A Table …
 
native void WalAutocheckpoint (int N)
  Java: db.WalAutocheckpoint(int N) C-API
Configure an auto-checkpoint …
 
native String[] WalCheckpointV2 (String zDb, int eMode)
  Java: {pnLog:int pnCkpt:int} db.WalCheckpointV2(String zDb, int eMode) C-API
Checkpoint a database …
 
native void Interrupt ()
  Java: sq3lite.Interrupt() C-API
Interrupt A Long-Running Query …
 
native boolean IsInterrupted ()
  Java: boolean sq3lite.IsInterrupted() C-API
Interrupt A Long-Running Query …
 
native int Changes ()
  Java: int sq3lite.Changes() C-API
Count The Number Of Rows Modified …
 
native long Changes64 ()
  Java: long sq3lite.Changes64() C-API
Count The Number Of Rows Modified …
 
native void SetLastInsertRowid (long arg1)
  Java: sq3lite.SetLastInsertRowid(long arg1) C-API
Set the Last Insert Rowid value …
 
native int TotalChanges ()
  Java: int sq3lite.TotalChanges() C-API
Total Number Of Rows Modified …
 
native long TotalChanges64 ()
  Java: long sq3lite.TotalChanges64() C-API
Total Number Of Rows Modified …
 
 Sq3LiteC (String filename, Sq3OpenEF flags, String zVfs)
  Java: [constructor,static] Sq3LiteC Sq3LiteC.OpenV2(String filename, ?Sq3OpenEF flags = SQ3_OPEN_READWRITE|SQ3_OPEN_CREATE?, ?String zVfs = null?) C-API
Opening A New Database Connection …
 
 Sq3LiteC (String filename)
  Java: [constructor,static] Sq3LiteC Sq3LiteC.OpenV2(String filename, ?Sq3OpenEF flags = SQ3_OPEN_READWRITE|SQ3_OPEN_CREATE?, ?String zVfs = null?) C-API
Opening A New Database Connection …
 
 Sq3LiteC (String filename, Sq3OpenEF flags)
  Java: [constructor,static] Sq3LiteC Sq3LiteC.OpenV2(String filename, ?Sq3OpenEF flags = SQ3_OPEN_READWRITE|SQ3_OPEN_CREATE?, ?String zVfs = null?) C-API
Opening A New Database Connection …
 
native Sq3StmtC PrepareV2 (String zSql)
  Java: [constructor] Sq3StmtC db.PrepareV2(String zSql) C-API
Compiling An SQL Statement …
 
native void CloseV2 ()
  Java: [destructor] sq3lite.CloseV2() C-API
Closing A Database Connection …
 
- Public Member Functions inherited from jvmkkernel::MkObjectC
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: [static] Sq3LiteC Sq3LiteC.HandleResolve(int netHdl) C-API
Handle-Resolve-Slot - return a Sq3LiteC from netHdl or null if invalid…
 
static native Sq3LiteC Instances ()
  Java: [static] Sq3LiteC Sq3LiteC.Instances() C-API
get head-instance from linked-list of Sq3LiteS type …
 
static native Sq3LiteC GetNull ()
  Java: [static] Sq3LiteC Sq3LiteC.GetNull() C-API
Null-Slot - return a Sq3LiteC typed NULL instance …
 
static native String ErrStr (int arg0)
  Java: [static] String Sq3LiteC.ErrStr(int arg0) C-API
Error Codes And Messages …
 
static native void Sleep (int arg0)
  Java: [static] Sq3LiteC.Sleep(int arg0) C-API
Suspend Execution For A Short Time …
 
static native Sq3LiteC OpenV2 (String filename, Sq3OpenEF flags, String zVfs)
  Java: [constructor,static] Sq3LiteC Sq3LiteC.OpenV2(String filename, ?Sq3OpenEF flags = SQ3_OPEN_READWRITE|SQ3_OPEN_CREATE?, ?String zVfs = null?) C-API
Opening A New Database Connection …
 
static Sq3LiteC OpenV2 (String filename)
  Java: [constructor,static] Sq3LiteC Sq3LiteC.OpenV2(String filename, ?Sq3OpenEF flags = SQ3_OPEN_READWRITE|SQ3_OPEN_CREATE?, ?String zVfs = null?) C-API
Opening A New Database Connection …
 
static Sq3LiteC OpenV2 (String filename, Sq3OpenEF flags)
  Java: [constructor,static] Sq3LiteC Sq3LiteC.OpenV2(String filename, ?Sq3OpenEF flags = SQ3_OPEN_READWRITE|SQ3_OPEN_CREATE?, ?String zVfs = null?) C-API
Opening A New Database Connection …
 
- Static Public Member Functions inherited from jvmkkernel::MkObjectC
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

- Protected Member Functions inherited from jvmkkernel::MkObjectC
 MkObjectC (long mng, boolean dummy)
 
void Dispose (boolean disposing)
 

Detailed Description

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:

typedef struct sqlite3 sqlite3;
struct sqlite3 sqlite3

Definition at line 20 of file Sq3LiteC.java.


The documentation for this class was generated from the following file: