Debian Codegraph @

lang/sql/jdbc/doc/SQLite/Stmt.html

raw
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <!--NewPage-->
3 <HTML>
4 <HEAD>
5 <!-- Generated by javadoc (build 1.4.2_03) on Thu Feb 09 06:54:01 CET 2012 -->
6 <TITLE>
7 Stmt (SQLite Java Wrapper)
8 </TITLE>
9
10 <META NAME="keywords" CONTENT="SQLite.Stmt class">
11
12 <LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
13
14 <SCRIPT type="text/javascript">
15 function windowTitle()
16 {
17 parent.document.title="Stmt (SQLite Java Wrapper)";
18 }
19 </SCRIPT>
20
21 </HEAD>
22
23 <BODY BGCOLOR="white" onload="windowTitle();">
24
25
26 <!-- ========= START OF TOP NAVBAR ======= -->
27 <A NAME="navbar_top"><!-- --></A>
28 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
29 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
30 <TR>
31 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
32 <A NAME="navbar_top_firstrow"><!-- --></A>
33 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
34 <TR ALIGN="center" VALIGN="top">
35 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
36 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
37 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
39 </TR>
40 </TABLE>
41 </TD>
42 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
43 </EM>
44 </TD>
45 </TR>
46
47 <TR>
48 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
49 &nbsp;<A HREF="../SQLite/ProgressHandler.html" title="interface in SQLite"><B>PREV CLASS</B></A>&nbsp;
50 &nbsp;<A HREF="../SQLite/StringEncoder.html" title="class in SQLite"><B>NEXT CLASS</B></A></FONT></TD>
51 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
52 <A HREF="../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
53 &nbsp;<A HREF="Stmt.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
54 &nbsp;<SCRIPT type="text/javascript">
55 <!--
56 if(window==top) {
57 document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
58 }
59 //-->
60 </SCRIPT>
61 <NOSCRIPT>
62 <A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
63 </NOSCRIPT>
64
65 </FONT></TD>
66 </TR>
67 <TR>
68 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
69 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
70 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
71 DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
72 </TR>
73 </TABLE>
74 <A NAME="skip-navbar_top"></A>
75 <!-- ========= END OF TOP NAVBAR ========= -->
76
77 <HR>
78 <!-- ======== START OF CLASS DATA ======== -->
79 <H2>
80 <FONT SIZE="-1">
81 SQLite</FONT>
82 <BR>
83 Class Stmt</H2>
84 <PRE>
85 <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A>
86 <IMG SRC="../resources/inherit.gif" ALT="extended by"><B>SQLite.Stmt</B>
87 </PRE>
88 <HR>
89 <DL>
90 <DT>public class <B>Stmt</B><DT>extends <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></DL>
91
92 <P>
93 Class to represent compiled SQLite3 statement.
94
95 Note, that all native methods of this class are
96 not synchronized, i.e. it is up to the caller
97 to ensure that only one thread is in these
98 methods at any one time.
99 <P>
100
101 <P>
102 <HR>
103
104 <P>
105 <!-- ======== NESTED CLASS SUMMARY ======== -->
106
107
108 <!-- =========== FIELD SUMMARY =========== -->
109
110 <A NAME="field_summary"><!-- --></A>
111 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
112 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
113 <TD COLSPAN=2><FONT SIZE="+2">
114 <B>Field Summary</B></FONT></TD>
115 </TR>
116 <TR BGCOLOR="white" CLASS="TableRowColor">
117 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
118 <CODE>protected &nbsp;int</CODE></FONT></TD>
119 <TD><CODE><B><A HREF="../SQLite/Stmt.html#error_code">error_code</A></B></CODE>
120
121 <BR>
122 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Internal last error code for prepare()/step() methods.</TD>
123 </TR>
124 <TR BGCOLOR="white" CLASS="TableRowColor">
125 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
126 <CODE>private &nbsp;long</CODE></FONT></TD>
127 <TD><CODE><B><A HREF="../SQLite/Stmt.html#handle">handle</A></B></CODE>
128
129 <BR>
130 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Internal handle for the SQLite3 statement.</TD>
131 </TR>
132 </TABLE>
133 &nbsp;
134 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
135
136 <A NAME="constructor_summary"><!-- --></A>
137 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
138 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
139 <TD COLSPAN=2><FONT SIZE="+2">
140 <B>Constructor Summary</B></FONT></TD>
141 </TR>
142 <TR BGCOLOR="white" CLASS="TableRowColor">
143 <TD><CODE><B><A HREF="../SQLite/Stmt.html#Stmt()">Stmt</A></B>()</CODE>
144
145 <BR>
146 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
147 </TR>
148 </TABLE>
149 &nbsp;
150 <!-- ========== METHOD SUMMARY =========== -->
151
152 <A NAME="method_summary"><!-- --></A>
153 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
154 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
155 <TD COLSPAN=2><FONT SIZE="+2">
156 <B>Method Summary</B></FONT></TD>
157 </TR>
158 <TR BGCOLOR="white" CLASS="TableRowColor">
159 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
160 <CODE>&nbsp;int</CODE></FONT></TD>
161 <TD><CODE><B><A HREF="../SQLite/Stmt.html#bind_parameter_count()">bind_parameter_count</A></B>()</CODE>
162
163 <BR>
164 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return number of parameters in compiled SQLite3 statement.</TD>
165 </TR>
166 <TR BGCOLOR="white" CLASS="TableRowColor">
167 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
168 <CODE>&nbsp;int</CODE></FONT></TD>
169 <TD><CODE><B><A HREF="../SQLite/Stmt.html#bind_parameter_index(java.lang.String)">bind_parameter_index</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;name)</CODE>
170
171 <BR>
172 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return index of named parameter in compiled SQLite3 statement.</TD>
173 </TR>
174 <TR BGCOLOR="white" CLASS="TableRowColor">
175 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
176 <CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
177 <TD><CODE><B><A HREF="../SQLite/Stmt.html#bind_parameter_name(int)">bind_parameter_name</A></B>(int&nbsp;pos)</CODE>
178
179 <BR>
180 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return name of parameter in compiled SQLite3 statement.</TD>
181 </TR>
182 <TR BGCOLOR="white" CLASS="TableRowColor">
183 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
184 <CODE>&nbsp;void</CODE></FONT></TD>
185 <TD><CODE><B><A HREF="../SQLite/Stmt.html#bind_zeroblob(int, int)">bind_zeroblob</A></B>(int&nbsp;pos,
186 int&nbsp;length)</CODE>
187
188 <BR>
189 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Bind positional zero'ed blob to compiled SQLite3 statement.</TD>
190 </TR>
191 <TR BGCOLOR="white" CLASS="TableRowColor">
192 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
193 <CODE>&nbsp;void</CODE></FONT></TD>
194 <TD><CODE><B><A HREF="../SQLite/Stmt.html#bind(int)">bind</A></B>(int&nbsp;pos)</CODE>
195
196 <BR>
197 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Bind positional SQL null to compiled SQLite3 statement.</TD>
198 </TR>
199 <TR BGCOLOR="white" CLASS="TableRowColor">
200 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
201 <CODE>&nbsp;void</CODE></FONT></TD>
202 <TD><CODE><B><A HREF="../SQLite/Stmt.html#bind(int, byte[])">bind</A></B>(int&nbsp;pos,
203 byte[]&nbsp;value)</CODE>
204
205 <BR>
206 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Bind positional byte array to compiled SQLite3 statement.</TD>
207 </TR>
208 <TR BGCOLOR="white" CLASS="TableRowColor">
209 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
210 <CODE>&nbsp;void</CODE></FONT></TD>
211 <TD><CODE><B><A HREF="../SQLite/Stmt.html#bind(int, double)">bind</A></B>(int&nbsp;pos,
212 double&nbsp;value)</CODE>
213
214 <BR>
215 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Bind positional double value to compiled SQLite3 statement.</TD>
216 </TR>
217 <TR BGCOLOR="white" CLASS="TableRowColor">
218 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
219 <CODE>&nbsp;void</CODE></FONT></TD>
220 <TD><CODE><B><A HREF="../SQLite/Stmt.html#bind(int, int)">bind</A></B>(int&nbsp;pos,
221 int&nbsp;value)</CODE>
222
223 <BR>
224 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Bind positional integer value to compiled SQLite3 statement.</TD>
225 </TR>
226 <TR BGCOLOR="white" CLASS="TableRowColor">
227 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
228 <CODE>&nbsp;void</CODE></FONT></TD>
229 <TD><CODE><B><A HREF="../SQLite/Stmt.html#bind(int, long)">bind</A></B>(int&nbsp;pos,
230 long&nbsp;value)</CODE>
231
232 <BR>
233 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Bind positional long value to compiled SQLite3 statement.</TD>
234 </TR>
235 <TR BGCOLOR="white" CLASS="TableRowColor">
236 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
237 <CODE>&nbsp;void</CODE></FONT></TD>
238 <TD><CODE><B><A HREF="../SQLite/Stmt.html#bind(int, java.lang.String)">bind</A></B>(int&nbsp;pos,
239 <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;value)</CODE>
240
241 <BR>
242 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Bind positional String to compiled SQLite3 statement.</TD>
243 </TR>
244 <TR BGCOLOR="white" CLASS="TableRowColor">
245 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
246 <CODE>&nbsp;void</CODE></FONT></TD>
247 <TD><CODE><B><A HREF="../SQLite/Stmt.html#clear_bindings()">clear_bindings</A></B>()</CODE>
248
249 <BR>
250 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Clear all bound parameters of the compiled SQLite3 statement.</TD>
251 </TR>
252 <TR BGCOLOR="white" CLASS="TableRowColor">
253 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
254 <CODE>&nbsp;void</CODE></FONT></TD>
255 <TD><CODE><B><A HREF="../SQLite/Stmt.html#close()">close</A></B>()</CODE>
256
257 <BR>
258 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Close the compiled SQLite3 statement.</TD>
259 </TR>
260 <TR BGCOLOR="white" CLASS="TableRowColor">
261 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
262 <CODE>&nbsp;byte[]</CODE></FONT></TD>
263 <TD><CODE><B><A HREF="../SQLite/Stmt.html#column_bytes(int)">column_bytes</A></B>(int&nbsp;col)</CODE>
264
265 <BR>
266 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieve blob column from exec'ed SQLite3 statement.</TD>
267 </TR>
268 <TR BGCOLOR="white" CLASS="TableRowColor">
269 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
270 <CODE>&nbsp;int</CODE></FONT></TD>
271 <TD><CODE><B><A HREF="../SQLite/Stmt.html#column_count()">column_count</A></B>()</CODE>
272
273 <BR>
274 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieve number of columns of exec'ed SQLite3 statement.</TD>
275 </TR>
276 <TR BGCOLOR="white" CLASS="TableRowColor">
277 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
278 <CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
279 <TD><CODE><B><A HREF="../SQLite/Stmt.html#column_database_name(int)">column_database_name</A></B>(int&nbsp;col)</CODE>
280
281 <BR>
282 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return database name of column of SQLite3 statement.</TD>
283 </TR>
284 <TR BGCOLOR="white" CLASS="TableRowColor">
285 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
286 <CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
287 <TD><CODE><B><A HREF="../SQLite/Stmt.html#column_decltype(int)">column_decltype</A></B>(int&nbsp;col)</CODE>
288
289 <BR>
290 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return declared column type of SQLite3 statement.</TD>
291 </TR>
292 <TR BGCOLOR="white" CLASS="TableRowColor">
293 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
294 <CODE>&nbsp;double</CODE></FONT></TD>
295 <TD><CODE><B><A HREF="../SQLite/Stmt.html#column_double(int)">column_double</A></B>(int&nbsp;col)</CODE>
296
297 <BR>
298 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieve double column from exec'ed SQLite3 statement.</TD>
299 </TR>
300 <TR BGCOLOR="white" CLASS="TableRowColor">
301 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
302 <CODE>&nbsp;int</CODE></FONT></TD>
303 <TD><CODE><B><A HREF="../SQLite/Stmt.html#column_int(int)">column_int</A></B>(int&nbsp;col)</CODE>
304
305 <BR>
306 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieve integer column from exec'ed SQLite3 statement.</TD>
307 </TR>
308 <TR BGCOLOR="white" CLASS="TableRowColor">
309 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
310 <CODE>&nbsp;long</CODE></FONT></TD>
311 <TD><CODE><B><A HREF="../SQLite/Stmt.html#column_long(int)">column_long</A></B>(int&nbsp;col)</CODE>
312
313 <BR>
314 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieve long column from exec'ed SQLite3 statement.</TD>
315 </TR>
316 <TR BGCOLOR="white" CLASS="TableRowColor">
317 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
318 <CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
319 <TD><CODE><B><A HREF="../SQLite/Stmt.html#column_name(int)">column_name</A></B>(int&nbsp;col)</CODE>
320
321 <BR>
322 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return column name of column of SQLite3 statement.</TD>
323 </TR>
324 <TR BGCOLOR="white" CLASS="TableRowColor">
325 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
326 <CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
327 <TD><CODE><B><A HREF="../SQLite/Stmt.html#column_origin_name(int)">column_origin_name</A></B>(int&nbsp;col)</CODE>
328
329 <BR>
330 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return origin column name of column of SQLite3 statement.</TD>
331 </TR>
332 <TR BGCOLOR="white" CLASS="TableRowColor">
333 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
334 <CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
335 <TD><CODE><B><A HREF="../SQLite/Stmt.html#column_string(int)">column_string</A></B>(int&nbsp;col)</CODE>
336
337 <BR>
338 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieve string column from exec'ed SQLite3 statement.</TD>
339 </TR>
340 <TR BGCOLOR="white" CLASS="TableRowColor">
341 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
342 <CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
343 <TD><CODE><B><A HREF="../SQLite/Stmt.html#column_table_name(int)">column_table_name</A></B>(int&nbsp;col)</CODE>
344
345 <BR>
346 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return table name of column of SQLite3 statement.</TD>
347 </TR>
348 <TR BGCOLOR="white" CLASS="TableRowColor">
349 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
350 <CODE>&nbsp;int</CODE></FONT></TD>
351 <TD><CODE><B><A HREF="../SQLite/Stmt.html#column_type(int)">column_type</A></B>(int&nbsp;col)</CODE>
352
353 <BR>
354 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieve column type from exec'ed SQLite3 statement.</TD>
355 </TR>
356 <TR BGCOLOR="white" CLASS="TableRowColor">
357 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
358 <CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></CODE></FONT></TD>
359 <TD><CODE><B><A HREF="../SQLite/Stmt.html#column(int)">column</A></B>(int&nbsp;col)</CODE>
360
361 <BR>
362 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieve column data as object from exec'ed SQLite3 statement.</TD>
363 </TR>
364 <TR BGCOLOR="white" CLASS="TableRowColor">
365 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
366 <CODE>protected &nbsp;void</CODE></FONT></TD>
367 <TD><CODE><B><A HREF="../SQLite/Stmt.html#finalize()">finalize</A></B>()</CODE>
368
369 <BR>
370 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Destructor for object.</TD>
371 </TR>
372 <TR BGCOLOR="white" CLASS="TableRowColor">
373 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
374 <CODE>private static&nbsp;void</CODE></FONT></TD>
375 <TD><CODE><B><A HREF="../SQLite/Stmt.html#internal_init()">internal_init</A></B>()</CODE>
376
377 <BR>
378 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Internal native initializer.</TD>
379 </TR>
380 <TR BGCOLOR="white" CLASS="TableRowColor">
381 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
382 <CODE>&nbsp;boolean</CODE></FONT></TD>
383 <TD><CODE><B><A HREF="../SQLite/Stmt.html#prepare()">prepare</A></B>()</CODE>
384
385 <BR>
386 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prepare the next SQL statement for the Stmt instance.</TD>
387 </TR>
388 <TR BGCOLOR="white" CLASS="TableRowColor">
389 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
390 <CODE>&nbsp;void</CODE></FONT></TD>
391 <TD><CODE><B><A HREF="../SQLite/Stmt.html#reset()">reset</A></B>()</CODE>
392
393 <BR>
394 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reset the compiled SQLite3 statement without
395 clearing parameter bindings.</TD>
396 </TR>
397 <TR BGCOLOR="white" CLASS="TableRowColor">
398 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
399 <CODE>&nbsp;int</CODE></FONT></TD>
400 <TD><CODE><B><A HREF="../SQLite/Stmt.html#status(int, boolean)">status</A></B>(int&nbsp;op,
401 boolean&nbsp;flg)</CODE>
402
403 <BR>
404 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return statement status information.</TD>
405 </TR>
406 <TR BGCOLOR="white" CLASS="TableRowColor">
407 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
408 <CODE>&nbsp;boolean</CODE></FONT></TD>
409 <TD><CODE><B><A HREF="../SQLite/Stmt.html#step()">step</A></B>()</CODE>
410
411 <BR>
412 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Perform one step of compiled SQLite3 statement.</TD>
413 </TR>
414 </TABLE>
415 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
416 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
417 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
418 <TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TD>
419 </TR>
420 <TR BGCOLOR="white" CLASS="TableRowColor">
421 <TD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
422 </TR>
423 </TABLE>
424 &nbsp;
425 <P>
426
427 <!-- ============ FIELD DETAIL =========== -->
428
429 <A NAME="field_detail"><!-- --></A>
430 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
431 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
432 <TD COLSPAN=1><FONT SIZE="+2">
433 <B>Field Detail</B></FONT></TD>
434 </TR>
435 </TABLE>
436
437 <A NAME="error_code"><!-- --></A><H3>
438 error_code</H3>
439 <PRE>
440 protected int <B>error_code</B></PRE>
441 <DL>
442 <DD>Internal last error code for prepare()/step() methods.
443 <P>
444 <DL>
445 </DL>
446 </DL>
447 <HR>
448
449 <A NAME="handle"><!-- --></A><H3>
450 handle</H3>
451 <PRE>
452 private long <B>handle</B></PRE>
453 <DL>
454 <DD>Internal handle for the SQLite3 statement.
455 <P>
456 <DL>
457 </DL>
458 </DL>
459
460 <!-- ========= CONSTRUCTOR DETAIL ======== -->
461
462 <A NAME="constructor_detail"><!-- --></A>
463 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
464 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
465 <TD COLSPAN=1><FONT SIZE="+2">
466 <B>Constructor Detail</B></FONT></TD>
467 </TR>
468 </TABLE>
469
470 <A NAME="Stmt()"><!-- --></A><H3>
471 Stmt</H3>
472 <PRE>
473 public <B>Stmt</B>()</PRE>
474 <DL>
475 </DL>
476
477 <!-- ============ METHOD DETAIL ========== -->
478
479 <A NAME="method_detail"><!-- --></A>
480 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
481 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
482 <TD COLSPAN=1><FONT SIZE="+2">
483 <B>Method Detail</B></FONT></TD>
484 </TR>
485 </TABLE>
486
487 <A NAME="bind_parameter_count()"><!-- --></A><H3>
488 bind_parameter_count</H3>
489 <PRE>
490 public int <B>bind_parameter_count</B>()
491 throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
492 <DL>
493 <DD>Return number of parameters in compiled SQLite3 statement.
494 <P>
495 <DD><DL>
496
497 <DT><B>Returns:</B><DD>int number of parameters
498 <DT><B>Throws:</B>
499 <DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
500 </DD>
501 </DL>
502 <HR>
503
504 <A NAME="bind_parameter_index(java.lang.String)"><!-- --></A><H3>
505 bind_parameter_index</H3>
506 <PRE>
507 public int <B>bind_parameter_index</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;name)
508 throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
509 <DL>
510 <DD>Return index of named parameter in compiled SQLite3 statement.
511 <P>
512 <DD><DL>
513 <DT><B>Parameters:</B><DD><CODE>name</CODE> - of parameter
514 <DT><B>Returns:</B><DD>int index of parameter, 1-based
515 <DT><B>Throws:</B>
516 <DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
517 </DD>
518 </DL>
519 <HR>
520
521 <A NAME="bind_parameter_name(int)"><!-- --></A><H3>
522 bind_parameter_name</H3>
523 <PRE>
524 public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>bind_parameter_name</B>(int&nbsp;pos)
525 throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
526 <DL>
527 <DD>Return name of parameter in compiled SQLite3 statement.
528 <P>
529 <DD><DL>
530 <DT><B>Parameters:</B><DD><CODE>pos</CODE> - parameter index, 1-based
531 <DT><B>Returns:</B><DD>String parameter name
532 <DT><B>Throws:</B>
533 <DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
534 </DD>
535 </DL>
536 <HR>
537
538 <A NAME="bind_zeroblob(int, int)"><!-- --></A><H3>
539 bind_zeroblob</H3>
540 <PRE>
541 public void <B>bind_zeroblob</B>(int&nbsp;pos,
542 int&nbsp;length)
543 throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
544 <DL>
545 <DD>Bind positional zero'ed blob to compiled SQLite3 statement.
546 <P>
547 <DD><DL>
548 <DT><B>Parameters:</B><DD><CODE>pos</CODE> - parameter index, 1-based<DD><CODE>length</CODE> - byte size of zero blob
549 <DT><B>Throws:</B>
550 <DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
551 </DD>
552 </DL>
553 <HR>
554
555 <A NAME="bind(int)"><!-- --></A><H3>
556 bind</H3>
557 <PRE>
558 public void <B>bind</B>(int&nbsp;pos)
559 throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
560 <DL>
561 <DD>Bind positional SQL null to compiled SQLite3 statement.
562 <P>
563 <DD><DL>
564 <DT><B>Parameters:</B><DD><CODE>pos</CODE> - parameter index, 1-based
565 <DT><B>Throws:</B>
566 <DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
567 </DD>
568 </DL>
569 <HR>
570
571 <A NAME="bind(int, byte[])"><!-- --></A><H3>
572 bind</H3>
573 <PRE>
574 public void <B>bind</B>(int&nbsp;pos,
575 byte[]&nbsp;value)
576 throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
577 <DL>
578 <DD>Bind positional byte array to compiled SQLite3 statement.
579 <P>
580 <DD><DL>
581 <DT><B>Parameters:</B><DD><CODE>pos</CODE> - parameter index, 1-based<DD><CODE>value</CODE> - value of parameter, may be null
582 <DT><B>Throws:</B>
583 <DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
584 </DD>
585 </DL>
586 <HR>
587
588 <A NAME="bind(int, double)"><!-- --></A><H3>
589 bind</H3>
590 <PRE>
591 public void <B>bind</B>(int&nbsp;pos,
592 double&nbsp;value)
593 throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
594 <DL>
595 <DD>Bind positional double value to compiled SQLite3 statement.
596 <P>
597 <DD><DL>
598 <DT><B>Parameters:</B><DD><CODE>pos</CODE> - parameter index, 1-based<DD><CODE>value</CODE> - value of parameter
599 <DT><B>Throws:</B>
600 <DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
601 </DD>
602 </DL>
603 <HR>
604
605 <A NAME="bind(int, int)"><!-- --></A><H3>
606 bind</H3>
607 <PRE>
608 public void <B>bind</B>(int&nbsp;pos,
609 int&nbsp;value)
610 throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
611 <DL>
612 <DD>Bind positional integer value to compiled SQLite3 statement.
613 <P>
614 <DD><DL>
615 <DT><B>Parameters:</B><DD><CODE>pos</CODE> - parameter index, 1-based<DD><CODE>value</CODE> - value of parameter
616 <DT><B>Throws:</B>
617 <DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
618 </DD>
619 </DL>
620 <HR>
621
622 <A NAME="bind(int, long)"><!-- --></A><H3>
623 bind</H3>
624 <PRE>
625 public void <B>bind</B>(int&nbsp;pos,
626 long&nbsp;value)
627 throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
628 <DL>
629 <DD>Bind positional long value to compiled SQLite3 statement.
630 <P>
631 <DD><DL>
632 <DT><B>Parameters:</B><DD><CODE>pos</CODE> - parameter index, 1-based<DD><CODE>value</CODE> - value of parameter
633 <DT><B>Throws:</B>
634 <DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
635 </DD>
636 </DL>
637 <HR>
638
639 <A NAME="bind(int, java.lang.String)"><!-- --></A><H3>
640 bind</H3>
641 <PRE>
642 public void <B>bind</B>(int&nbsp;pos,
643 <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;value)
644 throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
645 <DL>
646 <DD>Bind positional String to compiled SQLite3 statement.
647 <P>
648 <DD><DL>
649 <DT><B>Parameters:</B><DD><CODE>pos</CODE> - parameter index, 1-based<DD><CODE>value</CODE> - value of parameter, may be null
650 <DT><B>Throws:</B>
651 <DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
652 </DD>
653 </DL>
654 <HR>
655
656 <A NAME="clear_bindings()"><!-- --></A><H3>
657 clear_bindings</H3>
658 <PRE>
659 public void <B>clear_bindings</B>()
660 throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
661 <DL>
662 <DD>Clear all bound parameters of the compiled SQLite3 statement.
663 <P>
664 <DD><DL>
665
666 <DT><B>Throws:</B>
667 <DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
668 </DD>
669 </DL>
670 <HR>
671
672 <A NAME="close()"><!-- --></A><H3>
673 close</H3>
674 <PRE>
675 public void <B>close</B>()
676 throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
677 <DL>
678 <DD>Close the compiled SQLite3 statement.
679 <P>
680 <DD><DL>
681
682 <DT><B>Throws:</B>
683 <DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
684 </DD>
685 </DL>
686 <HR>
687
688 <A NAME="column_bytes(int)"><!-- --></A><H3>
689 column_bytes</H3>
690 <PRE>
691 public byte[] <B>column_bytes</B>(int&nbsp;col)
692 throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
693 <DL>
694 <DD>Retrieve blob column from exec'ed SQLite3 statement.
695 <P>
696 <DD><DL>
697 <DT><B>Parameters:</B><DD><CODE>col</CODE> - column number, 0-based
698 <DT><B>Returns:</B><DD>byte[] column value
699 <DT><B>Throws:</B>
700 <DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
701 </DD>
702 </DL>
703 <HR>
704
705 <A NAME="column_count()"><!-- --></A><H3>
706 column_count</H3>
707 <PRE>
708 public int <B>column_count</B>()
709 throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
710 <DL>
711 <DD>Retrieve number of columns of exec'ed SQLite3 statement.
712 <P>
713 <DD><DL>
714
715 <DT><B>Returns:</B><DD>int number of columns
716 <DT><B>Throws:</B>
717 <DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
718 </DD>
719 </DL>
720 <HR>
721
722 <A NAME="column_database_name(int)"><!-- --></A><H3>
723 column_database_name</H3>
724 <PRE>
725 public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>column_database_name</B>(int&nbsp;col)
726 throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
727 <DL>
728 <DD>Return database name of column of SQLite3 statement.
729 <P>
730 <DD><DL>
731 <DT><B>Parameters:</B><DD><CODE>col</CODE> - column number, 0-based
732 <DT><B>Returns:</B><DD>String or null
733 <DT><B>Throws:</B>
734 <DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
735 </DD>
736 </DL>
737 <HR>
738
739 <A NAME="column_decltype(int)"><!-- --></A><H3>
740 column_decltype</H3>
741 <PRE>
742 public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>column_decltype</B>(int&nbsp;col)
743 throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
744 <DL>
745 <DD>Return declared column type of SQLite3 statement.
746 <P>
747 <DD><DL>
748 <DT><B>Parameters:</B><DD><CODE>col</CODE> - column number, 0-based
749 <DT><B>Returns:</B><DD>String or null
750 <DT><B>Throws:</B>
751 <DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
752 </DD>
753 </DL>
754 <HR>
755
756 <A NAME="column_double(int)"><!-- --></A><H3>
757 column_double</H3>
758 <PRE>
759 public double <B>column_double</B>(int&nbsp;col)
760 throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
761 <DL>
762 <DD>Retrieve double column from exec'ed SQLite3 statement.
763 <P>
764 <DD><DL>
765 <DT><B>Parameters:</B><DD><CODE>col</CODE> - column number, 0-based
766 <DT><B>Returns:</B><DD>double column value
767 <DT><B>Throws:</B>
768 <DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
769 </DD>
770 </DL>
771 <HR>
772
773 <A NAME="column_int(int)"><!-- --></A><H3>
774 column_int</H3>
775 <PRE>
776 public int <B>column_int</B>(int&nbsp;col)
777 throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
778 <DL>
779 <DD>Retrieve integer column from exec'ed SQLite3 statement.
780 <P>
781 <DD><DL>
782 <DT><B>Parameters:</B><DD><CODE>col</CODE> - column number, 0-based
783 <DT><B>Returns:</B><DD>int column value
784 <DT><B>Throws:</B>
785 <DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
786 </DD>
787 </DL>
788 <HR>
789
790 <A NAME="column_long(int)"><!-- --></A><H3>
791 column_long</H3>
792 <PRE>
793 public long <B>column_long</B>(int&nbsp;col)
794 throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
795 <DL>
796 <DD>Retrieve long column from exec'ed SQLite3 statement.
797 <P>
798 <DD><DL>
799 <DT><B>Parameters:</B><DD><CODE>col</CODE> - column number, 0-based
800 <DT><B>Returns:</B><DD>long column value
801 <DT><B>Throws:</B>
802 <DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
803 </DD>
804 </DL>
805 <HR>
806
807 <A NAME="column_name(int)"><!-- --></A><H3>
808 column_name</H3>
809 <PRE>
810 public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>column_name</B>(int&nbsp;col)
811 throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
812 <DL>
813 <DD>Return column name of column of SQLite3 statement.
814 <P>
815 <DD><DL>
816 <DT><B>Parameters:</B><DD><CODE>col</CODE> - column number, 0-based
817 <DT><B>Returns:</B><DD>String or null
818 <DT><B>Throws:</B>
819 <DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
820 </DD>
821 </DL>
822 <HR>
823
824 <A NAME="column_origin_name(int)"><!-- --></A><H3>
825 column_origin_name</H3>
826 <PRE>
827 public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>column_origin_name</B>(int&nbsp;col)
828 throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
829 <DL>
830 <DD>Return origin column name of column of SQLite3 statement.
831 <P>
832 <DD><DL>
833 <DT><B>Parameters:</B><DD><CODE>col</CODE> - column number, 0-based
834 <DT><B>Returns:</B><DD>String or null
835 <DT><B>Throws:</B>
836 <DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
837 </DD>
838 </DL>
839 <HR>
840
841 <A NAME="column_string(int)"><!-- --></A><H3>
842 column_string</H3>
843 <PRE>
844 public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>column_string</B>(int&nbsp;col)
845 throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
846 <DL>
847 <DD>Retrieve string column from exec'ed SQLite3 statement.
848 <P>
849 <DD><DL>
850 <DT><B>Parameters:</B><DD><CODE>col</CODE> - column number, 0-based
851 <DT><B>Returns:</B><DD>String column value
852 <DT><B>Throws:</B>
853 <DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
854 </DD>
855 </DL>
856 <HR>
857
858 <A NAME="column_table_name(int)"><!-- --></A><H3>
859 column_table_name</H3>
860 <PRE>
861 public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>column_table_name</B>(int&nbsp;col)
862 throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
863 <DL>
864 <DD>Return table name of column of SQLite3 statement.
865 <P>
866 <DD><DL>
867 <DT><B>Parameters:</B><DD><CODE>col</CODE> - column number, 0-based
868 <DT><B>Returns:</B><DD>String or null
869 <DT><B>Throws:</B>
870 <DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
871 </DD>
872 </DL>
873 <HR>
874
875 <A NAME="column_type(int)"><!-- --></A><H3>
876 column_type</H3>
877 <PRE>
878 public int <B>column_type</B>(int&nbsp;col)
879 throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
880 <DL>
881 <DD>Retrieve column type from exec'ed SQLite3 statement.
882 <P>
883 <DD><DL>
884 <DT><B>Parameters:</B><DD><CODE>col</CODE> - column number, 0-based
885 <DT><B>Returns:</B><DD>column type code, e.g. SQLite.Constants.SQLITE_INTEGER
886 <DT><B>Throws:</B>
887 <DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
888 </DD>
889 </DL>
890 <HR>
891
892 <A NAME="column(int)"><!-- --></A><H3>
893 column</H3>
894 <PRE>
895 public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> <B>column</B>(int&nbsp;col)
896 throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
897 <DL>
898 <DD>Retrieve column data as object from exec'ed SQLite3 statement.
899 <P>
900 <DD><DL>
901 <DT><B>Parameters:</B><DD><CODE>col</CODE> - column number, 0-based
902 <DT><B>Returns:</B><DD>Object or null
903 <DT><B>Throws:</B>
904 <DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
905 </DD>
906 </DL>
907 <HR>
908
909 <A NAME="finalize()"><!-- --></A><H3>
910 finalize</H3>
911 <PRE>
912 protected void <B>finalize</B>()</PRE>
913 <DL>
914 <DD>Destructor for object.
915 <P>
916 <DD><DL>
917 </DL>
918 </DD>
919 </DL>
920 <HR>
921
922 <A NAME="internal_init()"><!-- --></A><H3>
923 internal_init</H3>
924 <PRE>
925 private static void <B>internal_init</B>()</PRE>
926 <DL>
927 <DD>Internal native initializer.
928 <P>
929 <DD><DL>
930 </DL>
931 </DD>
932 </DL>
933 <HR>
934
935 <A NAME="prepare()"><!-- --></A><H3>
936 prepare</H3>
937 <PRE>
938 public boolean <B>prepare</B>()
939 throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
940 <DL>
941 <DD>Prepare the next SQL statement for the Stmt instance.
942 <P>
943 <DD><DL>
944
945 <DT><B>Returns:</B><DD>true when the next piece of the SQL statement sequence
946 has been prepared, false on end of statement sequence.
947 <DT><B>Throws:</B>
948 <DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
949 </DD>
950 </DL>
951 <HR>
952
953 <A NAME="reset()"><!-- --></A><H3>
954 reset</H3>
955 <PRE>
956 public void <B>reset</B>()
957 throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
958 <DL>
959 <DD>Reset the compiled SQLite3 statement without
960 clearing parameter bindings.
961 <P>
962 <DD><DL>
963
964 <DT><B>Throws:</B>
965 <DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
966 </DD>
967 </DL>
968 <HR>
969
970 <A NAME="status(int, boolean)"><!-- --></A><H3>
971 status</H3>
972 <PRE>
973 public int <B>status</B>(int&nbsp;op,
974 boolean&nbsp;flg)</PRE>
975 <DL>
976 <DD>Return statement status information.
977 <P>
978 <DD><DL>
979 <DT><B>Parameters:</B><DD><CODE>op</CODE> - which counter to report<DD><CODE>flg</CODE> - reset flag
980 <DT><B>Returns:</B><DD>counter</DL>
981 </DD>
982 </DL>
983 <HR>
984
985 <A NAME="step()"><!-- --></A><H3>
986 step</H3>
987 <PRE>
988 public boolean <B>step</B>()
989 throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
990 <DL>
991 <DD>Perform one step of compiled SQLite3 statement.
992
993 Example:<BR>
994 <PRE>
995 ...
996 try {
997 Stmt s = db.prepare("select * from x; select * from y;");
998 s.bind(...);
999 ...
1000 s.bind(...);
1001 while (s.step(cb)) {
1002 Object o = s.value(...);
1003 ...
1004 }
1005 // s.reset() for re-execution or
1006 // s.prepare() for the next piece of SQL
1007 while (s.prepare()) {
1008 s.bind(...);
1009 ...
1010 s.bind(...);
1011 while (s.step(cb)) {
1012 Object o = s.value(...);
1013 ...
1014 }
1015 }
1016 } catch (SQLite.Exception e) {
1017 s.close();
1018 }
1019 </PRE>
1020 <P>
1021 <DD><DL>
1022
1023 <DT><B>Returns:</B><DD>true when row data is available, false on end
1024 of result set.
1025 <DT><B>Throws:</B>
1026 <DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
1027 </DD>
1028 </DL>
1029 <!-- ========= END OF CLASS DATA ========= -->
1030 <HR>
1031
1032
1033 <!-- ======= START OF BOTTOM NAVBAR ====== -->
1034 <A NAME="navbar_bottom"><!-- --></A>
1035 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
1036 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
1037 <TR>
1038 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
1039 <A NAME="navbar_bottom_firstrow"><!-- --></A>
1040 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
1041 <TR ALIGN="center" VALIGN="top">
1042 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
1043 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
1044 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
1045 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
1046 </TR>
1047 </TABLE>
1048 </TD>
1049 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
1050 </EM>
1051 </TD>
1052 </TR>
1053
1054 <TR>
1055 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
1056 &nbsp;<A HREF="../SQLite/ProgressHandler.html" title="interface in SQLite"><B>PREV CLASS</B></A>&nbsp;
1057 &nbsp;<A HREF="../SQLite/StringEncoder.html" title="class in SQLite"><B>NEXT CLASS</B></A></FONT></TD>
1058 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
1059 <A HREF="../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
1060 &nbsp;<A HREF="Stmt.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
1061 &nbsp;<SCRIPT type="text/javascript">
1062 <!--
1063 if(window==top) {
1064 document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
1065 }
1066 //-->
1067 </SCRIPT>
1068 <NOSCRIPT>
1069 <A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
1070 </NOSCRIPT>
1071
1072 </FONT></TD>
1073 </TR>
1074 <TR>
1075 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
1076 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
1077 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
1078 DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
1079 </TR>
1080 </TABLE>
1081 <A NAME="skip-navbar_bottom"></A>
1082 <!-- ======== END OF BOTTOM NAVBAR ======= -->
1083
1084 <HR>
1085 <small>Contact: <a HREF="mailto:[email protected]">Christian Werner</a></small>
1086 </BODY>
1087 </HTML>