theSq3Lite 10.0 NHI1 - theKernel - theLink - theConfig - theSq3Lite - theCompiler - theBrain - theGuard - theLib - theATL
c - tcl - atl - cs - py - rb - jv - cc
Loading...
Searching...
No Matches
Sq3StmtC_Misc_JV_API

Sq3StmtC - various functions to perform misc operations … More...

+ Collaboration diagram for Sq3StmtC_Misc_JV_API:

Functions

static native Sq3StmtC jvsq3lite.Sq3StmtC.NextStmt (Sq3LiteC pDb, Sq3StmtC pStmt)
  Java: [static] Sq3StmtC Sq3StmtC.NextStmt(Sq3LiteC pDb, ?Sq3StmtC pStmt = null?) C-API
Find the next prepared statement …
 
static Sq3StmtC jvsq3lite.Sq3StmtC.NextStmt (Sq3LiteC pDb)
  Java: [static] Sq3StmtC Sq3StmtC.NextStmt(Sq3LiteC pDb, ?Sq3StmtC pStmt = null?) C-API
Find the next prepared statement …
 
native void jvsq3lite.Sq3StmtC.ClearBindings ()
  Java: sq3stmt.ClearBindings() C-API
Reset All Bindings On A Prepared Statement …
 
native void jvsq3lite.Sq3StmtC.Explain (int eMode)
  Java: pStmt.Explain(int eMode) C-API
Change The EXPLAIN Setting For A Prepared Statement …
 
native void jvsq3lite.Sq3StmtC.Reset ()
  Java: pStmt.Reset() C-API
Reset A Prepared Statement Object …
 
native Sq3ErrorE jvsq3lite.Sq3StmtC.Step ()
  Java: Sq3ErrorE sq3stmt.Step() C-API
Evaluate An SQL Statement …
 
JNIEXPORT jobject JNICALL Java_jvsq3lite_Sq3StmtC_NextStmt (JNIEnv *env, jclass class, jobject pDb, jobject pStmt)
  Java: [static] Sq3StmtC Sq3StmtC.NextStmt(Sq3LiteC pDb, ?Sq3StmtC pStmt = null?) C-API
Find the next prepared statement …
 
JNIEXPORT void JNICALL Java_jvsq3lite_Sq3StmtC_ClearBindings (JNIEnv *env, jobject self)
  Java: sq3stmt.ClearBindings() C-API
Reset All Bindings On A Prepared Statement …
 
JNIEXPORT void JNICALL Java_jvsq3lite_Sq3StmtC_Explain (JNIEnv *env, jobject self, jint eMode)
  Java: pStmt.Explain(int eMode) C-API
Change The EXPLAIN Setting For A Prepared Statement …
 
JNIEXPORT void JNICALL Java_jvsq3lite_Sq3StmtC_Reset (JNIEnv *env, jobject self)
  Java: pStmt.Reset() C-API
Reset A Prepared Statement Object …
 
JNIEXPORT jobject JNICALL Java_jvsq3lite_Sq3StmtC_Step (JNIEnv *env, jobject self)
  Java: Sq3ErrorE sq3stmt.Step() C-API
Evaluate An SQL Statement …
 

Detailed Description

Sq3StmtC - various functions to perform misc operations …

Function Documentation

◆ ClearBindings()

native void jvsq3lite.Sq3StmtC.ClearBindings ( )

Java: sq3stmt.ClearBindings() C-API
Reset All Bindings On A Prepared Statement …

◆ Explain()

native void jvsq3lite.Sq3StmtC.Explain ( int eMode)

Java: pStmt.Explain(int eMode) C-API
Change The EXPLAIN Setting For A Prepared Statement …

◆ Java_jvsq3lite_Sq3StmtC_ClearBindings()

JNIEXPORT void JNICALL Java_jvsq3lite_Sq3StmtC_ClearBindings ( JNIEnv * env,
jobject self )

Java: sq3stmt.ClearBindings() C-API
Reset All Bindings On A Prepared Statement …

Definition at line 519 of file Sq3StmtC_jv.c.

519 {
520 SQ3_STMT hdl = (SQ3_STMT)pObj2Hdl(env,"Sq3StmtC",self);
521 JavaErrorCheck;
522 MkRtSetup_X(hdl);
523 enum MkErrorE errVal = Sq3StmtClearBindings(hdl);
524 MkErrorC_Check(hdl, errVal)
525error:
526 return;
527}
MkErrorE
#define MkRtSetup_X(x)
struct Sq3StmtS * SQ3_STMT
class-shortcut for struct Sq3StmtS *, all shortcut using the XX_YYY syntax (only for public API) …
static enum MkErrorE Sq3StmtClearBindings(SQ3_STMT sq3stmt)
Reset All Bindings On A Prepared Statement …
Struct to represent the data of the Sq3StmtC …

◆ Java_jvsq3lite_Sq3StmtC_Explain()

JNIEXPORT void JNICALL Java_jvsq3lite_Sq3StmtC_Explain ( JNIEnv * env,
jobject self,
jint eMode )

Java: pStmt.Explain(int eMode) C-API
Change The EXPLAIN Setting For A Prepared Statement …

Definition at line 530 of file Sq3StmtC_jv.c.

530 {
531 SQ3_STMT hdl = (SQ3_STMT)pObj2Hdl(env,"Sq3StmtC",self);
532 JavaErrorCheck;
533 MkRtSetup_X(hdl);
534 enum MkErrorE errVal = Sq3StmtExplain(hdl, eMode);
535 MkErrorC_Check(hdl, errVal)
536error:
537 return;
538}
static enum MkErrorE Sq3StmtExplain(SQ3_STMT pStmt, MK_I32 eMode)
Change The EXPLAIN Setting For A Prepared Statement …

◆ Java_jvsq3lite_Sq3StmtC_NextStmt()

JNIEXPORT jobject JNICALL Java_jvsq3lite_Sq3StmtC_NextStmt ( JNIEnv * env,
jclass class,
jobject pDb,
jobject pStmt )

Java: [static] Sq3StmtC Sq3StmtC.NextStmt(Sq3LiteC pDb, ?Sq3StmtC pStmt = null?) C-API
Find the next prepared statement …

Definition at line 503 of file Sq3StmtC_jv.c.

503 {
505 SQ3_LITE pDb_hdl = (SQ3_LITE)pObj2Hdl(env,"Sq3LiteC",pDb);
506 JavaErrorCheck;
507 SQ3_STMT pStmt_hdl = (SQ3_STMT)pObj2Hdl__null_allow(env,pStmt);
508 JavaErrorCheck;
509 SQ3_STMT __retVal__L = Sq3StmtNextStmt(pDb_hdl, pStmt_hdl);
510 jobject __retVal__S = SQ3(Sq3StmtC_ObjNew)(MK_RT_CALL env,__retVal__L);
511 return __retVal__S;
512error:
513 return 0;
514}
#define MK_RT_CALL
#define MkRtSetup_NULL
struct Sq3LiteS * SQ3_LITE
class-shortcut for struct Sq3LiteS *, all shortcut using the XX_YYY syntax (only for public API) …
static MK_ARTIFICIAL SQ3_STMT Sq3StmtC_ObjNew(sqlite3_stmt *hdl)
return Programming-Language-Micro-Kernel (PLMK) instance from native hdl …
static SQ3_STMT Sq3StmtNextStmt(SQ3_LITE pDb, SQ3_STMT pStmt)
Find the next prepared statement …
Struct to represent the data of the Sq3LiteC …

◆ Java_jvsq3lite_Sq3StmtC_Reset()

JNIEXPORT void JNICALL Java_jvsq3lite_Sq3StmtC_Reset ( JNIEnv * env,
jobject self )

Java: pStmt.Reset() C-API
Reset A Prepared Statement Object …

Definition at line 541 of file Sq3StmtC_jv.c.

541 {
542 SQ3_STMT hdl = (SQ3_STMT)pObj2Hdl(env,"Sq3StmtC",self);
543 JavaErrorCheck;
544 MkRtSetup_X(hdl);
545 enum MkErrorE errVal = Sq3StmtReset(hdl);
546 MkErrorC_Check(hdl, errVal)
547error:
548 return;
549}
static enum MkErrorE Sq3StmtReset(SQ3_STMT pStmt)
Reset A Prepared Statement Object …

◆ Java_jvsq3lite_Sq3StmtC_Step()

JNIEXPORT jobject JNICALL Java_jvsq3lite_Sq3StmtC_Step ( JNIEnv * env,
jobject self )

Java: Sq3ErrorE sq3stmt.Step() C-API
Evaluate An SQL Statement …

Definition at line 554 of file Sq3StmtC_jv.c.

554 {
555 SQ3_STMT hdl = (SQ3_STMT)pObj2Hdl(env,"Sq3StmtC",self);
556 JavaErrorCheck;
557 MkRtSetup_X(hdl);
558 enum Sq3ErrorE retCode;
559 enum MkErrorE errVal = Sq3StmtStep(hdl, &retCode);
560 MkErrorC_Check(hdl, errVal)
561 jobject __retVal__S = MK(pGetEnumFromString)(env,SQ3(Class_Sq3ErrorE),"Ljvsq3lite/Sq3ErrorE;",Sq3ErrorE_ToString(retCode));
562 return __retVal__S;
563error:
564 return 0;
565}
MK_STRN Sq3ErrorE_ToString(enum Sq3ErrorE value)
return the Sq3ErrorE as string …
Sq3ErrorE
Result Codes.
static enum MkErrorE Sq3StmtStep(SQ3_STMT sq3stmt, enum Sq3ErrorE *retCode)
Evaluate An SQL Statement …

◆ NextStmt() [1/2]

static Sq3StmtC jvsq3lite.Sq3StmtC.NextStmt ( Sq3LiteC pDb)
inlinestatic

Java: [static] Sq3StmtC Sq3StmtC.NextStmt(Sq3LiteC pDb, ?Sq3StmtC pStmt = null?) C-API
Find the next prepared statement …

Definition at line 236 of file Sq3StmtC.java.

236 {
237 return NextStmt (pDb, (Sq3StmtC) null);
238 }
static native Sq3StmtC NextStmt(Sq3LiteC pDb, Sq3StmtC pStmt)
Java: [static] Sq3StmtC Sq3StmtC.NextStmt(Sq3LiteC pDb, ?Sq3StmtC pStmt = null?) → C-API Find th...

◆ NextStmt() [2/2]

static native Sq3StmtC jvsq3lite.Sq3StmtC.NextStmt ( Sq3LiteC pDb,
Sq3StmtC pStmt )
static

Java: [static] Sq3StmtC Sq3StmtC.NextStmt(Sq3LiteC pDb, ?Sq3StmtC pStmt = null?) C-API
Find the next prepared statement …

+ Here is the caller graph for this function:

◆ Reset()

native void jvsq3lite.Sq3StmtC.Reset ( )

Java: pStmt.Reset() C-API
Reset A Prepared Statement Object …

◆ Step()

native Sq3ErrorE jvsq3lite.Sq3StmtC.Step ( )

Java: Sq3ErrorE sq3stmt.Step() C-API
Evaluate An SQL Statement …