| 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 |
TableResult (SQLite Java Wrapper) |
| 8 |
</TITLE> |
| 9 |
|
| 10 |
<META NAME="keywords" CONTENT="SQLite.TableResult 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="TableResult (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> </TD> |
| 36 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| 37 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| 38 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </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 |
<A HREF="../SQLite/StringEncoder.html" title="class in SQLite"><B>PREV CLASS</B></A> |
| 50 |
<A HREF="../SQLite/Trace.html" title="interface 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> |
| 53 |
<A HREF="TableResult.html" target="_top"><B>NO FRAMES</B></A> |
| 54 |
<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: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| 70 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 71 |
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <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 TableResult</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.TableResult</B> |
| 87 |
</PRE> |
| 88 |
<DL> |
| 89 |
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../SQLite/Callback.html" title="interface in SQLite">Callback</A></DD> |
| 90 |
</DL> |
| 91 |
<HR> |
| 92 |
<DL> |
| 93 |
<DT>public class <B>TableResult</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><DT>implements <A HREF="../SQLite/Callback.html" title="interface in SQLite">Callback</A></DL> |
| 94 |
|
| 95 |
<P> |
| 96 |
Class representing an SQLite result set as |
| 97 |
returned by the |
| 98 |
<A HREF="Database.html#get_table(java.lang.String)">Database.get_table</A> |
| 99 |
convenience method. |
| 100 |
<BR><BR> |
| 101 |
Example:<BR> |
| 102 |
|
| 103 |
<PRE> |
| 104 |
... |
| 105 |
SQLite.Database db = new SQLite.Database(); |
| 106 |
db.open("db", 0); |
| 107 |
System.out.print(db.get_table("select * from TEST")); |
| 108 |
... |
| 109 |
</PRE> |
| 110 |
Example output:<BR> |
| 111 |
|
| 112 |
<PRE> |
| 113 |
id|firstname|lastname| |
| 114 |
0|John|Doe| |
| 115 |
1|Speedy|Gonzales| |
| 116 |
... |
| 117 |
</PRE> |
| 118 |
<P> |
| 119 |
|
| 120 |
<P> |
| 121 |
<HR> |
| 122 |
|
| 123 |
<P> |
| 124 |
<!-- ======== NESTED CLASS SUMMARY ======== --> |
| 125 |
|
| 126 |
|
| 127 |
<!-- =========== FIELD SUMMARY =========== --> |
| 128 |
|
| 129 |
<A NAME="field_summary"><!-- --></A> |
| 130 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 131 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 132 |
<TD COLSPAN=2><FONT SIZE="+2"> |
| 133 |
<B>Field Summary</B></FONT></TD> |
| 134 |
</TR> |
| 135 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 136 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 137 |
<CODE> boolean</CODE></FONT></TD> |
| 138 |
<TD><CODE><B><A HREF="../SQLite/TableResult.html#atmaxrows">atmaxrows</A></B></CODE> |
| 139 |
|
| 140 |
<BR> |
| 141 |
Flag to indicate Maximum number of rows condition.</TD> |
| 142 |
</TR> |
| 143 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 144 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 145 |
<CODE> <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> |
| 146 |
<TD><CODE><B><A HREF="../SQLite/TableResult.html#column">column</A></B></CODE> |
| 147 |
|
| 148 |
<BR> |
| 149 |
Column names of the result set.</TD> |
| 150 |
</TR> |
| 151 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 152 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 153 |
<CODE> int</CODE></FONT></TD> |
| 154 |
<TD><CODE><B><A HREF="../SQLite/TableResult.html#maxrows">maxrows</A></B></CODE> |
| 155 |
|
| 156 |
<BR> |
| 157 |
Maximum number of rows to hold in the table.</TD> |
| 158 |
</TR> |
| 159 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 160 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 161 |
<CODE> int</CODE></FONT></TD> |
| 162 |
<TD><CODE><B><A HREF="../SQLite/TableResult.html#ncolumns">ncolumns</A></B></CODE> |
| 163 |
|
| 164 |
<BR> |
| 165 |
Number of columns in the result set.</TD> |
| 166 |
</TR> |
| 167 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 168 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 169 |
<CODE> int</CODE></FONT></TD> |
| 170 |
<TD><CODE><B><A HREF="../SQLite/TableResult.html#nrows">nrows</A></B></CODE> |
| 171 |
|
| 172 |
<BR> |
| 173 |
Number of rows in the result set.</TD> |
| 174 |
</TR> |
| 175 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 176 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 177 |
<CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Vector.html" title="class or interface in java.util">Vector</A></CODE></FONT></TD> |
| 178 |
<TD><CODE><B><A HREF="../SQLite/TableResult.html#rows">rows</A></B></CODE> |
| 179 |
|
| 180 |
<BR> |
| 181 |
Rows of the result set.</TD> |
| 182 |
</TR> |
| 183 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 184 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 185 |
<CODE> <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> |
| 186 |
<TD><CODE><B><A HREF="../SQLite/TableResult.html#types">types</A></B></CODE> |
| 187 |
|
| 188 |
<BR> |
| 189 |
Types of columns of the result set or null.</TD> |
| 190 |
</TR> |
| 191 |
</TABLE> |
| 192 |
|
| 193 |
<!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| 194 |
|
| 195 |
<A NAME="constructor_summary"><!-- --></A> |
| 196 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 197 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 198 |
<TD COLSPAN=2><FONT SIZE="+2"> |
| 199 |
<B>Constructor Summary</B></FONT></TD> |
| 200 |
</TR> |
| 201 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 202 |
<TD><CODE><B><A HREF="../SQLite/TableResult.html#TableResult()">TableResult</A></B>()</CODE> |
| 203 |
|
| 204 |
<BR> |
| 205 |
Create an empty result set.</TD> |
| 206 |
</TR> |
| 207 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 208 |
<TD><CODE><B><A HREF="../SQLite/TableResult.html#TableResult(int)">TableResult</A></B>(int maxrows)</CODE> |
| 209 |
|
| 210 |
<BR> |
| 211 |
Create an empty result set with maximum number of rows.</TD> |
| 212 |
</TR> |
| 213 |
</TABLE> |
| 214 |
|
| 215 |
<!-- ========== METHOD SUMMARY =========== --> |
| 216 |
|
| 217 |
<A NAME="method_summary"><!-- --></A> |
| 218 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 219 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 220 |
<TD COLSPAN=2><FONT SIZE="+2"> |
| 221 |
<B>Method Summary</B></FONT></TD> |
| 222 |
</TR> |
| 223 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 224 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 225 |
<CODE> void</CODE></FONT></TD> |
| 226 |
<TD><CODE><B><A HREF="../SQLite/TableResult.html#clear()">clear</A></B>()</CODE> |
| 227 |
|
| 228 |
<BR> |
| 229 |
Clear result set.</TD> |
| 230 |
</TR> |
| 231 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 232 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 233 |
<CODE> void</CODE></FONT></TD> |
| 234 |
<TD><CODE><B><A HREF="../SQLite/TableResult.html#columns(java.lang.String[])">columns</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>[] coldata)</CODE> |
| 235 |
|
| 236 |
<BR> |
| 237 |
Callback method used while the query is executed.</TD> |
| 238 |
</TR> |
| 239 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 240 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 241 |
<CODE> boolean</CODE></FONT></TD> |
| 242 |
<TD><CODE><B><A HREF="../SQLite/TableResult.html#newrow(java.lang.String[])">newrow</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>[] rowdata)</CODE> |
| 243 |
|
| 244 |
<BR> |
| 245 |
Callback method used while the query is executed.</TD> |
| 246 |
</TR> |
| 247 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 248 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 249 |
<CODE> <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> |
| 250 |
<TD><CODE><B><A HREF="../SQLite/TableResult.html#toString()">toString</A></B>()</CODE> |
| 251 |
|
| 252 |
<BR> |
| 253 |
Make String representation of result set.</TD> |
| 254 |
</TR> |
| 255 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 256 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 257 |
<CODE> void</CODE></FONT></TD> |
| 258 |
<TD><CODE><B><A HREF="../SQLite/TableResult.html#types(java.lang.String[])">types</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>[] types)</CODE> |
| 259 |
|
| 260 |
<BR> |
| 261 |
Callback method used while the query is executed.</TD> |
| 262 |
</TR> |
| 263 |
</TABLE> |
| 264 |
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
| 265 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 266 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| 267 |
<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> |
| 268 |
</TR> |
| 269 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 270 |
<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#finalize()" title="class or interface in java.lang">finalize</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#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> |
| 271 |
</TR> |
| 272 |
</TABLE> |
| 273 |
|
| 274 |
<P> |
| 275 |
|
| 276 |
<!-- ============ FIELD DETAIL =========== --> |
| 277 |
|
| 278 |
<A NAME="field_detail"><!-- --></A> |
| 279 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 280 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 281 |
<TD COLSPAN=1><FONT SIZE="+2"> |
| 282 |
<B>Field Detail</B></FONT></TD> |
| 283 |
</TR> |
| 284 |
</TABLE> |
| 285 |
|
| 286 |
<A NAME="atmaxrows"><!-- --></A><H3> |
| 287 |
atmaxrows</H3> |
| 288 |
<PRE> |
| 289 |
public boolean <B>atmaxrows</B></PRE> |
| 290 |
<DL> |
| 291 |
<DD>Flag to indicate Maximum number of rows condition. |
| 292 |
<P> |
| 293 |
<DL> |
| 294 |
</DL> |
| 295 |
</DL> |
| 296 |
<HR> |
| 297 |
|
| 298 |
<A NAME="column"><!-- --></A><H3> |
| 299 |
column</H3> |
| 300 |
<PRE> |
| 301 |
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</B></PRE> |
| 302 |
<DL> |
| 303 |
<DD>Column names of the result set. |
| 304 |
<P> |
| 305 |
<DL> |
| 306 |
</DL> |
| 307 |
</DL> |
| 308 |
<HR> |
| 309 |
|
| 310 |
<A NAME="maxrows"><!-- --></A><H3> |
| 311 |
maxrows</H3> |
| 312 |
<PRE> |
| 313 |
public int <B>maxrows</B></PRE> |
| 314 |
<DL> |
| 315 |
<DD>Maximum number of rows to hold in the table. |
| 316 |
<P> |
| 317 |
<DL> |
| 318 |
</DL> |
| 319 |
</DL> |
| 320 |
<HR> |
| 321 |
|
| 322 |
<A NAME="ncolumns"><!-- --></A><H3> |
| 323 |
ncolumns</H3> |
| 324 |
<PRE> |
| 325 |
public int <B>ncolumns</B></PRE> |
| 326 |
<DL> |
| 327 |
<DD>Number of columns in the result set. |
| 328 |
<P> |
| 329 |
<DL> |
| 330 |
</DL> |
| 331 |
</DL> |
| 332 |
<HR> |
| 333 |
|
| 334 |
<A NAME="nrows"><!-- --></A><H3> |
| 335 |
nrows</H3> |
| 336 |
<PRE> |
| 337 |
public int <B>nrows</B></PRE> |
| 338 |
<DL> |
| 339 |
<DD>Number of rows in the result set. |
| 340 |
<P> |
| 341 |
<DL> |
| 342 |
</DL> |
| 343 |
</DL> |
| 344 |
<HR> |
| 345 |
|
| 346 |
<A NAME="rows"><!-- --></A><H3> |
| 347 |
rows</H3> |
| 348 |
<PRE> |
| 349 |
public <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Vector.html" title="class or interface in java.util">Vector</A> <B>rows</B></PRE> |
| 350 |
<DL> |
| 351 |
<DD>Rows of the result set. Each row is stored as a String array. |
| 352 |
<P> |
| 353 |
<DL> |
| 354 |
</DL> |
| 355 |
</DL> |
| 356 |
<HR> |
| 357 |
|
| 358 |
<A NAME="types"><!-- --></A><H3> |
| 359 |
types</H3> |
| 360 |
<PRE> |
| 361 |
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>types</B></PRE> |
| 362 |
<DL> |
| 363 |
<DD>Types of columns of the result set or null. |
| 364 |
<P> |
| 365 |
<DL> |
| 366 |
</DL> |
| 367 |
</DL> |
| 368 |
|
| 369 |
<!-- ========= CONSTRUCTOR DETAIL ======== --> |
| 370 |
|
| 371 |
<A NAME="constructor_detail"><!-- --></A> |
| 372 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 373 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 374 |
<TD COLSPAN=1><FONT SIZE="+2"> |
| 375 |
<B>Constructor Detail</B></FONT></TD> |
| 376 |
</TR> |
| 377 |
</TABLE> |
| 378 |
|
| 379 |
<A NAME="TableResult()"><!-- --></A><H3> |
| 380 |
TableResult</H3> |
| 381 |
<PRE> |
| 382 |
public <B>TableResult</B>()</PRE> |
| 383 |
<DL> |
| 384 |
<DD>Create an empty result set. |
| 385 |
<P> |
| 386 |
</DL> |
| 387 |
<HR> |
| 388 |
|
| 389 |
<A NAME="TableResult(int)"><!-- --></A><H3> |
| 390 |
TableResult</H3> |
| 391 |
<PRE> |
| 392 |
public <B>TableResult</B>(int maxrows)</PRE> |
| 393 |
<DL> |
| 394 |
<DD>Create an empty result set with maximum number of rows. |
| 395 |
<P> |
| 396 |
</DL> |
| 397 |
|
| 398 |
<!-- ============ METHOD DETAIL ========== --> |
| 399 |
|
| 400 |
<A NAME="method_detail"><!-- --></A> |
| 401 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 402 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 403 |
<TD COLSPAN=1><FONT SIZE="+2"> |
| 404 |
<B>Method Detail</B></FONT></TD> |
| 405 |
</TR> |
| 406 |
</TABLE> |
| 407 |
|
| 408 |
<A NAME="clear()"><!-- --></A><H3> |
| 409 |
clear</H3> |
| 410 |
<PRE> |
| 411 |
public void <B>clear</B>()</PRE> |
| 412 |
<DL> |
| 413 |
<DD>Clear result set. |
| 414 |
<P> |
| 415 |
<DD><DL> |
| 416 |
</DL> |
| 417 |
</DD> |
| 418 |
<DD><DL> |
| 419 |
</DL> |
| 420 |
</DD> |
| 421 |
</DL> |
| 422 |
<HR> |
| 423 |
|
| 424 |
<A NAME="columns(java.lang.String[])"><!-- --></A><H3> |
| 425 |
columns</H3> |
| 426 |
<PRE> |
| 427 |
public void <B>columns</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[] coldata)</PRE> |
| 428 |
<DL> |
| 429 |
<DD>Callback method used while the query is executed. |
| 430 |
<P> |
| 431 |
<DD><DL> |
| 432 |
<DT><B>Specified by:</B><DD><CODE><A HREF="../SQLite/Callback.html#columns(java.lang.String[])">columns</A></CODE> in interface <CODE><A HREF="../SQLite/Callback.html" title="interface in SQLite">Callback</A></CODE></DL> |
| 433 |
</DD> |
| 434 |
<DD><DL> |
| 435 |
<DT><B>Parameters:</B><DD><CODE>coldata</CODE> - string array holding the column names</DL> |
| 436 |
</DD> |
| 437 |
</DL> |
| 438 |
<HR> |
| 439 |
|
| 440 |
<A NAME="newrow(java.lang.String[])"><!-- --></A><H3> |
| 441 |
newrow</H3> |
| 442 |
<PRE> |
| 443 |
public boolean <B>newrow</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[] rowdata)</PRE> |
| 444 |
<DL> |
| 445 |
<DD>Callback method used while the query is executed. |
| 446 |
<P> |
| 447 |
<DD><DL> |
| 448 |
<DT><B>Specified by:</B><DD><CODE><A HREF="../SQLite/Callback.html#newrow(java.lang.String[])">newrow</A></CODE> in interface <CODE><A HREF="../SQLite/Callback.html" title="interface in SQLite">Callback</A></CODE></DL> |
| 449 |
</DD> |
| 450 |
<DD><DL> |
| 451 |
<DT><B>Parameters:</B><DD><CODE>rowdata</CODE> - string array holding the column values of the row</DL> |
| 452 |
</DD> |
| 453 |
</DL> |
| 454 |
<HR> |
| 455 |
|
| 456 |
<A NAME="toString()"><!-- --></A><H3> |
| 457 |
toString</H3> |
| 458 |
<PRE> |
| 459 |
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>toString</B>()</PRE> |
| 460 |
<DL> |
| 461 |
<DD>Make String representation of result set. |
| 462 |
<P> |
| 463 |
<DD><DL> |
| 464 |
</DL> |
| 465 |
</DD> |
| 466 |
<DD><DL> |
| 467 |
</DL> |
| 468 |
</DD> |
| 469 |
</DL> |
| 470 |
<HR> |
| 471 |
|
| 472 |
<A NAME="types(java.lang.String[])"><!-- --></A><H3> |
| 473 |
types</H3> |
| 474 |
<PRE> |
| 475 |
public void <B>types</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[] types)</PRE> |
| 476 |
<DL> |
| 477 |
<DD>Callback method used while the query is executed. |
| 478 |
<P> |
| 479 |
<DD><DL> |
| 480 |
<DT><B>Specified by:</B><DD><CODE><A HREF="../SQLite/Callback.html#types(java.lang.String[])">types</A></CODE> in interface <CODE><A HREF="../SQLite/Callback.html" title="interface in SQLite">Callback</A></CODE></DL> |
| 481 |
</DD> |
| 482 |
<DD><DL> |
| 483 |
<DT><B>Parameters:</B><DD><CODE>types</CODE> - string array holding column types</DL> |
| 484 |
</DD> |
| 485 |
</DL> |
| 486 |
<!-- ========= END OF CLASS DATA ========= --> |
| 487 |
<HR> |
| 488 |
|
| 489 |
|
| 490 |
<!-- ======= START OF BOTTOM NAVBAR ====== --> |
| 491 |
<A NAME="navbar_bottom"><!-- --></A> |
| 492 |
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
| 493 |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| 494 |
<TR> |
| 495 |
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| 496 |
<A NAME="navbar_bottom_firstrow"><!-- --></A> |
| 497 |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| 498 |
<TR ALIGN="center" VALIGN="top"> |
| 499 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| 500 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| 501 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| 502 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| 503 |
</TR> |
| 504 |
</TABLE> |
| 505 |
</TD> |
| 506 |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| 507 |
</EM> |
| 508 |
</TD> |
| 509 |
</TR> |
| 510 |
|
| 511 |
<TR> |
| 512 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 513 |
<A HREF="../SQLite/StringEncoder.html" title="class in SQLite"><B>PREV CLASS</B></A> |
| 514 |
<A HREF="../SQLite/Trace.html" title="interface in SQLite"><B>NEXT CLASS</B></A></FONT></TD> |
| 515 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 516 |
<A HREF="../index.html" target="_top"><B>FRAMES</B></A> |
| 517 |
<A HREF="TableResult.html" target="_top"><B>NO FRAMES</B></A> |
| 518 |
<SCRIPT type="text/javascript"> |
| 519 |
<!-- |
| 520 |
if(window==top) { |
| 521 |
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>'); |
| 522 |
} |
| 523 |
//--> |
| 524 |
</SCRIPT> |
| 525 |
<NOSCRIPT> |
| 526 |
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A> |
| 527 |
</NOSCRIPT> |
| 528 |
|
| 529 |
</FONT></TD> |
| 530 |
</TR> |
| 531 |
<TR> |
| 532 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 533 |
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| 534 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 535 |
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| 536 |
</TR> |
| 537 |
</TABLE> |
| 538 |
<A NAME="skip-navbar_bottom"></A> |
| 539 |
<!-- ======== END OF BOTTOM NAVBAR ======= --> |
| 540 |
|
| 541 |
<HR> |
| 542 |
<small>Contact: <a HREF="mailto:[email protected]">Christian Werner</a></small> |
| 543 |
</BODY> |
| 544 |
</HTML> |