theSq3Lite 10.0
Loading...
Searching...
No Matches
Sq3StmtC.java
Go to the documentation of this file.
1
9/* LABEL-INIT */
10package jvsq3lite;
11
12import jvmkkernel.*;
13
14/* LABEL-START */
15
20public class Sq3StmtC extends MkObjectC {
21
22 static {
23 Sq3Lite.Setup();
24 }
25
26 private Sq3StmtC (long mng, boolean dummy) {
27 super(mng,dummy);
28 }
29
30/* LABEL-END */
31
32 // INTERNAL
33
34 // PUBLIC
35
36 // BEGIN-Sq3StmtC - created by 'jv_MqS.tcl -i NHI1_HOME/theSq3Lite/c/gen/c_sq3lite.meta' - DO NOT change
37
41
42 // doc-key: Sq3StmtC,Sq3StmtC-Bind,om_
43
45 public native void BindBlob (int pos, byte[] blob);
46
48 public native void BindDouble (int arg1, double arg2);
49
51 public native void BindInt (int arg1, int arg2);
52
54 public native void BindInt64 (int arg1, long arg2);
55
57 public native void BindNull (int arg1);
58
60 public native void BindParameterCount ();
61
63 public native void BindParameterIndex (String zName);
64
66 public native String BindParameterName (int arg1);
67
69 public native void BindText (int pos, String text);
70
72 public native void BindValue (int arg1, Sq3ValueC arg2);
73
75 public native void BindZeroblob (int arg1, int n);
76
78 public native void BindZeroblob64 (int arg1, long arg2);
79
81 // Sq3StmtC_Bind_JV_API
82
86
87 // doc-key: Sq3StmtC,Sq3StmtC-Class-Export,sc_
88
90 public native static Sq3StmtC HandleResolve (int netHdl);
91
92 // doc-key: Sq3StmtC,Sq3StmtC-Class-Export,om_
93
94 // skip class-overload: public native int HandleGet ()
95
97 // Sq3StmtC_Class_JV_API
98
102
103 // doc-key: Sq3StmtC,Sq3StmtC-Class-Introspection,oc_
104
106 public native Sq3StmtC Next ();
107
109 public native Sq3StmtC Prev ();
110
111 // doc-key: Sq3StmtC,Sq3StmtC-Class-Introspection,sc_
112
114 public native static Sq3StmtC Instances ();
115
117 // Sq3StmtC_Class_JV_API
118
122
123 // doc-key: Sq3StmtC,Sq3StmtC-Class-Misc,sc_
124
126 public native static Sq3StmtC GetNull ();
127
129 // Sq3StmtC_Class_JV_API
130
134
135 // doc-key: Sq3StmtC,Sq3StmtC-Column,oc_
136
138 public native Sq3ValueC ColumnValue (int iCol);
139
140 // doc-key: Sq3StmtC,Sq3StmtC-Column,om_
141
143 public native byte[] ColumnBlob (int iCol);
144
146 public native int ColumnBytes (int iCol);
147
149 public native int ColumnCount ();
150
152 public native double ColumnDouble (int iCol);
153
155 public native int ColumnInt (int iCol);
156
158 public native long ColumnInt64 (int iCol);
159
161 public native String ColumnName (int N);
162
164 public native String ColumnText (int iCol);
165
167 public native Sq3TypeE ColumnType (int iCol);
168
170 // Sq3StmtC_Column_JV_API
171
175
176 // doc-key: Sq3StmtC,Sq3StmtC-Info,oc_
177
179 public native Sq3LiteC DbHandle ();
180
181 // doc-key: Sq3StmtC,Sq3StmtC-Info,om_
182
184 public native void Busy ();
185
187 public native void DataCount ();
188
190 public native void IsExplain ();
191
192 // skip class-overload: public native void Log (MkObjectC fmtobj, int debug, String callfunc, int lvl)
193
195 public void Log () {
196 Log ((MkObjectC) null, 0, null, 0);
197 }
198
200 public void Log (MkObjectC fmtobj) {
201 Log (fmtobj, 0, null, 0);
202 }
203
205 public void Log (MkObjectC fmtobj, int debug) {
206 Log (fmtobj, debug, null, 0);
207 }
208
210 public void Log (MkObjectC fmtobj, int debug, String callfunc) {
211 Log (fmtobj, debug, callfunc, 0);
212 }
213
215 public native void Readonly ();
216
218 public native void Status (Sq3StmtStatusE op, boolean resetFlg);
219
221 // Sq3StmtC_Info_JV_API
222
226
227 // doc-key: Sq3StmtC,Sq3StmtC-Misc,sc_
228
230 public native static Sq3StmtC NextStmt (Sq3LiteC pDb, Sq3StmtC pStmt);
231
233 public static Sq3StmtC NextStmt (Sq3LiteC pDb) {
234 return NextStmt (pDb, (Sq3StmtC) null);
235 }
236
237 // doc-key: Sq3StmtC,Sq3StmtC-Misc,om_
238
240 public native void ClearBindings ();
241
243 public native void Explain (int eMode);
244
246 public native void Reset ();
247
248 // doc-key: Sq3StmtC,Sq3StmtC-Misc,omo
249
251 public native Sq3ErrorE Step ();
252
254 // Sq3StmtC_Misc_JV_API
255
259
260 // doc-key: Sq3StmtC,Sq3StmtC-Sql,om_
261
263 public native String ExpandedSql ();
264
266 public native String GetPzTail ();
267
269 public native String Sql ();
270
272 // Sq3StmtC_Sql_JV_API
273
277
278 // doc-key: Sq3StmtC,Sq3StmtC-TOR,sCo
279
281 private native static long CTOR (Sq3LiteC db, String zSql);
282
284 public native static Sq3StmtC PrepareV2 (Sq3LiteC db, String zSql);
285
287 public Sq3StmtC (Sq3LiteC db, String zSql) {
288 this(CTOR(db, zSql), true);
289 }
290
292 public native static Sq3StmtC PrepareV3 (Sq3LiteC db, String zSql, Sq3PrepareEF prepFlags);
293
295 public static Sq3StmtC PrepareV3 (Sq3LiteC db, String zSql) {
296 return PrepareV3 (db, zSql, Sq3PrepareEF.AND(Sq3PrepareEF.Set.NO));
297 }
298
299 // doc-key: Sq3StmtC,Sq3StmtC-TOR,om_
300
302 public native void Finalize ();
303
305 // Sq3StmtC_TOR_JV_API
306
307 // END-Sq3StmtC - created by 'jv_MqS.tcl -i NHI1_HOME/theSq3Lite/c/gen/c_sq3lite.meta' - DO NOT change
308
309}
310
312// end: Sq3StmtC_JV_API
Sq3LiteC - the class known as sq3lite or Lite defined by Sq3LiteS …
Definition Sq3LiteC.java:20
Sq3Lite PACKAGE - toplevel package of the Programming-Language-Micro-Kernel (PLMK) …
Definition Sq3Lite.java:125
Java: enum Sq3PrepareEF → C-API
static Sq3PrepareEF AND(Sq3PrepareEF.Set... vals)
Sq3StmtC - the class known as sq3stmt or Statement defined by Sq3StmtS …
Definition Sq3StmtC.java:20
Sq3ValueC - the class known as sq3val or Value define by Sq3ValueS …
Java: enum Sq3ErrorE → C-API
Java: enum Sq3StmtStatusE → C-API
Java: enum Sq3TypeE → C-API
Definition Sq3TypeE.java:16
static void Setup()
Java: [static] Setup() → C-API setup jvsq3lite internal memory …
Definition Sq3Lite.java:613
native String BindParameterName(int arg1)
Java: String sq3stmt.BindParameterName(int arg1) → C-API Name Of A Host Parameter …
native void BindText(int pos, String text)
Java: sq3stmt.BindText(int pos, String text) → C-API Bind a MkStringR Value To a Prepared State...
native void BindValue(int arg1, Sq3ValueC arg2)
Java: sq3stmt.BindValue(int arg1, Sq3ValueC arg2) → C-API Binding Values To Prepared Statements...
native void BindDouble(int arg1, double arg2)
Java: sq3stmt.BindDouble(int arg1, double arg2) → C-API Binding Values To Prepared Statements …
native void BindInt(int arg1, int arg2)
Java: sq3stmt.BindInt(int arg1, int arg2) → C-API Binding Values To Prepared Statements …
native void BindZeroblob64(int arg1, long arg2)
Java: sq3stmt.BindZeroblob64(int arg1, long arg2) → C-API Binding Values To Prepared Statements...
native void BindParameterCount()
Java: sq3stmt.BindParameterCount() → C-API Number Of SQL Parameters …
native void BindNull(int arg1)
Java: sq3stmt.BindNull(int arg1) → C-API Binding Values To Prepared Statements …
native void BindZeroblob(int arg1, int n)
Java: sq3stmt.BindZeroblob(int arg1, int n) → C-API Binding Values To Prepared Statements …
native void BindInt64(int arg1, long arg2)
Java: sq3stmt.BindInt64(int arg1, long arg2) → C-API Binding Values To Prepared Statements …
native void BindParameterIndex(String zName)
Java: sq3stmt.BindParameterIndex(String zName) → C-API Index Of A Parameter With A Given Name …
native void BindBlob(int pos, byte[] blob)
Java: sq3stmt.BindBlob(int pos, byte[] blob) → C-API Bind a MkBinaryR Value To a Prepared State...
native Sq3StmtC Prev()
Java: Sq3StmtC stmt.Prev() → C-API get previous instance from linked-list of Sq3StmtS type
native Sq3StmtC Next()
Java: Sq3StmtC stmt.Next() → C-API get next instance from linked-list of Sq3StmtS type
static native Sq3StmtC GetNull()
Java: [static] Sq3StmtC Sq3StmtC.GetNull() → C-API Null-Slot - return a Sq3StmtC typed NULL inst...
static native Sq3StmtC HandleResolve(int netHdl)
Java: [static] Sq3StmtC Sq3StmtC.HandleResolve(int netHdl) → C-API Handle-Resolve-Slot - return ...
static native Sq3StmtC Instances()
Java: [static] Sq3StmtC Sq3StmtC.Instances() → C-API get head-instance from linked-list of Sq3St...
native byte[] ColumnBlob(int iCol)
Java: byte[] sq3stmt.ColumnBlob(int iCol) → C-API Result a MkBinaryR Value From A Query.
native long ColumnInt64(int iCol)
Java: long sq3stmt.ColumnInt64(int iCol) → C-API Result Values From A Query …
native double ColumnDouble(int iCol)
Java: double sq3stmt.ColumnDouble(int iCol) → C-API Result Values From A Query …
native Sq3ValueC ColumnValue(int iCol)
Java: Sq3ValueC sq3stmt.ColumnValue(int iCol) → C-API Result Values From A Query …
native String ColumnName(int N)
Java: String sq3stmt.ColumnName(int N) → C-API Column Names In A Result Set …
native int ColumnCount()
Java: int pStmt.ColumnCount() → C-API Number Of Columns In A Result Set …
native Sq3TypeE ColumnType(int iCol)
Java: Sq3TypeE sq3stmt.ColumnType(int iCol) → C-API Result Values From A Query …
native int ColumnInt(int iCol)
Java: int sq3stmt.ColumnInt(int iCol) → C-API Result Values From A Query …
native int ColumnBytes(int iCol)
Java: int sq3stmt.ColumnBytes(int iCol) → C-API Result Values From A Query …
native String ColumnText(int iCol)
Java: String sq3stmt.ColumnText(int iCol) → C-API Result a MkStringR Value From A Query.
native void IsExplain()
Java: pStmt.IsExplain() → C-API Query The EXPLAIN Setting For A Prepared Statement …
void Log()
Java: stmt.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?...
native void Status(Sq3StmtStatusE op, boolean resetFlg)
Java: sq3stmt.Status(Sq3StmtStatusE op, boolean resetFlg) → C-API Prepared Statement Status …
native void DataCount()
Java: pStmt.DataCount() → C-API Number of columns in a result set …
void Log(MkObjectC fmtobj)
Java: stmt.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?...
native void Readonly()
Java: pStmt.Readonly() → C-API Determine If An SQL Statement Writes The Database …
void Log(MkObjectC fmtobj, int debug, String callfunc)
Java: stmt.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?...
native Sq3LiteC DbHandle()
Java: Sq3LiteC sq3stmt.DbHandle() → C-API Find The Database Handle Of A Prepared Statement …
void Log(MkObjectC fmtobj, int debug)
Java: stmt.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?...
native void Busy()
Java: sq3stmt.Busy() → C-API Determine If A Prepared Statement Has Been Reset …
native void Explain(int eMode)
Java: pStmt.Explain(int eMode) → C-API Change The EXPLAIN Setting For A Prepared Statement …
static Sq3StmtC NextStmt(Sq3LiteC pDb)
Java: [static] Sq3StmtC Sq3StmtC.NextStmt(Sq3LiteC pDb, ?Sq3StmtC pStmt = null?) → C-API Find th...
native void Reset()
Java: pStmt.Reset() → C-API Reset A Prepared Statement Object …
static native Sq3StmtC NextStmt(Sq3LiteC pDb, Sq3StmtC pStmt)
Java: [static] Sq3StmtC Sq3StmtC.NextStmt(Sq3LiteC pDb, ?Sq3StmtC pStmt = null?) → C-API Find th...
native void ClearBindings()
Java: sq3stmt.ClearBindings() → C-API Reset All Bindings On A Prepared Statement …
native Sq3ErrorE Step()
Java: Sq3ErrorE sq3stmt.Step() → C-API Evaluate An SQL Statement …
native String Sql()
Java: String pStmt.Sql() → C-API Retrieving Statement SQL …
native String GetPzTail()
Java: String sq3stmt.GetPzTail() → C-API return the non compiled sql-statement from Sq3StmtPrep...
native String ExpandedSql()
Java: String pStmt.ExpandedSql() → C-API Retrieving Statement SQL …
native void Finalize()
Java: [destructor] pStmt.Finalize() → C-API Destroy A Prepared Statement Object …
Sq3StmtC(Sq3LiteC db, String zSql)
Java: [constructor,static] Sq3StmtC Sq3StmtC.PrepareV2(Sq3LiteC db, String zSql) → C-API Compi...
static native Sq3StmtC PrepareV2(Sq3LiteC db, String zSql)
Java: [constructor,static] Sq3StmtC Sq3StmtC.PrepareV2(Sq3LiteC db, String zSql) → C-API Compi...
static Sq3StmtC PrepareV3(Sq3LiteC db, String zSql)
Java: [constructor,static] Sq3StmtC Sq3StmtC.PrepareV3(Sq3LiteC db, String zSql, ?...
static native Sq3StmtC PrepareV3(Sq3LiteC db, String zSql, Sq3PrepareEF prepFlags)
Java: [constructor,static] Sq3StmtC Sq3StmtC.PrepareV3(Sq3LiteC db, String zSql, ?...