theSq3Lite 10.0
|
Sq3StmtC - the class known as sq3stmt or Statement defined by Sq3StmtS … More...
Public Member Functions | |
native void | BindBlob (int pos, byte[] blob) |
Java: → C-API Bind a MkBinaryR Value To a Prepared Statement … | |
native void | BindDouble (int arg1, double arg2) |
Java: → C-API Binding Values To Prepared Statements … | |
native void | BindInt (int arg1, int arg2) |
Java: → C-API Binding Values To Prepared Statements … | |
native void | BindInt64 (int arg1, long arg2) |
Java: → C-API Binding Values To Prepared Statements … | |
native void | BindNull (int arg1) |
Java: → C-API Binding Values To Prepared Statements … | |
native void | BindParameterCount () |
Java: → C-API Number Of SQL Parameters … | |
native void | BindParameterIndex (String zName) |
Java: → C-API Index Of A Parameter With A Given Name … | |
native String | BindParameterName (int arg1) |
Java: → C-API Name Of A Host Parameter … | |
native void | BindText (int pos, String text) |
Java: → C-API Bind a MkStringR Value To a Prepared Statement … | |
native void | BindValue (int arg1, Sq3ValueC arg2) |
Java: → C-API Binding Values To Prepared Statements … | |
native void | BindZeroblob (int arg1, int n) |
Java: → C-API Binding Values To Prepared Statements … | |
native void | BindZeroblob64 (int arg1, long arg2) |
Java: → C-API Binding Values To Prepared Statements … | |
native Sq3StmtC | Next () |
Java: → C-API get next instance from linked-list of Sq3StmtS type | |
native Sq3StmtC | Prev () |
Java: → C-API get previous instance from linked-list of Sq3StmtS type | |
native Sq3ValueC | ColumnValue (int iCol) |
Java: → C-API Result Values From A Query … | |
native byte[] | ColumnBlob (int iCol) |
Java: → C-API Result a MkBinaryR Value From A Query. | |
native int | ColumnBytes (int iCol) |
Java: → C-API Result Values From A Query … | |
native int | ColumnCount () |
Java: → C-API Number Of Columns In A Result Set … | |
native double | ColumnDouble (int iCol) |
Java: → C-API Result Values From A Query … | |
native int | ColumnInt (int iCol) |
Java: → C-API Result Values From A Query … | |
native long | ColumnInt64 (int iCol) |
Java: → C-API Result Values From A Query … | |
native String | ColumnName (int N) |
Java: → C-API Column Names In A Result Set … | |
native String | ColumnText (int iCol) |
Java: → C-API Result a MkStringR Value From A Query. | |
native Sq3TypeE | ColumnType (int iCol) |
Java: → C-API Result Values From A Query … | |
native Sq3LiteC | DbHandle () |
Java: → C-API Find The Database Handle Of A Prepared Statement … | |
native void | Busy () |
Java: → C-API Determine If A Prepared Statement Has Been Reset … | |
native void | DataCount () |
Java: → C-API Number of columns in a result set … | |
native void | IsExplain () |
Java: → C-API Query The EXPLAIN Setting For A Prepared Statement … | |
void | Log () |
Java: → C-API log the val … | |
void | Log (MkObjectC fmtobj) |
Java: → C-API log the val … | |
void | Log (MkObjectC fmtobj, int debug) |
Java: → C-API log the val … | |
void | Log (MkObjectC fmtobj, int debug, String callfunc) |
Java: → C-API log the val … | |
native void | Readonly () |
Java: → C-API Determine If An SQL Statement Writes The Database … | |
native void | Status (Sq3StmtStatusE op, boolean resetFlg) |
Java: → C-API Prepared Statement Status … | |
native void | ClearBindings () |
Java: → C-API Reset All Bindings On A Prepared Statement … | |
native void | Explain (int eMode) |
Java: → C-API Change The EXPLAIN Setting For A Prepared Statement … | |
native void | Reset () |
Java: → C-API Reset A Prepared Statement Object … | |
native Sq3ErrorE | Step () |
Java: → C-API Evaluate An SQL Statement … | |
native String | ExpandedSql () |
Java: → C-API Retrieving Statement SQL … | |
native String | GetPzTail () |
Java: → C-API return the non compiled sql-statement from Sq3StmtPrepareV2 and Sq3StmtPrepareV3 … | |
native String | Sql () |
Java: → C-API Retrieving Statement SQL … | |
Sq3StmtC (Sq3LiteC db, String zSql) | |
Java: → C-API Compiling An SQL Statement … | |
native void | Finalize () |
Java: → C-API Destroy A Prepared Statement Object … | |
![]() | |
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 Sq3StmtC | HandleResolve (int netHdl) |
Java: → C-API Handle-Resolve-Slot - return a Sq3StmtC from netHdl or null if invalid… | |
static native Sq3StmtC | Instances () |
Java: → C-API get head-instance from linked-list of Sq3StmtS type … | |
static native Sq3StmtC | GetNull () |
Java: → C-API Null-Slot - return a Sq3StmtC typed NULL instance … | |
static native Sq3StmtC | NextStmt (Sq3LiteC pDb, Sq3StmtC pStmt) |
Java: → C-API Find the next prepared statement … | |
static Sq3StmtC | NextStmt (Sq3LiteC pDb) |
Java: → C-API Find the next prepared statement … | |
static native Sq3StmtC | PrepareV2 (Sq3LiteC db, String zSql) |
Java: → C-API Compiling An SQL Statement … | |
static native Sq3StmtC | PrepareV3 (Sq3LiteC db, String zSql, Sq3PrepareEF prepFlags) |
Java: → C-API Compiling An SQL Statement … | |
static Sq3StmtC | PrepareV3 (Sq3LiteC db, String zSql) |
Java: → C-API Compiling An SQL Statement … | |
![]() | |
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) |
Sq3StmtC - the class known as sq3stmt or Statement defined by Sq3StmtS …
Struct to represent the data of the Sq3StmtC …
Prepared Statement Object …
An instance of this object represents a single SQL statement that has been compiled into binary form and is ready to be evaluated.
Think of each SQL statement as a separate computer program. The original SQL text is source code. A prepared statement object is the compiled object code. All SQL must be converted into a prepared statement before it can be run.
The life-cycle of a prepared statement object usually goes like this:
Reference code from sqlite3:
Definition at line 20 of file Sq3StmtC.java.