theSq3Lite 10.0
|
Sq3ValueC - the class known as sq3val or Value define by Sq3ValueS … More...
Public Member Functions | |
native Sq3ValueC | Next () |
Java: → C-API get next instance from linked-list of Sq3ValueS type | |
native Sq3ValueC | Prev () |
Java: → C-API get previous instance from linked-list of Sq3ValueS type | |
native Sq3TextE | Bytes () |
Java: → C-API Obtaining SQL Values … | |
native Sq3TextE | Encoding () |
Java: → C-API Report the internal text encoding state of an sqlite3_value object … | |
native boolean | FromBind () |
Java: → C-API Obtaining SQL Values … | |
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 boolean | NoChange () |
Java: → C-API Obtaining SQL Values … | |
native Sq3TypeE | NumericType () |
Java: → C-API Obtaining SQL Values … | |
native int | SubType () |
Java: → C-API Finding The Subtype Of SQL Values … | |
native Sq3TypeE | Type () |
Java: → C-API Obtaining SQL Values … | |
native Sq3ValueC | Dup () |
Java: → C-API Copy And Free SQL Values … | |
native MkBufferC | BUF () |
Java: → C-API Obtaining a MkBufferC value… | |
native MkBufferC | Blob () |
Java: → C-API Obtaining SQL Values … | |
native byte[] | BinaryR () |
Java: → C-API Obtaining SQL Values … | |
native double | Double () |
Java: → C-API Obtaining SQL Values … | |
native int | Int () |
Java: → C-API Obtaining SQL Values … | |
native long | Int64 () |
Java: → C-API Obtaining SQL Values … | |
native String | StringR () |
Java: → C-API Obtaining SQL Values … | |
native String | Text () |
Java: → C-API Obtaining SQL Values … | |
native Sq3ValueC | VtabInFirst () |
Java: → C-API Find all elements on the right-hand side of an IN constraint … | |
native Sq3ValueC | VtabInNext () |
Java: → C-API Find all elements on the right-hand side of an IN constraint … | |
![]() | |
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 Sq3ValueC | HandleResolve (int netHdl) |
Java: → C-API Handle-Resolve-Slot - return a Sq3ValueC from netHdl or null if invalid… | |
static native Sq3ValueC | Instances () |
Java: → C-API get head-instance from linked-list of Sq3ValueS type … | |
static native Sq3ValueC | GetNull () |
Java: → C-API Null-Slot - return a Sq3ValueC typed NULL instance … | |
![]() | |
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) |
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 20 of file Sq3ValueC.java.