theSq3Lite 10.0
|
Sq3ValueC - the class known as sq3val or Value define by Sq3ValueS … More...
Public Member Functions | |
new Sq3ValueC | Next () |
C#: → C-API get next instance from linked-list of Sq3ValueS type | |
new Sq3ValueC | Prev () |
C#: → C-API get previous instance from linked-list of Sq3ValueS type | |
Sq3TextE | Bytes () |
C#: → C-API Obtaining SQL Values … | |
Sq3TextE | Encoding () |
C#: → C-API Report the internal text encoding state of an sqlite3_value object … | |
bool | FromBind () |
C#: → C-API Obtaining SQL Values … | |
bool | NoChange () |
C#: → C-API Obtaining SQL Values … | |
Sq3TypeE | NumericType () |
C#: → C-API Obtaining SQL Values … | |
int | SubType () |
C#: → C-API Finding The Subtype Of SQL Values … | |
Sq3TypeE | Type () |
C#: → C-API Obtaining SQL Values … | |
Sq3ValueC | Dup () |
C#: → C-API Copy And Free SQL Values … | |
MkBufferC | BUF () |
C#: → C-API Obtaining a MkBufferC value… | |
MkBufferC | Blob () |
C#: → C-API Obtaining SQL Values … | |
byte[] | BinaryR () |
C#: → C-API Obtaining SQL Values … | |
double | Double () |
C#: → C-API Obtaining SQL Values … | |
int | Int () |
C#: → C-API Obtaining SQL Values … | |
long | Int64 () |
C#: → C-API Obtaining SQL Values … | |
string | StringR () |
C#: → C-API Obtaining SQL Values … | |
string | Text () |
C#: → C-API Obtaining SQL Values … | |
Sq3ValueC | VtabInFirst () |
C#: → C-API Find all elements on the right-hand side of an IN constraint … | |
Sq3ValueC | VtabInNext () |
C#: → C-API Find all elements on the right-hand side of an IN constraint … | |
![]() | |
delegate void | MkObjectDeleteSCB (string typeName, int typeHdl, int objHdl) |
void | ErrorCheck (MkErrorE err) |
bool | Check () |
string | ToNameOfClass () |
void | HandleDelete () |
bool | HandleExists () |
Int32 | HandleGet () |
Int32 | HandleGetOfType () |
Int32 | HandleGetOr0 () |
MkObjectC | Next () |
MkObjectC | Prev () |
void | DbgDump (string message="var",[CallerMemberName]string callfunc=null) |
void | DbgL (string message, int debug=0,[CallerMemberName]string callfunc=null, int lvl=0) |
void | DbgLogC ([CallerMemberName]string callfunc=null) |
void | DbgO ([CallerMemberName]string callfunc=null) |
void | DbgSTACK (int skip=0, int num=-1,[CallerMemberName]string callfunc=null) |
void | LogC (string message, int debug=0,[CallerMemberName]string callfunc=null) |
void | LogHEX (string callfunc, byte[] data) |
void | Log (MkObjectC fmtobj=null, int debug=0,[CallerMemberName]string callfunc=null, int lvl=0) |
void | LogLong (MkObjectC fmtobj=null, int debug=0,[CallerMemberName]string callfunc=null, int lvl=0) |
void | LogShort (MkObjectC fmtobj=null, int debug=0,[CallerMemberName]string callfunc=null, int lvl=0) |
void | LogType (MkObjectC fmtobj=null, int debug=0,[CallerMemberName]string callfunc=null, int lvl=0) |
MkErrorC | ErrorCatch (Exception exception=null,[CallerMemberName]string callfunc=null) |
MkErrorC | ToError () |
bool | IsNull () |
string | ToName () |
string | ToNameOfType () |
override string | ToString () |
int | RefGet () |
void | SysKill (int pid, int signal) |
int | SysGetPid () |
void | Dispose () |
void | Delete () |
Static Public Member Functions | |
static Sq3ValueC | Sq3ValueC_ObjNew (IntPtr hdl) |
new static Sq3ValueC | HandleResolve (Int32 netHdl) |
C#: → C-API Handle-Resolve-Slot - return a Sq3ValueC from netHdl or null if invalid… | |
new static Sq3ValueC | Instances () |
C#: → C-API get head-instance from linked-list of Sq3ValueS type … | |
new static Sq3ValueC | GetNull () |
C#: → C-API Null-Slot - return a Sq3ValueC typed NULL instance … | |
![]() | |
static MkObjectC | MkObjectC_ObjNew (IntPtr hdl) |
static IntPtr | getOBJ (string cls, MkObjectC obj) |
static IntPtr | getOBJ_null_allow (MkObjectC obj) |
static MkObjectC | HandleResolve (Int32 netHdl) |
static void | HandleDeleteByNetHdl (Int32 netHdl) |
static MkObjectC | Instances () |
static MkObjectC | GetNull () |
static void | DbgM (string message, int debug=0,[CallerMemberName]string callfunc=null, int lvl=0) |
static int | SysHashI32 (string key, int length=-1) |
static string | SysHashSTR (string key, int length=-1) |
static void | DeleteCallbackCleanup (string ident) |
static void | DeleteCallbackSetup (string ident, MkObjectDeleteSCB callback=null, string filter=null) |
static int | getPId () |
static int | getTId () |
static string | getStackTrace (int level=2) |
static string | getCallerProc (int level=2) |
static int | getCallerLine (int level=2) |
static string | getCallerFile (int level=2) |
Additional Inherited Members | |
![]() | |
MkObjectC (IntPtr obj) | |
MkObjectC () | |
virtual void | Dispose (bool disposing) |
![]() | |
static object | atomObjNew (Type type, ConstructorInfo ctor, IntPtr obj) |
static object | atomObjCreate (Type type, ConstructorInfo ctor, IntPtr obj) |
static IntPtr | atomSelfCreate (ConstructorInfo ctor, IntPtr obj, IntPtr env) |
static object | atomSelfNull (ConstructorInfo ctor) |
static void | atomSelfUnlink (IntPtr self, IntPtr env) |
static ConstructorInfo | getCtor (Type type) |
static string | Name (IntPtr mkrt, IntPtr obj) |
![]() | |
IntPtr | pmkrt |
![]() | |
IntPtr | hdl |
IntPtr | hdl_null_allow |
IntPtr | mkrt |
Sq3ValueC - the class known as sq3val or Value define by Sq3ValueS …
Struct to represent the data of the Sq3ValueC …
Dynamically Typed Value Object …
SQLite uses the Sq3ValueC object to represent all values that can be stored in a database table. SQLite uses dynamic typing for the values it stores. Values stored in Sq3ValueC objects can be integers, floating point values, strings, BLOBs, or NULL.
An Sq3ValueC object may be either "protected" or "unprotected". Some interfaces require a protected Sq3ValueC. Other interfaces will accept either a protected or an unprotected Sq3ValueC. Every interface that accepts Sq3ValueC arguments specifies whether or not it requires a protected Sq3ValueC. The Sq3ValueDup () interface can be used to construct a new protected Sq3ValueC from an unprotected Sq3ValueC.
The terms "protected" and "unprotected" refer to whether or not a mutex is held. An internal mutex is held for a protected Sq3ValueC object but no mutex is held for an unprotected Sq3ValueC object. If SQLite is compiled to be single-threaded (with SQLITE_THREADSAFE=0 and with Sq3Threadsafe () returning 0) or if SQLite is run in one of reduced mutex modes SQ3_CONFIG_SINGLETHREAD or SQ3_CONFIG_MULTITHREAD then there is no distinction between protected and unprotected Sq3ValueC objects and they can be used interchangeably. However, for maximum code portability it is recommended that applications still make the distinction between protected and unprotected Sq3ValueC objects even when not strictly required.
The Sq3ValueC objects that are passed as parameters into the implementation of application-defined SQL functions are protected. The Sq3ValueC objects returned by sqlite3_vtab_rhs_value () are protected. The Sq3ValueC object returned by Sq3StmtColumnValue () is unprotected. Unprotected Sq3ValueC objects may only be used as arguments to sqlite3_result_value (), Sq3StmtBindValue (), and Sq3ValueDup (). The sqlite3_value_type() family of interfaces require protected Sq3ValueC objects.
Reference code from sqlite3:
Definition at line 290 of file Sq3ValueC_cs.cs.
|
inlinestatic |
Definition at line 38 of file Sq3ValueC_cs.cs.