mirror of
https://github.com/berkeleydb/libdb.git
synced 2024-11-17 09:36:24 +00:00
2250 lines
94 KiB
HTML
2250 lines
94 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<!--NewPage-->
|
|
<HTML>
|
|
<HEAD>
|
|
<!-- Generated by javadoc (build 1.4.2_03) on Sat Apr 30 14:01:27 CEST 2011 -->
|
|
<TITLE>
|
|
Database (SQLite Java Wrapper)
|
|
</TITLE>
|
|
|
|
<META NAME="keywords" CONTENT="SQLite.Database class">
|
|
|
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
|
|
|
<SCRIPT type="text/javascript">
|
|
function windowTitle()
|
|
{
|
|
parent.document.title="Database (SQLite Java Wrapper)";
|
|
}
|
|
</SCRIPT>
|
|
|
|
</HEAD>
|
|
|
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
|
|
|
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<A NAME="navbar_top"><!-- --></A>
|
|
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
|
<TR>
|
|
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
|
<A NAME="navbar_top_firstrow"><!-- --></A>
|
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
|
<TR ALIGN="center" VALIGN="top">
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
</TR>
|
|
</TABLE>
|
|
</TD>
|
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
</EM>
|
|
</TD>
|
|
</TR>
|
|
|
|
<TR>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../SQLite/Constants.html" title="class in SQLite"><B>PREV CLASS</B></A>
|
|
<A HREF="../SQLite/Exception.html" title="class in SQLite"><B>NEXT CLASS</B></A></FONT></TD>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../index.html" target="_top"><B>FRAMES</B></A>
|
|
<A HREF="Database.html" target="_top"><B>NO FRAMES</B></A>
|
|
<SCRIPT type="text/javascript">
|
|
<!--
|
|
if(window==top) {
|
|
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
}
|
|
//-->
|
|
</SCRIPT>
|
|
<NOSCRIPT>
|
|
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
|
</NOSCRIPT>
|
|
|
|
</FONT></TD>
|
|
</TR>
|
|
<TR>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="skip-navbar_top"></A>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
|
|
<HR>
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
|
<H2>
|
|
<FONT SIZE="-1">
|
|
SQLite</FONT>
|
|
<BR>
|
|
Class Database</H2>
|
|
<PRE>
|
|
<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>
|
|
<IMG SRC="../resources/inherit.gif" ALT="extended by"><B>SQLite.Database</B>
|
|
</PRE>
|
|
<HR>
|
|
<DL>
|
|
<DT>public class <B>Database</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>
|
|
|
|
<P>
|
|
Main class wrapping an SQLite database.
|
|
<P>
|
|
|
|
<P>
|
|
<HR>
|
|
|
|
<P>
|
|
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
|
|
|
|
|
<!-- =========== FIELD SUMMARY =========== -->
|
|
|
|
<A NAME="field_summary"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TD COLSPAN=2><FONT SIZE="+2">
|
|
<B>Field Summary</B></FONT></TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#error_code">error_code</A></B></CODE>
|
|
|
|
<BR>
|
|
Internal last error code for exec() methods.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected long</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#handle">handle</A></B></CODE>
|
|
|
|
<BR>
|
|
Internal handle for the native SQLite API.</TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
|
|
<A NAME="constructor_summary"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TD COLSPAN=2><FONT SIZE="+2">
|
|
<B>Constructor Summary</B></FONT></TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#Database()">Database</A></B>()</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
|
|
<A NAME="method_summary"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TD COLSPAN=2><FONT SIZE="+2">
|
|
<B>Method Summary</B></FONT></TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>private static void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#_backup(SQLite.Backup, SQLite.Database, java.lang.String, SQLite.Database, java.lang.String)">_backup</A></B>(<A HREF="../SQLite/Backup.html" title="class in SQLite">Backup</A> b,
|
|
<A HREF="../SQLite/Database.html" title="class in SQLite">Database</A> dest,
|
|
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> destName,
|
|
<A HREF="../SQLite/Database.html" title="class in SQLite">Database</A> src,
|
|
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> srcName)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>private void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#_busy_handler(SQLite.BusyHandler)">_busy_handler</A></B>(<A HREF="../SQLite/BusyHandler.html" title="interface in SQLite">BusyHandler</A> bh)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>private void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#_busy_timeout(int)">_busy_timeout</A></B>(int ms)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>private long</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#_changes()">_changes</A></B>()</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>private void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#_close()">_close</A></B>()</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>private static boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#_complete(java.lang.String)">_complete</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> sql)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>private void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#_create_aggregate(java.lang.String, int, SQLite.Function)">_create_aggregate</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> name,
|
|
int nargs,
|
|
<A HREF="../SQLite/Function.html" title="interface in SQLite">Function</A> f)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>private void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#_create_function(java.lang.String, int, SQLite.Function)">_create_function</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> name,
|
|
int nargs,
|
|
<A HREF="../SQLite/Function.html" title="interface in SQLite">Function</A> f)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>private int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#_db_status(int, int[], boolean)">_db_status</A></B>(int op,
|
|
int[] info,
|
|
boolean flag)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected static boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#_enable_shared_cache(boolean)">_enable_shared_cache</A></B>(boolean onoff)</CODE>
|
|
|
|
<BR>
|
|
Enable/disable shared cache mode (SQLite 3.x only).</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>private <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>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#_errmsg()">_errmsg</A></B>()</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>private void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#_exec(java.lang.String, SQLite.Callback)">_exec</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> sql,
|
|
<A HREF="../SQLite/Callback.html" title="interface in SQLite">Callback</A> cb)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>private void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#_exec(java.lang.String, SQLite.Callback, java.lang.String[])">_exec</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> sql,
|
|
<A HREF="../SQLite/Callback.html" title="interface in SQLite">Callback</A> cb,
|
|
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[] args)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>private void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#_finalize()">_finalize</A></B>()</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>private void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#_function_type(java.lang.String, int)">_function_type</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> name,
|
|
int type)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>private void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#_interrupt()">_interrupt</A></B>()</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>private void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#_key(byte[])">_key</A></B>(byte[] ekey)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>private long</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#_last_insert_rowid()">_last_insert_rowid</A></B>()</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>private void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#_open_aux_file(java.lang.String)">_open_aux_file</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> filename)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>private void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#_open_blob(java.lang.String, java.lang.String, java.lang.String, long, boolean, SQLite.Blob)">_open_blob</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> db,
|
|
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> table,
|
|
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> column,
|
|
long row,
|
|
boolean rw,
|
|
<A HREF="../SQLite/Blob.html" title="class in SQLite">Blob</A> blob)</CODE>
|
|
|
|
<BR>
|
|
Internal SQLite open blob method.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>private void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#_open(java.lang.String, int)">_open</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> filename,
|
|
int mode)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>private void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#_open4(java.lang.String, int, java.lang.String, boolean)">_open4</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> filename,
|
|
int mode,
|
|
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> vfs,
|
|
boolean ver2)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>private void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#_profile(SQLite.Profile)">_profile</A></B>(<A HREF="../SQLite/Profile.html" title="interface in SQLite">Profile</A> pr)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>private void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#_progress_handler(int, SQLite.ProgressHandler)">_progress_handler</A></B>(int n,
|
|
<A HREF="../SQLite/ProgressHandler.html" title="interface in SQLite">ProgressHandler</A> p)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>private void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#_rekey(byte[])">_rekey</A></B>(byte[] ekey)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>private void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#_set_authorizer(SQLite.Authorizer)">_set_authorizer</A></B>(<A HREF="../SQLite/Authorizer.html" title="interface in SQLite">Authorizer</A> auth)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>private void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#_set_encoding(java.lang.String)">_set_encoding</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> enc)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>private static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#_status(int, int[], boolean)">_status</A></B>(int op,
|
|
int[] info,
|
|
boolean flag)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>private void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#_trace(SQLite.Trace)">_trace</A></B>(<A HREF="../SQLite/Trace.html" title="interface in SQLite">Trace</A> tr)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../SQLite/Backup.html" title="class in SQLite">Backup</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#backup(SQLite.Database, java.lang.String, java.lang.String)">backup</A></B>(<A HREF="../SQLite/Database.html" title="class in SQLite">Database</A> dest,
|
|
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> destName,
|
|
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> srcName)</CODE>
|
|
|
|
<BR>
|
|
Initiate a database backup, SQLite 3.x only.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#busy_handler(SQLite.BusyHandler)">busy_handler</A></B>(<A HREF="../SQLite/BusyHandler.html" title="interface in SQLite">BusyHandler</A> bh)</CODE>
|
|
|
|
<BR>
|
|
Establish a busy callback method which gets called when
|
|
an SQLite table is locked.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#busy_timeout(int)">busy_timeout</A></B>(int ms)</CODE>
|
|
|
|
<BR>
|
|
Set the timeout for waiting for an SQLite table to become
|
|
unlocked.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> long</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#changes()">changes</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Return the number of changed rows for the last statement.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#close()">close</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Close the underlying SQLite database file.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../SQLite/Vm.html" title="class in SQLite">Vm</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#compile(java.lang.String)">compile</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> sql)</CODE>
|
|
|
|
<BR>
|
|
Compile and return SQLite VM for SQL statement.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../SQLite/Vm.html" title="class in SQLite">Vm</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#compile(java.lang.String, java.lang.String[])">compile</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> sql,
|
|
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[] args)</CODE>
|
|
|
|
<BR>
|
|
Compile and return SQLite VM for SQL statement.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#complete(java.lang.String)">complete</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> sql)</CODE>
|
|
|
|
<BR>
|
|
See if an SQL statement is complete.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#create_aggregate(java.lang.String, int, SQLite.Function)">create_aggregate</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> name,
|
|
int nargs,
|
|
<A HREF="../SQLite/Function.html" title="interface in SQLite">Function</A> f)</CODE>
|
|
|
|
<BR>
|
|
Create aggregate function.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#create_function(java.lang.String, int, SQLite.Function)">create_function</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> name,
|
|
int nargs,
|
|
<A HREF="../SQLite/Function.html" title="interface in SQLite">Function</A> f)</CODE>
|
|
|
|
<BR>
|
|
Create regular function.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#db_status(int, int[], boolean)">db_status</A></B>(int op,
|
|
int[] info,
|
|
boolean flag)</CODE>
|
|
|
|
<BR>
|
|
Return information on SQLite connection status.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#dbversion()">dbversion</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Return SQLite version number as string.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#error_message()">error_message</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Return last error message of SQLite3 engine.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <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>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#error_string(int)">error_string</A></B>(int error_code)</CODE>
|
|
|
|
<BR>
|
|
Return error string given SQLite error code (SQLite2).</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#exec(java.lang.String, SQLite.Callback)">exec</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> sql,
|
|
<A HREF="../SQLite/Callback.html" title="interface in SQLite">Callback</A> cb)</CODE>
|
|
|
|
<BR>
|
|
Execute an SQL statement and invoke callback methods
|
|
for each row of the result set.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#exec(java.lang.String, SQLite.Callback, java.lang.String[])">exec</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> sql,
|
|
<A HREF="../SQLite/Callback.html" title="interface in SQLite">Callback</A> cb,
|
|
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[] args)</CODE>
|
|
|
|
<BR>
|
|
Execute an SQL statement and invoke callback methods
|
|
for each row of the result set.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#finalize()">finalize</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Destructor for object.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#function_type(java.lang.String, int)">function_type</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> name,
|
|
int type)</CODE>
|
|
|
|
<BR>
|
|
Set function return type.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../SQLite/TableResult.html" title="class in SQLite">TableResult</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#get_table(java.lang.String)">get_table</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> sql)</CODE>
|
|
|
|
<BR>
|
|
Convenience method to retrieve an entire result
|
|
set into memory.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../SQLite/TableResult.html" title="class in SQLite">TableResult</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#get_table(java.lang.String, int)">get_table</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> sql,
|
|
int maxrows)</CODE>
|
|
|
|
<BR>
|
|
Convenience method to retrieve an entire result
|
|
set into memory.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../SQLite/TableResult.html" title="class in SQLite">TableResult</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#get_table(java.lang.String, int, java.lang.String[])">get_table</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> sql,
|
|
int maxrows,
|
|
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[] args)</CODE>
|
|
|
|
<BR>
|
|
Convenience method to retrieve an entire result
|
|
set into memory.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../SQLite/TableResult.html" title="class in SQLite">TableResult</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#get_table(java.lang.String, java.lang.String[])">get_table</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> sql,
|
|
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[] args)</CODE>
|
|
|
|
<BR>
|
|
Convenience method to retrieve an entire result
|
|
set into memory.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#get_table(java.lang.String, java.lang.String[], SQLite.TableResult)">get_table</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> sql,
|
|
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[] args,
|
|
<A HREF="../SQLite/TableResult.html" title="class in SQLite">TableResult</A> tbl)</CODE>
|
|
|
|
<BR>
|
|
Convenience method to retrieve an entire result
|
|
set into memory.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>private static void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#internal_init()">internal_init</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Internal native initializer.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#interrupt()">interrupt</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Abort the current SQLite operation.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#is3()">is3</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Check type of open database.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static double</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#julian_from_long(long)">julian_from_long</A></B>(long ms)</CODE>
|
|
|
|
<BR>
|
|
Make julian date value from java.lang.Date</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#key(byte[])">key</A></B>(byte[] ekey)</CODE>
|
|
|
|
<BR>
|
|
Specify key for encrypted database.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#key(java.lang.String)">key</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> skey)</CODE>
|
|
|
|
<BR>
|
|
Specify key for encrypted database.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#last_error()">last_error</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Return the code of the last error occured in
|
|
any of the exec() methods.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> long</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#last_insert_rowid()">last_insert_rowid</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Return the row identifier of the last inserted
|
|
row.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static long</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#long_from_julian(double)">long_from_julian</A></B>(double d)</CODE>
|
|
|
|
<BR>
|
|
Make long value from julian date for java.lang.Date</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static long</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#long_from_julian(java.lang.String)">long_from_julian</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> s)</CODE>
|
|
|
|
<BR>
|
|
Make long value from julian date for java.lang.Date</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#open_aux_file(java.lang.String)">open_aux_file</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> filename)</CODE>
|
|
|
|
<BR>
|
|
Open SQLite auxiliary database file for temporary
|
|
tables.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../SQLite/Blob.html" title="class in SQLite">Blob</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#open_blob(java.lang.String, java.lang.String, java.lang.String, long, boolean)">open_blob</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> db,
|
|
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> table,
|
|
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> column,
|
|
long row,
|
|
boolean rw)</CODE>
|
|
|
|
<BR>
|
|
Open an SQLite3 blob.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#open(java.lang.String, int)">open</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> filename,
|
|
int mode)</CODE>
|
|
|
|
<BR>
|
|
Open an SQLite database file.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#open(java.lang.String, int, java.lang.String)">open</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> filename,
|
|
int mode,
|
|
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> vfs)</CODE>
|
|
|
|
<BR>
|
|
Open an SQLite database file.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#open(java.lang.String, int, java.lang.String, boolean)">open</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> filename,
|
|
int mode,
|
|
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> vfs,
|
|
boolean ver2)</CODE>
|
|
|
|
<BR>
|
|
Open an SQLite database file.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../SQLite/Stmt.html" title="class in SQLite">Stmt</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#prepare(java.lang.String)">prepare</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> sql)</CODE>
|
|
|
|
<BR>
|
|
Prepare and return SQLite3 statement for SQL.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#profile(SQLite.Profile)">profile</A></B>(<A HREF="../SQLite/Profile.html" title="interface in SQLite">Profile</A> pr)</CODE>
|
|
|
|
<BR>
|
|
Set profile function.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#progress_handler(int, SQLite.ProgressHandler)">progress_handler</A></B>(int n,
|
|
<A HREF="../SQLite/ProgressHandler.html" title="interface in SQLite">ProgressHandler</A> p)</CODE>
|
|
|
|
<BR>
|
|
Establish a progress callback method which gets called after
|
|
N SQLite VM opcodes.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#rekey(byte[])">rekey</A></B>(byte[] ekey)</CODE>
|
|
|
|
<BR>
|
|
Change the key of a encrypted database.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#rekey(java.lang.String)">rekey</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> skey)</CODE>
|
|
|
|
<BR>
|
|
Change the key of a encrypted database.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#set_authorizer(SQLite.Authorizer)">set_authorizer</A></B>(<A HREF="../SQLite/Authorizer.html" title="interface in SQLite">Authorizer</A> auth)</CODE>
|
|
|
|
<BR>
|
|
Set authorizer function.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#set_encoding(java.lang.String)">set_encoding</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> enc)</CODE>
|
|
|
|
<BR>
|
|
Set character encoding.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#set_last_error(int)">set_last_error</A></B>(int error_code)</CODE>
|
|
|
|
<BR>
|
|
Internal: set error code.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#status(int, int[], boolean)">status</A></B>(int op,
|
|
int[] info,
|
|
boolean flag)</CODE>
|
|
|
|
<BR>
|
|
Return information on SQLite runtime status.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>private void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#stmt_prepare(java.lang.String, SQLite.Stmt)">stmt_prepare</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> sql,
|
|
<A HREF="../SQLite/Stmt.html" title="class in SQLite">Stmt</A> stmt)</CODE>
|
|
|
|
<BR>
|
|
Internal SQLite3 prepare method.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#trace(SQLite.Trace)">trace</A></B>(<A HREF="../SQLite/Trace.html" title="interface in SQLite">Trace</A> tr)</CODE>
|
|
|
|
<BR>
|
|
Set trace function.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <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>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#version()">version</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Return SQLite version number as string.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>private void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#vm_compile_args(java.lang.String, SQLite.Vm, java.lang.String[])">vm_compile_args</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> sql,
|
|
<A HREF="../SQLite/Vm.html" title="class in SQLite">Vm</A> vm,
|
|
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[] args)</CODE>
|
|
|
|
<BR>
|
|
Internal compile method, SQLite 3.0 only.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>private void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../SQLite/Database.html#vm_compile(java.lang.String, SQLite.Vm)">vm_compile</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> sql,
|
|
<A HREF="../SQLite/Vm.html" title="class in SQLite">Vm</A> vm)</CODE>
|
|
|
|
<BR>
|
|
Internal compile method.</TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
|
<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>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<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>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<P>
|
|
|
|
<!-- ============ FIELD DETAIL =========== -->
|
|
|
|
<A NAME="field_detail"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TD COLSPAN=1><FONT SIZE="+2">
|
|
<B>Field Detail</B></FONT></TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<A NAME="error_code"><!-- --></A><H3>
|
|
error_code</H3>
|
|
<PRE>
|
|
protected int <B>error_code</B></PRE>
|
|
<DL>
|
|
<DD>Internal last error code for exec() methods.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="handle"><!-- --></A><H3>
|
|
handle</H3>
|
|
<PRE>
|
|
protected long <B>handle</B></PRE>
|
|
<DL>
|
|
<DD>Internal handle for the native SQLite API.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
|
|
<A NAME="constructor_detail"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TD COLSPAN=1><FONT SIZE="+2">
|
|
<B>Constructor Detail</B></FONT></TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<A NAME="Database()"><!-- --></A><H3>
|
|
Database</H3>
|
|
<PRE>
|
|
public <B>Database</B>()</PRE>
|
|
<DL>
|
|
</DL>
|
|
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
|
|
<A NAME="method_detail"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TD COLSPAN=1><FONT SIZE="+2">
|
|
<B>Method Detail</B></FONT></TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<A NAME="_backup(SQLite.Backup, SQLite.Database, java.lang.String, SQLite.Database, java.lang.String)"><!-- --></A><H3>
|
|
_backup</H3>
|
|
<PRE>
|
|
private static void <B>_backup</B>(<A HREF="../SQLite/Backup.html" title="class in SQLite">Backup</A> b,
|
|
<A HREF="../SQLite/Database.html" title="class in SQLite">Database</A> dest,
|
|
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> destName,
|
|
<A HREF="../SQLite/Database.html" title="class in SQLite">Database</A> src,
|
|
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> srcName)
|
|
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="_busy_handler(SQLite.BusyHandler)"><!-- --></A><H3>
|
|
_busy_handler</H3>
|
|
<PRE>
|
|
private void <B>_busy_handler</B>(<A HREF="../SQLite/BusyHandler.html" title="interface in SQLite">BusyHandler</A> bh)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="_busy_timeout(int)"><!-- --></A><H3>
|
|
_busy_timeout</H3>
|
|
<PRE>
|
|
private void <B>_busy_timeout</B>(int ms)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="_changes()"><!-- --></A><H3>
|
|
_changes</H3>
|
|
<PRE>
|
|
private long <B>_changes</B>()</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="_close()"><!-- --></A><H3>
|
|
_close</H3>
|
|
<PRE>
|
|
private void <B>_close</B>()
|
|
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="_complete(java.lang.String)"><!-- --></A><H3>
|
|
_complete</H3>
|
|
<PRE>
|
|
private static boolean <B>_complete</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> sql)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="_create_aggregate(java.lang.String, int, SQLite.Function)"><!-- --></A><H3>
|
|
_create_aggregate</H3>
|
|
<PRE>
|
|
private void <B>_create_aggregate</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name,
|
|
int nargs,
|
|
<A HREF="../SQLite/Function.html" title="interface in SQLite">Function</A> f)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="_create_function(java.lang.String, int, SQLite.Function)"><!-- --></A><H3>
|
|
_create_function</H3>
|
|
<PRE>
|
|
private void <B>_create_function</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name,
|
|
int nargs,
|
|
<A HREF="../SQLite/Function.html" title="interface in SQLite">Function</A> f)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="_db_status(int, int[], boolean)"><!-- --></A><H3>
|
|
_db_status</H3>
|
|
<PRE>
|
|
private int <B>_db_status</B>(int op,
|
|
int[] info,
|
|
boolean flag)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="_enable_shared_cache(boolean)"><!-- --></A><H3>
|
|
_enable_shared_cache</H3>
|
|
<PRE>
|
|
protected static boolean <B>_enable_shared_cache</B>(boolean onoff)</PRE>
|
|
<DL>
|
|
<DD>Enable/disable shared cache mode (SQLite 3.x only).
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>onoff</CODE> - boolean to enable or disable shared cache
|
|
<DT><B>Returns:</B><DD>boolean when true, function supported/succeeded</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="_errmsg()"><!-- --></A><H3>
|
|
_errmsg</H3>
|
|
<PRE>
|
|
private <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>_errmsg</B>()</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="_exec(java.lang.String, SQLite.Callback)"><!-- --></A><H3>
|
|
_exec</H3>
|
|
<PRE>
|
|
private void <B>_exec</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> sql,
|
|
<A HREF="../SQLite/Callback.html" title="interface in SQLite">Callback</A> cb)
|
|
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="_exec(java.lang.String, SQLite.Callback, java.lang.String[])"><!-- --></A><H3>
|
|
_exec</H3>
|
|
<PRE>
|
|
private void <B>_exec</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> sql,
|
|
<A HREF="../SQLite/Callback.html" title="interface in SQLite">Callback</A> cb,
|
|
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[] args)
|
|
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="_finalize()"><!-- --></A><H3>
|
|
_finalize</H3>
|
|
<PRE>
|
|
private void <B>_finalize</B>()</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="_function_type(java.lang.String, int)"><!-- --></A><H3>
|
|
_function_type</H3>
|
|
<PRE>
|
|
private void <B>_function_type</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name,
|
|
int type)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="_interrupt()"><!-- --></A><H3>
|
|
_interrupt</H3>
|
|
<PRE>
|
|
private void <B>_interrupt</B>()</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="_key(byte[])"><!-- --></A><H3>
|
|
_key</H3>
|
|
<PRE>
|
|
private void <B>_key</B>(byte[] ekey)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="_last_insert_rowid()"><!-- --></A><H3>
|
|
_last_insert_rowid</H3>
|
|
<PRE>
|
|
private long <B>_last_insert_rowid</B>()</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="_open_aux_file(java.lang.String)"><!-- --></A><H3>
|
|
_open_aux_file</H3>
|
|
<PRE>
|
|
private void <B>_open_aux_file</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> filename)
|
|
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="_open_blob(java.lang.String, java.lang.String, java.lang.String, long, boolean, SQLite.Blob)"><!-- --></A><H3>
|
|
_open_blob</H3>
|
|
<PRE>
|
|
private void <B>_open_blob</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> db,
|
|
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> table,
|
|
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> column,
|
|
long row,
|
|
boolean rw,
|
|
<A HREF="../SQLite/Blob.html" title="class in SQLite">Blob</A> blob)
|
|
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
|
<DL>
|
|
<DD>Internal SQLite open blob method.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>db</CODE> - database name<DD><CODE>table</CODE> - table name<DD><CODE>column</CODE> - column name<DD><CODE>row</CODE> - row identifier<DD><CODE>rw</CODE> - if true, open for read-write, else read-only<DD><CODE>blob</CODE> - Blob object
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="_open(java.lang.String, int)"><!-- --></A><H3>
|
|
_open</H3>
|
|
<PRE>
|
|
private void <B>_open</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> filename,
|
|
int mode)
|
|
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="_open4(java.lang.String, int, java.lang.String, boolean)"><!-- --></A><H3>
|
|
_open4</H3>
|
|
<PRE>
|
|
private void <B>_open4</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> filename,
|
|
int mode,
|
|
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> vfs,
|
|
boolean ver2)
|
|
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="_profile(SQLite.Profile)"><!-- --></A><H3>
|
|
_profile</H3>
|
|
<PRE>
|
|
private void <B>_profile</B>(<A HREF="../SQLite/Profile.html" title="interface in SQLite">Profile</A> pr)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="_progress_handler(int, SQLite.ProgressHandler)"><!-- --></A><H3>
|
|
_progress_handler</H3>
|
|
<PRE>
|
|
private void <B>_progress_handler</B>(int n,
|
|
<A HREF="../SQLite/ProgressHandler.html" title="interface in SQLite">ProgressHandler</A> p)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="_rekey(byte[])"><!-- --></A><H3>
|
|
_rekey</H3>
|
|
<PRE>
|
|
private void <B>_rekey</B>(byte[] ekey)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="_set_authorizer(SQLite.Authorizer)"><!-- --></A><H3>
|
|
_set_authorizer</H3>
|
|
<PRE>
|
|
private void <B>_set_authorizer</B>(<A HREF="../SQLite/Authorizer.html" title="interface in SQLite">Authorizer</A> auth)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="_set_encoding(java.lang.String)"><!-- --></A><H3>
|
|
_set_encoding</H3>
|
|
<PRE>
|
|
private void <B>_set_encoding</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> enc)
|
|
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="_status(int, int[], boolean)"><!-- --></A><H3>
|
|
_status</H3>
|
|
<PRE>
|
|
private static int <B>_status</B>(int op,
|
|
int[] info,
|
|
boolean flag)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="_trace(SQLite.Trace)"><!-- --></A><H3>
|
|
_trace</H3>
|
|
<PRE>
|
|
private void <B>_trace</B>(<A HREF="../SQLite/Trace.html" title="interface in SQLite">Trace</A> tr)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="backup(SQLite.Database, java.lang.String, java.lang.String)"><!-- --></A><H3>
|
|
backup</H3>
|
|
<PRE>
|
|
public <A HREF="../SQLite/Backup.html" title="class in SQLite">Backup</A> <B>backup</B>(<A HREF="../SQLite/Database.html" title="class in SQLite">Database</A> dest,
|
|
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> destName,
|
|
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> srcName)
|
|
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
|
<DL>
|
|
<DD>Initiate a database backup, SQLite 3.x only.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>dest</CODE> - destination database<DD><CODE>destName</CODE> - schema of destination database to be backed up<DD><CODE>srcName</CODE> - schema of source database
|
|
<DT><B>Returns:</B><DD>Backup object to perform the backup operation
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="busy_handler(SQLite.BusyHandler)"><!-- --></A><H3>
|
|
busy_handler</H3>
|
|
<PRE>
|
|
public void <B>busy_handler</B>(<A HREF="../SQLite/BusyHandler.html" title="interface in SQLite">BusyHandler</A> bh)</PRE>
|
|
<DL>
|
|
<DD>Establish a busy callback method which gets called when
|
|
an SQLite table is locked.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>bh</CODE> - the object implementing the busy callback method</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="busy_timeout(int)"><!-- --></A><H3>
|
|
busy_timeout</H3>
|
|
<PRE>
|
|
public void <B>busy_timeout</B>(int ms)</PRE>
|
|
<DL>
|
|
<DD>Set the timeout for waiting for an SQLite table to become
|
|
unlocked.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>ms</CODE> - number of millisecond to wait</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="changes()"><!-- --></A><H3>
|
|
changes</H3>
|
|
<PRE>
|
|
public long <B>changes</B>()</PRE>
|
|
<DL>
|
|
<DD>Return the number of changed rows for the last statement.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="close()"><!-- --></A><H3>
|
|
close</H3>
|
|
<PRE>
|
|
public void <B>close</B>()
|
|
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
|
<DL>
|
|
<DD>Close the underlying SQLite database file.
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="compile(java.lang.String)"><!-- --></A><H3>
|
|
compile</H3>
|
|
<PRE>
|
|
public <A HREF="../SQLite/Vm.html" title="class in SQLite">Vm</A> <B>compile</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> sql)
|
|
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
|
<DL>
|
|
<DD>Compile and return SQLite VM for SQL statement. Only available
|
|
in SQLite 2.8.0 and above, otherwise a no-op.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>sql</CODE> - SQL statement to be compiled
|
|
<DT><B>Returns:</B><DD>a Vm object
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="compile(java.lang.String, java.lang.String[])"><!-- --></A><H3>
|
|
compile</H3>
|
|
<PRE>
|
|
public <A HREF="../SQLite/Vm.html" title="class in SQLite">Vm</A> <B>compile</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> sql,
|
|
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[] args)
|
|
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
|
<DL>
|
|
<DD>Compile and return SQLite VM for SQL statement. Only available
|
|
in SQLite 3.0 and above, otherwise a no-op.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>sql</CODE> - SQL statement to be compiled<DD><CODE>args</CODE> - arguments for the SQL statement, '%q' substitution
|
|
<DT><B>Returns:</B><DD>a Vm object
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="complete(java.lang.String)"><!-- --></A><H3>
|
|
complete</H3>
|
|
<PRE>
|
|
public static boolean <B>complete</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> sql)</PRE>
|
|
<DL>
|
|
<DD>See if an SQL statement is complete.
|
|
Returns true if the input string comprises
|
|
one or more complete SQL statements.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>sql</CODE> - the SQL statement to be checked</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="create_aggregate(java.lang.String, int, SQLite.Function)"><!-- --></A><H3>
|
|
create_aggregate</H3>
|
|
<PRE>
|
|
public void <B>create_aggregate</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name,
|
|
int nargs,
|
|
<A HREF="../SQLite/Function.html" title="interface in SQLite">Function</A> f)</PRE>
|
|
<DL>
|
|
<DD>Create aggregate function.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the new function<DD><CODE>nargs</CODE> - number of arguments to function<DD><CODE>f</CODE> - interface of function</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="create_function(java.lang.String, int, SQLite.Function)"><!-- --></A><H3>
|
|
create_function</H3>
|
|
<PRE>
|
|
public void <B>create_function</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name,
|
|
int nargs,
|
|
<A HREF="../SQLite/Function.html" title="interface in SQLite">Function</A> f)</PRE>
|
|
<DL>
|
|
<DD>Create regular function.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the new function<DD><CODE>nargs</CODE> - number of arguments to function<DD><CODE>f</CODE> - interface of function</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="db_status(int, int[], boolean)"><!-- --></A><H3>
|
|
db_status</H3>
|
|
<PRE>
|
|
public int <B>db_status</B>(int op,
|
|
int[] info,
|
|
boolean flag)</PRE>
|
|
<DL>
|
|
<DD>Return information on SQLite connection status.
|
|
Only available in SQLite 3.6 and above,
|
|
otherwise a no-op.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>op</CODE> - operation code<DD><CODE>info</CODE> - output buffer, must be able to hold two
|
|
values (current/highwater)<DD><CODE>flag</CODE> - reset flag
|
|
<DT><B>Returns:</B><DD>SQLite error code</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="dbversion()"><!-- --></A><H3>
|
|
dbversion</H3>
|
|
<PRE>
|
|
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>dbversion</B>()</PRE>
|
|
<DL>
|
|
<DD>Return SQLite version number as string.
|
|
If the database is not open, <tt>unknown</tt> is returned.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="error_message()"><!-- --></A><H3>
|
|
error_message</H3>
|
|
<PRE>
|
|
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>error_message</B>()</PRE>
|
|
<DL>
|
|
<DD>Return last error message of SQLite3 engine.
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>error string or null</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="error_string(int)"><!-- --></A><H3>
|
|
error_string</H3>
|
|
<PRE>
|
|
public static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>error_string</B>(int error_code)</PRE>
|
|
<DL>
|
|
<DD>Return error string given SQLite error code (SQLite2).
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>error_code</CODE> - the error code
|
|
<DT><B>Returns:</B><DD>error string</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="exec(java.lang.String, SQLite.Callback)"><!-- --></A><H3>
|
|
exec</H3>
|
|
<PRE>
|
|
public void <B>exec</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> sql,
|
|
<A HREF="../SQLite/Callback.html" title="interface in SQLite">Callback</A> cb)
|
|
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
|
<DL>
|
|
<DD>Execute an SQL statement and invoke callback methods
|
|
for each row of the result set.<P>
|
|
|
|
It the method fails, an SQLite.Exception is thrown and
|
|
an error code is set, which later can be retrieved by
|
|
the last_error() method.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>sql</CODE> - the SQL statement to be executed<DD><CODE>cb</CODE> - the object implementing the callback methods
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="exec(java.lang.String, SQLite.Callback, java.lang.String[])"><!-- --></A><H3>
|
|
exec</H3>
|
|
<PRE>
|
|
public void <B>exec</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> sql,
|
|
<A HREF="../SQLite/Callback.html" title="interface in SQLite">Callback</A> cb,
|
|
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[] args)
|
|
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
|
<DL>
|
|
<DD>Execute an SQL statement and invoke callback methods
|
|
for each row of the result set. Each '%q' or %Q in the
|
|
statement string is substituted by its corresponding
|
|
element in the argument vector.
|
|
<BR><BR>
|
|
Example:<BR>
|
|
<PRE>
|
|
String args[] = new String[1];
|
|
args[0] = "tab%";
|
|
db.exec("select * from sqlite_master where type like '%q'",
|
|
null, args);
|
|
</PRE>
|
|
|
|
It the method fails, an SQLite.Exception is thrown and
|
|
an error code is set, which later can be retrieved by
|
|
the last_error() method.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>sql</CODE> - the SQL statement to be executed<DD><CODE>cb</CODE> - the object implementing the callback methods<DD><CODE>args</CODE> - arguments for the SQL statement, '%q' substitution
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="finalize()"><!-- --></A><H3>
|
|
finalize</H3>
|
|
<PRE>
|
|
protected void <B>finalize</B>()</PRE>
|
|
<DL>
|
|
<DD>Destructor for object.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="function_type(java.lang.String, int)"><!-- --></A><H3>
|
|
function_type</H3>
|
|
<PRE>
|
|
public void <B>function_type</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name,
|
|
int type)</PRE>
|
|
<DL>
|
|
<DD>Set function return type. Only available in SQLite 2.6.0 and
|
|
above, otherwise a no-op.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the function whose return type is to be set<DD><CODE>type</CODE> - return type code, e.g. SQLite.Constants.SQLITE_NUMERIC</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="get_table(java.lang.String)"><!-- --></A><H3>
|
|
get_table</H3>
|
|
<PRE>
|
|
public <A HREF="../SQLite/TableResult.html" title="class in SQLite">TableResult</A> <B>get_table</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> sql)
|
|
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
|
<DL>
|
|
<DD>Convenience method to retrieve an entire result
|
|
set into memory.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>sql</CODE> - the SQL statement to be executed
|
|
<DT><B>Returns:</B><DD>result set
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="get_table(java.lang.String, int)"><!-- --></A><H3>
|
|
get_table</H3>
|
|
<PRE>
|
|
public <A HREF="../SQLite/TableResult.html" title="class in SQLite">TableResult</A> <B>get_table</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> sql,
|
|
int maxrows)
|
|
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
|
<DL>
|
|
<DD>Convenience method to retrieve an entire result
|
|
set into memory.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>sql</CODE> - the SQL statement to be executed<DD><CODE>maxrows</CODE> - the max. number of rows to retrieve
|
|
<DT><B>Returns:</B><DD>result set
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="get_table(java.lang.String, int, java.lang.String[])"><!-- --></A><H3>
|
|
get_table</H3>
|
|
<PRE>
|
|
public <A HREF="../SQLite/TableResult.html" title="class in SQLite">TableResult</A> <B>get_table</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> sql,
|
|
int maxrows,
|
|
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[] args)
|
|
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
|
<DL>
|
|
<DD>Convenience method to retrieve an entire result
|
|
set into memory.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>sql</CODE> - the SQL statement to be executed<DD><CODE>maxrows</CODE> - the max. number of rows to retrieve<DD><CODE>args</CODE> - arguments for the SQL statement, '%q' substitution
|
|
<DT><B>Returns:</B><DD>result set
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="get_table(java.lang.String, java.lang.String[])"><!-- --></A><H3>
|
|
get_table</H3>
|
|
<PRE>
|
|
public <A HREF="../SQLite/TableResult.html" title="class in SQLite">TableResult</A> <B>get_table</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> sql,
|
|
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[] args)
|
|
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
|
<DL>
|
|
<DD>Convenience method to retrieve an entire result
|
|
set into memory.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>sql</CODE> - the SQL statement to be executed<DD><CODE>args</CODE> - arguments for the SQL statement, '%q' substitution
|
|
<DT><B>Returns:</B><DD>result set
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="get_table(java.lang.String, java.lang.String[], SQLite.TableResult)"><!-- --></A><H3>
|
|
get_table</H3>
|
|
<PRE>
|
|
public void <B>get_table</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> sql,
|
|
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[] args,
|
|
<A HREF="../SQLite/TableResult.html" title="class in SQLite">TableResult</A> tbl)
|
|
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
|
<DL>
|
|
<DD>Convenience method to retrieve an entire result
|
|
set into memory.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>sql</CODE> - the SQL statement to be executed<DD><CODE>args</CODE> - arguments for the SQL statement, '%q' substitution<DD><CODE>tbl</CODE> - TableResult to receive result set
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="internal_init()"><!-- --></A><H3>
|
|
internal_init</H3>
|
|
<PRE>
|
|
private static void <B>internal_init</B>()</PRE>
|
|
<DL>
|
|
<DD>Internal native initializer.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="interrupt()"><!-- --></A><H3>
|
|
interrupt</H3>
|
|
<PRE>
|
|
public void <B>interrupt</B>()</PRE>
|
|
<DL>
|
|
<DD>Abort the current SQLite operation.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="is3()"><!-- --></A><H3>
|
|
is3</H3>
|
|
<PRE>
|
|
public boolean <B>is3</B>()</PRE>
|
|
<DL>
|
|
<DD>Check type of open database.
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>true if SQLite3 database</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="julian_from_long(long)"><!-- --></A><H3>
|
|
julian_from_long</H3>
|
|
<PRE>
|
|
public static double <B>julian_from_long</B>(long ms)</PRE>
|
|
<DL>
|
|
<DD>Make julian date value from java.lang.Date
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>ms</CODE> - millisecond value of java.lang.Date
|
|
<DT><B>Returns:</B><DD>double</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="key(byte[])"><!-- --></A><H3>
|
|
key</H3>
|
|
<PRE>
|
|
public void <B>key</B>(byte[] ekey)
|
|
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
|
<DL>
|
|
<DD>Specify key for encrypted database. To be called
|
|
right after open() on SQLite3 databases.
|
|
Not available in public releases of SQLite.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>ekey</CODE> - the key as byte array
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="key(java.lang.String)"><!-- --></A><H3>
|
|
key</H3>
|
|
<PRE>
|
|
public void <B>key</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> skey)
|
|
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
|
<DL>
|
|
<DD>Specify key for encrypted database. To be called
|
|
right after open() on SQLite3 databases.
|
|
Not available in public releases of SQLite.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>skey</CODE> - the key as String
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="last_error()"><!-- --></A><H3>
|
|
last_error</H3>
|
|
<PRE>
|
|
public int <B>last_error</B>()</PRE>
|
|
<DL>
|
|
<DD>Return the code of the last error occured in
|
|
any of the exec() methods. The value is valid
|
|
after an Exception has been reported by one of
|
|
these methods. See the <A HREF="Constants.html">Constants</A>
|
|
class for possible values.
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>SQLite error code</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="last_insert_rowid()"><!-- --></A><H3>
|
|
last_insert_rowid</H3>
|
|
<PRE>
|
|
public long <B>last_insert_rowid</B>()</PRE>
|
|
<DL>
|
|
<DD>Return the row identifier of the last inserted
|
|
row.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="long_from_julian(double)"><!-- --></A><H3>
|
|
long_from_julian</H3>
|
|
<PRE>
|
|
public static long <B>long_from_julian</B>(double d)</PRE>
|
|
<DL>
|
|
<DD>Make long value from julian date for java.lang.Date
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>d</CODE> - double value (julian date in SQLite3 format)
|
|
<DT><B>Returns:</B><DD>long</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="long_from_julian(java.lang.String)"><!-- --></A><H3>
|
|
long_from_julian</H3>
|
|
<PRE>
|
|
public static long <B>long_from_julian</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> s)
|
|
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
|
<DL>
|
|
<DD>Make long value from julian date for java.lang.Date
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>s</CODE> - string (double value) (julian date in SQLite3 format)
|
|
<DT><B>Returns:</B><DD>long
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="open_aux_file(java.lang.String)"><!-- --></A><H3>
|
|
open_aux_file</H3>
|
|
<PRE>
|
|
public void <B>open_aux_file</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> filename)
|
|
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
|
<DL>
|
|
<DD>Open SQLite auxiliary database file for temporary
|
|
tables.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>filename</CODE> - the name of the auxiliary file or null
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="open_blob(java.lang.String, java.lang.String, java.lang.String, long, boolean)"><!-- --></A><H3>
|
|
open_blob</H3>
|
|
<PRE>
|
|
public <A HREF="../SQLite/Blob.html" title="class in SQLite">Blob</A> <B>open_blob</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> db,
|
|
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> table,
|
|
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> column,
|
|
long row,
|
|
boolean rw)
|
|
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
|
<DL>
|
|
<DD>Open an SQLite3 blob. Only available in SQLite 3.4.0 and above.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>db</CODE> - database name<DD><CODE>table</CODE> - table name<DD><CODE>column</CODE> - column name<DD><CODE>row</CODE> - row identifier<DD><CODE>rw</CODE> - if true, open for read-write, else read-only
|
|
<DT><B>Returns:</B><DD>a Blob object
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="open(java.lang.String, int)"><!-- --></A><H3>
|
|
open</H3>
|
|
<PRE>
|
|
public void <B>open</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> filename,
|
|
int mode)
|
|
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
|
<DL>
|
|
<DD>Open an SQLite database file.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>filename</CODE> - the name of the database file<DD><CODE>mode</CODE> - open mode (e.g. SQLITE_OPEN_READONLY)
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="open(java.lang.String, int, java.lang.String)"><!-- --></A><H3>
|
|
open</H3>
|
|
<PRE>
|
|
public void <B>open</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> filename,
|
|
int mode,
|
|
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> vfs)
|
|
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
|
<DL>
|
|
<DD>Open an SQLite database file.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>filename</CODE> - the name of the database file<DD><CODE>mode</CODE> - open mode (e.g. SQLITE_OPEN_READONLY)<DD><CODE>vfs</CODE> - VFS name (for SQLite >= 3.5)
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="open(java.lang.String, int, java.lang.String, boolean)"><!-- --></A><H3>
|
|
open</H3>
|
|
<PRE>
|
|
public void <B>open</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> filename,
|
|
int mode,
|
|
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> vfs,
|
|
boolean ver2)
|
|
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
|
<DL>
|
|
<DD>Open an SQLite database file.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>filename</CODE> - the name of the database file<DD><CODE>mode</CODE> - open mode (e.g. SQLITE_OPEN_READONLY)<DD><CODE>vfs</CODE> - VFS name (for SQLite >= 3.5)<DD><CODE>ver2</CODE> - flag to force version on create (false = SQLite3, true = SQLite2)
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="prepare(java.lang.String)"><!-- --></A><H3>
|
|
prepare</H3>
|
|
<PRE>
|
|
public <A HREF="../SQLite/Stmt.html" title="class in SQLite">Stmt</A> <B>prepare</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> sql)
|
|
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
|
<DL>
|
|
<DD>Prepare and return SQLite3 statement for SQL. Only available
|
|
in SQLite 3.0 and above, otherwise a no-op.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>sql</CODE> - SQL statement to be prepared
|
|
<DT><B>Returns:</B><DD>a Stmt object
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="profile(SQLite.Profile)"><!-- --></A><H3>
|
|
profile</H3>
|
|
<PRE>
|
|
public void <B>profile</B>(<A HREF="../SQLite/Profile.html" title="interface in SQLite">Profile</A> pr)</PRE>
|
|
<DL>
|
|
<DD>Set profile function. Only available in SQLite 3.6 and above,
|
|
otherwise a no-op.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>pr</CODE> - the trace function</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="progress_handler(int, SQLite.ProgressHandler)"><!-- --></A><H3>
|
|
progress_handler</H3>
|
|
<PRE>
|
|
public void <B>progress_handler</B>(int n,
|
|
<A HREF="../SQLite/ProgressHandler.html" title="interface in SQLite">ProgressHandler</A> p)</PRE>
|
|
<DL>
|
|
<DD>Establish a progress callback method which gets called after
|
|
N SQLite VM opcodes.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>n</CODE> - number of SQLite VM opcodes until callback is invoked<DD><CODE>p</CODE> - the object implementing the progress callback method</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="rekey(byte[])"><!-- --></A><H3>
|
|
rekey</H3>
|
|
<PRE>
|
|
public void <B>rekey</B>(byte[] ekey)
|
|
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
|
<DL>
|
|
<DD>Change the key of a encrypted database. The
|
|
SQLite3 database must have been open()ed.
|
|
Not available in public releases of SQLite.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>ekey</CODE> - the key as byte array
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="rekey(java.lang.String)"><!-- --></A><H3>
|
|
rekey</H3>
|
|
<PRE>
|
|
public void <B>rekey</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> skey)
|
|
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
|
<DL>
|
|
<DD>Change the key of a encrypted database. The
|
|
SQLite3 database must have been open()ed.
|
|
Not available in public releases of SQLite.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>skey</CODE> - the key as String
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="set_authorizer(SQLite.Authorizer)"><!-- --></A><H3>
|
|
set_authorizer</H3>
|
|
<PRE>
|
|
public void <B>set_authorizer</B>(<A HREF="../SQLite/Authorizer.html" title="interface in SQLite">Authorizer</A> auth)</PRE>
|
|
<DL>
|
|
<DD>Set authorizer function. Only available in SQLite 2.7.6 and
|
|
above, otherwise a no-op.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>auth</CODE> - the authorizer function</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="set_encoding(java.lang.String)"><!-- --></A><H3>
|
|
set_encoding</H3>
|
|
<PRE>
|
|
public void <B>set_encoding</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> enc)
|
|
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
|
<DL>
|
|
<DD>Set character encoding.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>enc</CODE> - name of encoding
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="set_last_error(int)"><!-- --></A><H3>
|
|
set_last_error</H3>
|
|
<PRE>
|
|
protected void <B>set_last_error</B>(int error_code)</PRE>
|
|
<DL>
|
|
<DD>Internal: set error code.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>error_code</CODE> - new error code</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="status(int, int[], boolean)"><!-- --></A><H3>
|
|
status</H3>
|
|
<PRE>
|
|
public static int <B>status</B>(int op,
|
|
int[] info,
|
|
boolean flag)</PRE>
|
|
<DL>
|
|
<DD>Return information on SQLite runtime status.
|
|
Only available in SQLite 3.6 and above,
|
|
otherwise a no-op.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>op</CODE> - operation code<DD><CODE>info</CODE> - output buffer, must be able to hold two
|
|
values (current/highwater)<DD><CODE>flag</CODE> - reset flag
|
|
<DT><B>Returns:</B><DD>SQLite error code</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="stmt_prepare(java.lang.String, SQLite.Stmt)"><!-- --></A><H3>
|
|
stmt_prepare</H3>
|
|
<PRE>
|
|
private void <B>stmt_prepare</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> sql,
|
|
<A HREF="../SQLite/Stmt.html" title="class in SQLite">Stmt</A> stmt)
|
|
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
|
<DL>
|
|
<DD>Internal SQLite3 prepare method.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>sql</CODE> - SQL statement<DD><CODE>stmt</CODE> - Stmt object
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="trace(SQLite.Trace)"><!-- --></A><H3>
|
|
trace</H3>
|
|
<PRE>
|
|
public void <B>trace</B>(<A HREF="../SQLite/Trace.html" title="interface in SQLite">Trace</A> tr)</PRE>
|
|
<DL>
|
|
<DD>Set trace function. Only available in SQLite 2.7.6 and above,
|
|
otherwise a no-op.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>tr</CODE> - the trace function</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="version()"><!-- --></A><H3>
|
|
version</H3>
|
|
<PRE>
|
|
public static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>version</B>()</PRE>
|
|
<DL>
|
|
<DD>Return SQLite version number as string.
|
|
Don't rely on this when both SQLite 2 and 3 are compiled
|
|
into the native part. Use the class method in this case.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="vm_compile_args(java.lang.String, SQLite.Vm, java.lang.String[])"><!-- --></A><H3>
|
|
vm_compile_args</H3>
|
|
<PRE>
|
|
private void <B>vm_compile_args</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> sql,
|
|
<A HREF="../SQLite/Vm.html" title="class in SQLite">Vm</A> vm,
|
|
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[] args)
|
|
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
|
<DL>
|
|
<DD>Internal compile method, SQLite 3.0 only.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>sql</CODE> - SQL statement<DD><CODE>args</CODE> - arguments for the SQL statement, '%q' substitution<DD><CODE>vm</CODE> - Vm object
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="vm_compile(java.lang.String, SQLite.Vm)"><!-- --></A><H3>
|
|
vm_compile</H3>
|
|
<PRE>
|
|
private void <B>vm_compile</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> sql,
|
|
<A HREF="../SQLite/Vm.html" title="class in SQLite">Vm</A> vm)
|
|
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
|
<DL>
|
|
<DD>Internal compile method.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>sql</CODE> - SQL statement<DD><CODE>vm</CODE> - Vm object
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></CODE></DL>
|
|
</DD>
|
|
</DL>
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
|
<HR>
|
|
|
|
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<A NAME="navbar_bottom"><!-- --></A>
|
|
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
|
<TR>
|
|
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
|
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
|
<TR ALIGN="center" VALIGN="top">
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
</TR>
|
|
</TABLE>
|
|
</TD>
|
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
</EM>
|
|
</TD>
|
|
</TR>
|
|
|
|
<TR>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../SQLite/Constants.html" title="class in SQLite"><B>PREV CLASS</B></A>
|
|
<A HREF="../SQLite/Exception.html" title="class in SQLite"><B>NEXT CLASS</B></A></FONT></TD>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../index.html" target="_top"><B>FRAMES</B></A>
|
|
<A HREF="Database.html" target="_top"><B>NO FRAMES</B></A>
|
|
<SCRIPT type="text/javascript">
|
|
<!--
|
|
if(window==top) {
|
|
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
}
|
|
//-->
|
|
</SCRIPT>
|
|
<NOSCRIPT>
|
|
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
|
</NOSCRIPT>
|
|
|
|
</FONT></TD>
|
|
</TR>
|
|
<TR>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="skip-navbar_bottom"></A>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
|
|
<HR>
|
|
<small>Contact: <a HREF="mailto:chw@ch-werner.de">Christian Werner</a></small>
|
|
</BODY>
|
|
</HTML>
|