theSq3Lite 10.0
|
Struct to represent the data of the Sq3LiteC … → C-API: libsq3lite::Sq3LiteS More...
#include <Sq3LiteC_cc.hh>
Public Member Functions | |
Sq3LiteC (SQ3_LITE hdl) | |
SQ3_LITE | getLITE () const |
return the LibMsgqueObject from current Sq3LiteC instance | |
SQ3_LITE | getLITE__null_allow () const |
return the LibMsgqueObject from current Sq3LiteC instance | |
SQ3_LITEN | getLITEN () const |
(const) return the LibMsgqueObject from current Sq3LiteC instance | |
SQ3_LITEN | getLITEN__null_allow () const |
(const) return the LibMsgqueObject from current Sq3LiteC instance | |
bool | Check () const |
check if pointer is still valid | |
Sq3LiteC * | Next () |
C++: → C-API get next instance from linked-list of Sq3LiteS type | |
Sq3LiteC * | Prev () |
C++: → C-API get previous instance from linked-list of Sq3LiteS type | |
void | BusyTimeout (MK_I32 ms) |
C++: → C-API Set A Busy Timeout … | |
void | DeclareVtab (MK_STRN zSQL) |
C++: → C-API Declare The Schema Of A Virtual Table … | |
void | DeclareVtab (const std::string &zSQL) |
C++: → C-API Declare The Schema Of A Virtual Table … | |
void | ExtendedResultCodes (MK_I32 onoff) |
C++: → C-API Enable Or Disable Extended Result Codes … | |
void | Limit (Sq3LimitE id, MK_I32 newVal) |
C++: → C-API Run-time Limits … | |
Sq3ErrorE | ErrCode () |
C++: → C-API Error Codes And Messages … | |
MK_STRN | ErrMsg () |
C++: → C-API Error Codes And Messages … | |
void | ErrorOffset () |
C++: → C-API Error Codes And Messages … | |
Sq3ExtendetResultCodesE | ExtendetErrCode () |
C++: → C-API Error Codes And Messages … | |
void | SystemErrno () |
C++: → C-API Low-level system error code … | |
void | ExecV2 (MK_STRN sql, Sq3LiteExecV2IF *callback=NULL) |
C++: → 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 (const std::string &sql, Sq3LiteExecV2IF *callback=NULL) |
C++: → 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 (MK_STRN sql, Sq3LiteExecV2SCB callback=NULL) |
C++: → 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 (const std::string &sql, Sq3LiteExecV2SCB callback=NULL) |
C++: → 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 (MK_STRN sql, Sq3LiteExecIF *callback_data=NULL) |
C++: → C-API One-Step Query Execution Interface … | |
void | Exec (const std::string &sql, Sq3LiteExecIF *callback_data=NULL) |
C++: → C-API One-Step Query Execution Interface … | |
void | Exec (MK_STRN sql, Sq3LiteExecSCB callback_data=NULL) |
C++: → C-API One-Step Query Execution Interface … | |
void | Exec (const std::string &sql, Sq3LiteExecSCB callback_data=NULL) |
C++: → C-API One-Step Query Execution Interface … | |
MK_I32 | GetAutocommit () |
C++: → C-API Test For Auto-Commit Mode … | |
MK_I64 | LastInsertRowid () |
C++: → C-API Last Insert Rowid … | |
void | TxnState (MK_STRN zSchema) |
C++: → C-API Determine the transaction state of a database … | |
void | TxnState (const std::string &zSchema) |
C++: → C-API Determine the transaction state of a database … | |
void | VtabOnConflict () |
C++: → C-API Determine The Virtual Table Conflict Policy … | |
MkBufferListC * | DbStatusBFL (Sq3DbStatusE op, MK_BOOL resetFlg) |
C++: → C-API Database Connection Status … | |
void | DbCacheflush () |
C++: → C-API Flush caches to disk mid-transaction … | |
SQ3_FILENAME | DbFilename (MK_STRN zDbName) |
C++: → C-API Return The Filename For A Database Connection … | |
SQ3_FILENAME | DbFilename (const std::string &zDbName) |
C++: → C-API Return The Filename For A Database Connection … | |
MK_STRN | DbName (MK_I32 N) |
C++: → C-API Return The Schema Name For A Database Connection … | |
void | DbReadonly (MK_STRN zDbName) |
C++: → C-API Determine if a database is read-only … | |
void | DbReadonly (const std::string &zDbName) |
C++: → C-API Determine if a database is read-only … | |
void | DbReleaseMemory () |
C++: → C-API Free Memory Used By A Database Connection … | |
void | Deserialize (MK_STRN zSchema, MK_BNP pData, Sq3DeSerializeEF mFlags) |
C++: → C-API Deserialize a database … | |
void | Deserialize (const std::string &zSchema, MK_BNP pData, Sq3DeSerializeEF mFlags) |
C++: → C-API Deserialize a database … | |
void | DropModules (MkBufferListC *azKeepBfl) |
C++: → C-API Remove Unnecessary Virtual Table Implementations … | |
void | DropModules (const MkBufferListC &azKeepBfl) |
C++: → C-API Remove Unnecessary Virtual Table Implementations … | |
void | OverloadFunction (MK_STRN zFuncName, MK_I32 nArg) |
C++: → C-API Overload A Function For A Virtual Table … | |
void | OverloadFunction (const std::string &zFuncName, MK_I32 nArg) |
C++: → C-API Overload A Function For A Virtual Table … | |
MK_BNP | Serialize (MK_STRN zSchema, Sq3SerializeE mFlags) |
C++: → C-API Serialize a database … | |
MK_BNP | Serialize (const std::string &zSchema, Sq3SerializeE mFlags) |
C++: → C-API Serialize a database … | |
std::tuple< MK_I32, MK_I32 > | DbStatus (Sq3DbStatusE op, MK_BOOL resetFlg) |
C++: → C-API Database Connection Status … | |
std::tuple< MK_STRN, MK_STRN, MK_I32, MK_I32, MK_I32 > | TableColumnMetadata (MK_STRN zDbName, MK_STRN zTableName, MK_STRN zColumnName) |
C++: → C-API Extract Metadata About A Column Of A Table … | |
std::tuple< MK_STRN, MK_STRN, MK_I32, MK_I32, MK_I32 > | TableColumnMetadata (const std::string &zDbName, const std::string &zTableName, const std::string &zColumnName) |
C++: → C-API Extract Metadata About A Column Of A Table … | |
void | WalAutocheckpoint (MK_I32 N) |
C++: → C-API Configure an auto-checkpoint … | |
std::tuple< MK_I32, MK_I32 > | WalCheckpointV2 (MK_STRN zDb, MK_I32 eMode) |
C++: → C-API Checkpoint a database … | |
std::tuple< MK_I32, MK_I32 > | WalCheckpointV2 (const std::string &zDb, MK_I32 eMode) |
C++: → C-API Checkpoint a database … | |
void | Interrupt () |
C++: → C-API Interrupt A Long-Running Query … | |
MK_BOOL | IsInterrupted () |
C++: → C-API Interrupt A Long-Running Query … | |
MK_I32 | Changes () |
C++: → C-API Count The Number Of Rows Modified … | |
MK_I64 | Changes64 () |
C++: → C-API Count The Number Of Rows Modified … | |
void | SetLastInsertRowid (MK_I64 arg1) |
C++: → C-API Set the Last Insert Rowid value … | |
MK_I32 | TotalChanges () |
C++: → C-API Total Number Of Rows Modified … | |
MK_I64 | TotalChanges64 () |
C++: → C-API Total Number Of Rows Modified … | |
Sq3LiteC (MK_STRN filename, Sq3OpenEF flags=SQ3_OPEN_READWRITE|SQ3_OPEN_CREATE, MK_STRN zVfs=NULL) | |
C++: → C-API Opening A New Database Connection … | |
Sq3LiteC (const std::string &filename, Sq3OpenEF flags=SQ3_OPEN_READWRITE|SQ3_OPEN_CREATE, MK_STRN zVfs=NULL) | |
C++: → C-API Opening A New Database Connection … | |
Sq3StmtC * | PrepareV2 (const std::string &zSql) |
C++: → C-API Compiling An SQL Statement … | |
void | CloseV2 () |
C++: → C-API Closing A Database Connection … | |
![]() | |
MK_OBJ | getOBJ () const |
MK_OBJ | getOBJ__null_allow () const |
MK_OBJN | getOBJN () const |
MK_OBJN | getOBJN__null_allow () const |
bool | Check () const |
virtual | ~MkObjectC () |
MK_MNG | getMNG () const |
MK_STRN | ToNativeNameOfClass () const |
MK_STR | SysStrDup (MK_STRN str) |
void | SysFree (MK_PTR tgt) |
void | Sleep (unsigned int const sec) |
void | USleep (unsigned int const usec) |
void | HandleDelete () |
MK_BOOL | HandleExists () |
MK_HDL | HandleGet () |
MK_HDL | HandleGetOfType () |
MK_HDL | HandleGetOr0 () |
MkObjectC * | Next () |
MkObjectC * | Prev () |
void | DbgDump (MK_STRN message="var", MK_STRN callfunc=__builtin_FUNCTION()) const |
void | DbgL (MK_STRN message, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const |
void | DbgL (const std::string &message, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const |
void | DbgLogC (MK_STRN callfunc=__builtin_FUNCTION()) const |
void | DbgO (MK_STRN callfunc=__builtin_FUNCTION()) const |
void | DbgSTACK (MK_I32 skip=0, MK_I32 num=-1, MK_STRN callfunc=__builtin_FUNCTION()) const |
void | LogC (MK_STRN message, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION()) const |
void | LogC (const std::string &message, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION()) const |
void | LogHEX (MK_STRN callfunc, MK_BNP data) const |
void | LogHEX (const std::string &callfunc, MK_BNP data) const |
void | LogV (MK_STRN callfunc, MK_DBG debug, MK_FST printfmt,...) const |
void | LogV (const std::string &callfunc, MK_DBG debug, MK_FST printfmt,...) const |
void | LogVL (MK_STRN callfunc, MK_DBG debug, MK_FST printfmt, va_list var_list) const |
void | LogVL (const std::string &callfunc, MK_DBG debug, MK_FST printfmt, va_list var_list) const |
void | Log (const MkObjectC *fmtobj=NULL, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const |
void | Log (const MkObjectC &fmtobj, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const |
void | LogLong (const MkObjectC *fmtobj=NULL, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const |
void | LogLong (const MkObjectC &fmtobj, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const |
void | LogShort (const MkObjectC *fmtobj=NULL, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const |
void | LogShort (const MkObjectC &fmtobj, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const |
void | LogType (const MkObjectC *fmtobj=NULL, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const |
void | LogType (const MkObjectC &fmtobj, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const |
MkErrorC * | ErrorCatch (std::exception *exception=NULL, MK_STRN callfunc=__builtin_FUNCTION()) const |
MkErrorC * | ErrorCatch (const std::exception &exception, MK_STRN callfunc=__builtin_FUNCTION()) const |
MkErrorC * | ToError () |
MK_BOOL | IsNull () |
MK_STRN | ToName () const |
MK_STRN | ToNameOfClass () |
MK_STRN | ToNameOfType () const |
MK_STRN | ToString () const |
MK_I32 | RefGet () |
void | SysKill (MK_I32 pid, MK_I32 signal) const |
MK_I32 | SysGetPid () const |
void | Delete () |
void | Dispose () |
void | DeleteCallbackSetup (MK_STRN ident, MkObjectDeleteCCB callback=NULL, MK_STRN filter=NULL) |
void | DeleteCallbackSetup (const std::string &ident, MkObjectDeleteCCB callback=NULL, MK_STRN filter=NULL) |
void | DeleteCallbackSetup (MK_STRN ident, MkObjectDeleteICB callback=NULL, MK_STRN filter=NULL) |
void | DeleteCallbackSetup (const std::string &ident, MkObjectDeleteICB callback=NULL, MK_STRN filter=NULL) |
Static Public Member Functions | |
static Sq3LiteC * | Sq3LiteC_ObjNew (MK_RT_ARGS SQ3_LITE hdl) |
return Sq3LiteC from LibMsgqueObject | |
static SQ3_LITE | getLITE (Sq3LiteC *clsHdl) |
return LibMsgqueObject from current Sq3LiteC pointer | |
static SQ3_LITE | getLITE__null_allow (Sq3LiteC *clsHdl) |
return LibMsgqueObject from current Sq3LiteC pointer | |
static SQ3_LITEN | getLITEN (const Sq3LiteC *clsHdl) |
(const) return LibMsgqueObject from current Sq3LiteC pointer | |
static SQ3_LITEN | getLITEN__null_allow (const Sq3LiteC *clsHdl) |
(const) return LibMsgqueObject from current Sq3LiteC pointer | |
static SQ3_LITE | getLITE (const Sq3LiteC &clsHdl) |
return LibMsgqueObject from current Sq3LiteC reference | |
static SQ3_LITE | getLITE__null_allow (const Sq3LiteC &clsHdl) |
return LibMsgqueObject from current Sq3LiteC reference | |
static SQ3_LITEN | getLITEN (const Sq3LiteC &clsHdl) |
(const) return LibMsgqueObject from current Sq3LiteC reference | |
static SQ3_LITEN | getLITEN__null_allow (const Sq3LiteC &clsHdl) |
(const) return LibMsgqueObject from current Sq3LiteC reference | |
static Sq3LiteC * | HandleResolve (MK_HDL netHdl) |
C++: → C-API Handle-Resolve-Slot - return a Sq3LiteC from netHdl or MK_NULL if invalid… | |
static Sq3LiteC * | Instances () |
C++: → C-API get head-instance from linked-list of Sq3LiteS type … | |
static Sq3LiteC * | GetNull () |
C++: → C-API Null-Slot - return a Sq3LiteC typed NULL instance … | |
static MK_STRN | ErrStr (MK_I32 arg0) |
C++: → C-API Error Codes And Messages … | |
static void | Sleep (MK_I32 arg0) |
C++: → C-API Suspend Execution For A Short Time … | |
static Sq3LiteC * | OpenV2 (MK_STRN filename, Sq3OpenEF flags=SQ3_OPEN_READWRITE|SQ3_OPEN_CREATE, MK_STRN zVfs=NULL) |
C++: → C-API Opening A New Database Connection … | |
static Sq3LiteC * | OpenV2 (const std::string &filename, Sq3OpenEF flags=SQ3_OPEN_READWRITE|SQ3_OPEN_CREATE, MK_STRN zVfs=NULL) |
C++: → C-API Opening A New Database Connection … | |
![]() | |
static MkObjectC * | MkObjectC_ObjNew (MK_RT_ARGS MK_OBJ hdl) |
static MK_OBJ | getOBJ (MkObjectC *clsHdl) |
static MK_OBJ | getOBJ__null_allow (MkObjectC *clsHdl) |
static MK_OBJN | getOBJN (const MkObjectC *clsHdl) |
static MK_OBJN | getOBJN__null_allow (const MkObjectC *clsHdl) |
static MK_OBJ | getOBJ (const MkObjectC &clsHdl) |
static MK_OBJ | getOBJ__null_allow (const MkObjectC &clsHdl) |
static MK_OBJN | getOBJN (const MkObjectC &clsHdl) |
static MK_OBJN | getOBJN__null_allow (const MkObjectC &clsHdl) |
static MkObjectC * | HandleResolve (MK_HDL netHdl) |
static void | HandleDeleteByNetHdl (MK_HDL netHdl) |
static MkObjectC * | Instances () |
static MkObjectC * | GetNull () |
static void | DbgM (MK_STRN message, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) |
static void | DbgM (const std::string &message, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) |
static MK_I32 | SysHashI32 (MK_STRN key, MK_NUM length=-1) |
static MK_I32 | SysHashI32 (const std::string &key, MK_NUM length=-1) |
static MK_STRN | SysHashSTR (MK_STRN key, MK_NUM length=-1) |
static MK_STRN | SysHashSTR (const std::string &key, MK_NUM length=-1) |
static void | DeleteCallbackCleanup (MK_STRN ident) |
static void | DeleteCallbackCleanup (const std::string &ident) |
static void | DeleteCallbackSetup (MK_STRN ident, MkObjectDeleteSCB callback=NULL, MK_STRN filter=NULL) |
static void | DeleteCallbackSetup (const std::string &ident, MkObjectDeleteSCB callback=NULL, MK_STRN filter=NULL) |
Static Public Attributes | |
static thread_local Sq3LiteC | MK_NULL_REF = {(MK_OBJ)0} |
![]() | |
static thread_local MkObjectC | MK_NULL_REF |
Friends | |
class | Sq3Lite |
class | Sq3LiteExecCallbackC |
Additional Inherited Members | |
![]() | |
typedef void(MkObjectC::*) | MkObjectDeleteICB(MK_STRN const, MK_HDL const, MK_HDL const) |
typedef void(*) | MkObjectDeleteCCB(MkObjectC *, MK_STRN const, MK_HDL const, MK_HDL const) |
typedef void(MkObjectC::* | MkObjectDeleteICB) (MK_STRN const, MK_HDL const, MK_HDL const) |
typedef void(* | MkObjectDeleteCCB) (MkObjectC *, MK_STRN const, MK_HDL const, MK_HDL const) |
![]() | |
void | atomInit (MK_OBJ obj) |
void | atomUnlink () |
MkObjectC () | |
MkObjectC (MK_OBJ obj) | |
void | ErrorCheck (enum MkErrorE err, MK_STRN const caller=__builtin_FUNCTION(), MK_I32 const line=__builtin_LINE()) const |
void | ErrorCheck (MK_STRN const caller=__builtin_FUNCTION(), MK_I32 const line=__builtin_LINE()) const |
![]() | |
static void | ErrorCheck (MK_MNGN mng, enum MkErrorE err, MK_STRN const caller=__builtin_FUNCTION(), MK_I32 const line=__builtin_LINE()) |
static MK_PTR | atomObjNew (MK_RT_ARGS MK_OBJ obj) |
static MK_PTR | atomObjCreate (MK_RT_ARGS MK_OBJ obj) |
![]() | |
MK_OBJ | hdl |
MK_RT | mkrt |
Struct to represent the data of the Sq3LiteC … → C-API: libsq3lite::Sq3LiteS
Definition at line 63 of file Sq3LiteC_cc.hh.
|
friend |
Definition at line 65 of file Sq3LiteC_cc.hh.
|
friend |
Definition at line 66 of file Sq3LiteC_cc.hh.