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

Sq3ValueC - the class known as sq3val or Value define by Sq3ValueSMore...

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

Public Member Functions

native Sq3ValueC Next ()
  Java: Sq3ValueC val.Next() C-API
get next instance from linked-list of Sq3ValueS type
 
native Sq3ValueC Prev ()
  Java: Sq3ValueC val.Prev() C-API
get previous instance from linked-list of Sq3ValueS type
 
native Sq3TextE Bytes ()
  Java: Sq3TextE sq3val.Bytes() C-API
Obtaining SQL Values …
 
native Sq3TextE Encoding ()
  Java: Sq3TextE sq3val.Encoding() C-API
Report the internal text encoding state of an sqlite3_value object …
 
native boolean FromBind ()
  Java: boolean sq3val.FromBind() C-API
Obtaining SQL Values …
 
void Log ()
  Java: val.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the val
 
void Log (MkObjectC fmtobj)
  Java: val.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the val
 
void Log (MkObjectC fmtobj, int debug)
  Java: val.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the val
 
void Log (MkObjectC fmtobj, int debug, String callfunc)
  Java: val.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the val
 
native boolean NoChange ()
  Java: boolean sq3val.NoChange() C-API
Obtaining SQL Values …
 
native Sq3TypeE NumericType ()
  Java: Sq3TypeE sq3val.NumericType() C-API
Obtaining SQL Values …
 
native int SubType ()
  Java: int sq3val.SubType() C-API
Finding The Subtype Of SQL Values …
 
native Sq3TypeE Type ()
  Java: Sq3TypeE sq3val.Type() C-API
Obtaining SQL Values …
 
native Sq3ValueC Dup ()
  Java: [constructor] Sq3ValueC sq3val.Dup() C-API
Copy And Free SQL Values …
 
native MkBufferC BUF ()
  Java: MkBufferC val.BUF() C-API
Obtaining a MkBufferC value…
 
native MkBufferC Blob ()
  Java: MkBufferC sq3val.Blob() C-API
Obtaining SQL Values …
 
native byte[] BinaryR ()
  Java: byte[] sq3val.BinaryR() C-API
Obtaining SQL Values …
 
native double Double ()
  Java: double sq3val.Double() C-API
Obtaining SQL Values …
 
native int Int ()
  Java: int sq3val.Int() C-API
Obtaining SQL Values …
 
native long Int64 ()
  Java: long sq3val.Int64() C-API
Obtaining SQL Values …
 
native String StringR ()
  Java: String sq3val.StringR() C-API
Obtaining SQL Values …
 
native String Text ()
  Java: String sq3val.Text() C-API
Obtaining SQL Values …
 
native Sq3ValueC VtabInFirst ()
  Java: Sq3ValueC pVal.VtabInFirst() C-API
Find all elements on the right-hand side of an IN constraint …
 
native Sq3ValueC VtabInNext ()
  Java: Sq3ValueC pVal.VtabInNext() C-API
Find all elements on the right-hand side of an IN constraint …
 
- 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 Sq3ValueC HandleResolve (int netHdl)
  Java: [static] Sq3ValueC Sq3ValueC.HandleResolve(int netHdl) C-API
Handle-Resolve-Slot - return a Sq3ValueC from netHdl or null if invalid…
 
static native Sq3ValueC Instances ()
  Java: [static] Sq3ValueC Sq3ValueC.Instances() C-API
get head-instance from linked-list of Sq3ValueS type …
 
static native Sq3ValueC GetNull ()
  Java: [static] Sq3ValueC Sq3ValueC.GetNull() C-API
Null-Slot - return a Sq3ValueC typed NULL instance …
 
- 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

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:

struct sqlite3_value sqlite3_value

Definition at line 20 of file Sq3ValueC.java.


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