| 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 |
Profile (SQLite Java Wrapper) |
| 8 |
</TITLE> |
| 9 |
|
| 10 |
<META NAME="keywords" CONTENT="SQLite.Profile interface"> |
| 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="Profile (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/FunctionContext.html" title="class in SQLite"><B>PREV CLASS</B></A> |
| 50 |
<A HREF="../SQLite/ProgressHandler.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="Profile.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 | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| 70 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 71 |
DETAIL: FIELD | CONSTR | <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 |
Interface Profile</H2> |
| 84 |
<HR> |
| 85 |
<DL> |
| 86 |
<DT>public interface <B>Profile</B></DL> |
| 87 |
|
| 88 |
<P> |
| 89 |
Callback interface for SQLite's profile function. |
| 90 |
<P> |
| 91 |
|
| 92 |
<P> |
| 93 |
<HR> |
| 94 |
|
| 95 |
<P> |
| 96 |
<!-- ======== NESTED CLASS SUMMARY ======== --> |
| 97 |
|
| 98 |
|
| 99 |
<!-- =========== FIELD SUMMARY =========== --> |
| 100 |
|
| 101 |
|
| 102 |
<!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| 103 |
|
| 104 |
|
| 105 |
<!-- ========== METHOD SUMMARY =========== --> |
| 106 |
|
| 107 |
<A NAME="method_summary"><!-- --></A> |
| 108 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 109 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 110 |
<TD COLSPAN=2><FONT SIZE="+2"> |
| 111 |
<B>Method Summary</B></FONT></TD> |
| 112 |
</TR> |
| 113 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 114 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 115 |
<CODE> void</CODE></FONT></TD> |
| 116 |
<TD><CODE><B><A HREF="../SQLite/Profile.html#profile(java.lang.String, long)">profile</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> stmt, |
| 117 |
long est)</CODE> |
| 118 |
|
| 119 |
<BR> |
| 120 |
Callback to profile (ie log) one SQL statement |
| 121 |
with its estimated execution time.</TD> |
| 122 |
</TR> |
| 123 |
</TABLE> |
| 124 |
|
| 125 |
<P> |
| 126 |
|
| 127 |
<!-- ============ FIELD DETAIL =========== --> |
| 128 |
|
| 129 |
|
| 130 |
<!-- ========= CONSTRUCTOR DETAIL ======== --> |
| 131 |
|
| 132 |
|
| 133 |
<!-- ============ METHOD DETAIL ========== --> |
| 134 |
|
| 135 |
<A NAME="method_detail"><!-- --></A> |
| 136 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 137 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 138 |
<TD COLSPAN=1><FONT SIZE="+2"> |
| 139 |
<B>Method Detail</B></FONT></TD> |
| 140 |
</TR> |
| 141 |
</TABLE> |
| 142 |
|
| 143 |
<A NAME="profile(java.lang.String, long)"><!-- --></A><H3> |
| 144 |
profile</H3> |
| 145 |
<PRE> |
| 146 |
public void <B>profile</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> stmt, |
| 147 |
long est)</PRE> |
| 148 |
<DL> |
| 149 |
<DD>Callback to profile (ie log) one SQL statement |
| 150 |
with its estimated execution time. |
| 151 |
<P> |
| 152 |
<DD><DL> |
| 153 |
<DT><B>Parameters:</B><DD><CODE>stmt</CODE> - SQL statement string<DD><CODE>est</CODE> - estimated execution time in milliseconds.</DL> |
| 154 |
</DD> |
| 155 |
</DL> |
| 156 |
<!-- ========= END OF CLASS DATA ========= --> |
| 157 |
<HR> |
| 158 |
|
| 159 |
|
| 160 |
<!-- ======= START OF BOTTOM NAVBAR ====== --> |
| 161 |
<A NAME="navbar_bottom"><!-- --></A> |
| 162 |
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
| 163 |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| 164 |
<TR> |
| 165 |
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| 166 |
<A NAME="navbar_bottom_firstrow"><!-- --></A> |
| 167 |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| 168 |
<TR ALIGN="center" VALIGN="top"> |
| 169 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| 170 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| 171 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| 172 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| 173 |
</TR> |
| 174 |
</TABLE> |
| 175 |
</TD> |
| 176 |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| 177 |
</EM> |
| 178 |
</TD> |
| 179 |
</TR> |
| 180 |
|
| 181 |
<TR> |
| 182 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 183 |
<A HREF="../SQLite/FunctionContext.html" title="class in SQLite"><B>PREV CLASS</B></A> |
| 184 |
<A HREF="../SQLite/ProgressHandler.html" title="interface in SQLite"><B>NEXT CLASS</B></A></FONT></TD> |
| 185 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 186 |
<A HREF="../index.html" target="_top"><B>FRAMES</B></A> |
| 187 |
<A HREF="Profile.html" target="_top"><B>NO FRAMES</B></A> |
| 188 |
<SCRIPT type="text/javascript"> |
| 189 |
<!-- |
| 190 |
if(window==top) { |
| 191 |
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>'); |
| 192 |
} |
| 193 |
//--> |
| 194 |
</SCRIPT> |
| 195 |
<NOSCRIPT> |
| 196 |
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A> |
| 197 |
</NOSCRIPT> |
| 198 |
|
| 199 |
</FONT></TD> |
| 200 |
</TR> |
| 201 |
<TR> |
| 202 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 203 |
SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| 204 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 205 |
DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| 206 |
</TR> |
| 207 |
</TABLE> |
| 208 |
<A NAME="skip-navbar_bottom"></A> |
| 209 |
<!-- ======== END OF BOTTOM NAVBAR ======= --> |
| 210 |
|
| 211 |
<HR> |
| 212 |
<small>Contact: <a HREF="mailto:[email protected]">Christian Werner</a></small> |
| 213 |
</BODY> |
| 214 |
</HTML> |