Release 5.2.36 on 9/14/2022
2
README
|
@ -1,4 +1,4 @@
|
|||
Berkeley DB 11g Release 2, library version 11.2.5.2.28: (June 10, 2011)
|
||||
Berkeley DB 11g Release 2, library version 11.2.5.2.36: (September 14, 2011)
|
||||
|
||||
This is Berkeley DB 11g Release 2 from Oracle. To view release and
|
||||
installation documentation, load the distribution file docs/index.html
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# DO NOT EDIT: automatically built by dist/s_android.
|
||||
# Makefile for building a drop-in replacement of SQLite using
|
||||
# Berkeley DB 11g Release 2, library version 11.2.5.2.28: (June 10, 2011)
|
||||
# Berkeley DB 11g Release 2, library version 11.2.5.2.36: (September 14, 2011)
|
||||
###################################################################
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
|
@ -10,7 +10,7 @@ include $(CLEAR_VARS)
|
|||
LOCAL_MODULE := libsqlite
|
||||
|
||||
# BDB_TOP will change with release numbers
|
||||
BDB_TOP := db-5.2.28
|
||||
BDB_TOP := db-5.2.36
|
||||
BDB_PATH := $(LOCAL_PATH)/$(BDB_TOP)/src
|
||||
|
||||
# This directive results in arm (vs thumb) code. It's necessary to
|
||||
|
|
|
@ -46,9 +46,9 @@ extern "C" {
|
|||
#define DB_VERSION_RELEASE 2
|
||||
#define DB_VERSION_MAJOR 5
|
||||
#define DB_VERSION_MINOR 2
|
||||
#define DB_VERSION_PATCH 28
|
||||
#define DB_VERSION_STRING "Berkeley DB 5.2.28: (June 10, 2011)"
|
||||
#define DB_VERSION_FULL_STRING "Berkeley DB 11g Release 2, library version 11.2.5.2.28: (June 10, 2011)"
|
||||
#define DB_VERSION_PATCH 36
|
||||
#define DB_VERSION_STRING "Berkeley DB 5.2.36: (September 14, 2011)"
|
||||
#define DB_VERSION_FULL_STRING "Berkeley DB 11g Release 2, library version 11.2.5.2.36: (September 14, 2011)"
|
||||
|
||||
/*
|
||||
* !!!
|
||||
|
|
|
@ -557,16 +557,16 @@
|
|||
#define PACKAGE_NAME "Berkeley DB"
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#define PACKAGE_STRING "Berkeley DB 5.2.28"
|
||||
#define PACKAGE_STRING "Berkeley DB 5.2.36"
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#define PACKAGE_TARNAME "db-5.2.28"
|
||||
#define PACKAGE_TARNAME "db-5.2.36"
|
||||
|
||||
/* Define to the home page for this package. */
|
||||
#define PACKAGE_URL "http://www.oracle.com/technology/software/products/berkeley-db/index.html"
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#define PACKAGE_VERSION "5.2.28"
|
||||
#define PACKAGE_VERSION "5.2.36"
|
||||
|
||||
/* The size of `char', as computed by sizeof. */
|
||||
#define SIZEOF_CHAR 1
|
||||
|
|
|
@ -47,9 +47,9 @@ extern "C" {
|
|||
#define DB_VERSION_RELEASE 2
|
||||
#define DB_VERSION_MAJOR 5
|
||||
#define DB_VERSION_MINOR 2
|
||||
#define DB_VERSION_PATCH 28
|
||||
#define DB_VERSION_STRING "Berkeley DB 5.2.28: (June 10, 2011)"
|
||||
#define DB_VERSION_FULL_STRING "Berkeley DB 11g Release 2, library version 11.2.5.2.28: (June 10, 2011)"
|
||||
#define DB_VERSION_PATCH 36
|
||||
#define DB_VERSION_STRING "Berkeley DB 5.2.36: (September 14, 2011)"
|
||||
#define DB_VERSION_FULL_STRING "Berkeley DB 11g Release 2, library version 11.2.5.2.36: (September 14, 2011)"
|
||||
|
||||
/*
|
||||
* !!!
|
||||
|
|
|
@ -568,16 +568,16 @@
|
|||
#define PACKAGE_NAME "Berkeley DB"
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#define PACKAGE_STRING "Berkeley DB 5.2.28"
|
||||
#define PACKAGE_STRING "Berkeley DB 5.2.36"
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#define PACKAGE_TARNAME "db-5.2.28"
|
||||
#define PACKAGE_TARNAME "db-5.2.36"
|
||||
|
||||
/* Define to the home page for this package. */
|
||||
#define PACKAGE_URL "http://www.oracle.com/technology/software/products/berkeley-db/index.html"
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#define PACKAGE_VERSION "5.2.28"
|
||||
#define PACKAGE_VERSION "5.2.36"
|
||||
|
||||
/* The size of a `char', as computed by sizeof. */
|
||||
/* #undef SIZEOF_CHAR */
|
||||
|
|
|
@ -568,16 +568,16 @@
|
|||
#define PACKAGE_NAME "Berkeley DB"
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#define PACKAGE_STRING "Berkeley DB 5.2.28"
|
||||
#define PACKAGE_STRING "Berkeley DB 5.2.36"
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#define PACKAGE_TARNAME "db-5.2.28"
|
||||
#define PACKAGE_TARNAME "db-5.2.36"
|
||||
|
||||
/* Define to the home page for this package. */
|
||||
#define PACKAGE_URL "http://www.oracle.com/technology/software/products/berkeley-db/index.html"
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#define PACKAGE_VERSION "5.2.28"
|
||||
#define PACKAGE_VERSION "5.2.36"
|
||||
|
||||
/* The size of a `char', as computed by sizeof. */
|
||||
/* #undef SIZEOF_CHAR */
|
||||
|
|
|
@ -61,9 +61,9 @@ extern "C" {
|
|||
#define DB_VERSION_RELEASE 2
|
||||
#define DB_VERSION_MAJOR 5
|
||||
#define DB_VERSION_MINOR 2
|
||||
#define DB_VERSION_PATCH 28
|
||||
#define DB_VERSION_STRING "Berkeley DB 5.2.28: (June 10, 2011)"
|
||||
#define DB_VERSION_FULL_STRING "Berkeley DB 11g Release 2, library version 11.2.5.2.28: (June 10, 2011)"
|
||||
#define DB_VERSION_PATCH 36
|
||||
#define DB_VERSION_STRING "Berkeley DB 5.2.36: (September 14, 2011)"
|
||||
#define DB_VERSION_FULL_STRING "Berkeley DB 11g Release 2, library version 11.2.5.2.36: (September 14, 2011)"
|
||||
|
||||
/*
|
||||
* !!!
|
||||
|
|
|
@ -576,16 +576,16 @@
|
|||
#define PACKAGE_NAME "Berkeley DB"
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#define PACKAGE_STRING "Berkeley DB 5.2.28"
|
||||
#define PACKAGE_STRING "Berkeley DB 5.2.36"
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#define PACKAGE_TARNAME "db-5.2.28"
|
||||
#define PACKAGE_TARNAME "db-5.2.36"
|
||||
|
||||
/* Define to the home page for this package. */
|
||||
#define PACKAGE_URL "http://www.oracle.com/technology/software/products/berkeley-db/index.html"
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#define PACKAGE_VERSION "5.2.28"
|
||||
#define PACKAGE_VERSION "5.2.36"
|
||||
|
||||
/* The size of a `char', as computed by sizeof. */
|
||||
/* #undef SIZEOF_CHAR */
|
||||
|
|
|
@ -61,9 +61,9 @@ extern "C" {
|
|||
#define DB_VERSION_RELEASE 2
|
||||
#define DB_VERSION_MAJOR 5
|
||||
#define DB_VERSION_MINOR 2
|
||||
#define DB_VERSION_PATCH 28
|
||||
#define DB_VERSION_STRING "Berkeley DB 5.2.28: (June 10, 2011)"
|
||||
#define DB_VERSION_FULL_STRING "Berkeley DB 11g Release 2, library version 11.2.5.2.28: (June 10, 2011)"
|
||||
#define DB_VERSION_PATCH 36
|
||||
#define DB_VERSION_STRING "Berkeley DB 5.2.36: (September 14, 2011)"
|
||||
#define DB_VERSION_FULL_STRING "Berkeley DB 11g Release 2, library version 11.2.5.2.36: (September 14, 2011)"
|
||||
|
||||
/*
|
||||
* !!!
|
||||
|
|
|
@ -583,16 +583,16 @@
|
|||
#define PACKAGE_NAME "Berkeley DB"
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#define PACKAGE_STRING "Berkeley DB 5.2.28"
|
||||
#define PACKAGE_STRING "Berkeley DB 5.2.36"
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#define PACKAGE_TARNAME "db-5.2.28"
|
||||
#define PACKAGE_TARNAME "db-5.2.36"
|
||||
|
||||
/* Define to the home page for this package. */
|
||||
#define PACKAGE_URL "http://www.oracle.com/technology/software/products/berkeley-db/index.html"
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#define PACKAGE_VERSION "5.2.28"
|
||||
#define PACKAGE_VERSION "5.2.36"
|
||||
|
||||
/* The size of a `char', as computed by sizeof. */
|
||||
/* #undef SIZEOF_CHAR */
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
1 VERSIONINFO
|
||||
FILEVERSION 5,0,2,28
|
||||
PRODUCTVERSION 5,0,2,28
|
||||
FILEVERSION 5,0,2,36
|
||||
PRODUCTVERSION 5,0,2,36
|
||||
FILEFLAGSMASK 0x3fL
|
||||
#ifdef _DEBUG
|
||||
FILEFLAGS 0x1L
|
||||
|
@ -18,12 +18,12 @@ BEGIN
|
|||
BEGIN
|
||||
VALUE "CompanyName", "Oracle\0"
|
||||
VALUE "FileDescription", "Berkeley DB 5.2 DLL\0"
|
||||
VALUE "FileVersion", "5.2.28\0"
|
||||
VALUE "FileVersion", "5.2.36\0"
|
||||
VALUE "InternalName", "libdb52.dll\0"
|
||||
VALUE "LegalCopyright", "Copyright © Oracle 1997-2009\0"
|
||||
VALUE "OriginalFilename", "libdb52.dll\0"
|
||||
VALUE "ProductName", "Oracle libdb\0"
|
||||
VALUE "ProductVersion", "5.2.28\0"
|
||||
VALUE "ProductVersion", "5.2.36\0"
|
||||
END
|
||||
END
|
||||
BLOCK "VarFileInfo"
|
||||
|
|
272
dist/ChangeLog
vendored
|
@ -1,29 +1,92 @@
|
|||
= Berkeley DB 5.2 Changelog =
|
||||
|
||||
== Changes between 11.2.5.2.28 and 11.2.5.2.36 ==
|
||||
|
||||
Updated the JDBC version shipped with Berkeley DB to support
|
||||
Oracle Java Embedded Client. [#19814]
|
||||
|
||||
Fixed several memory leaks in the Online Backup API. [#19850]
|
||||
|
||||
Fix a bug in the SQL API when using a blob field with a lot of content
|
||||
and multiple concurrent connections to the database. [#19945]
|
||||
|
||||
Update EID_MASTER to be public static final so that it will be exposed
|
||||
in Java docs. [#20184]
|
||||
|
||||
Fixed a bug where BFile module crashes when using BFile handle for SQL
|
||||
expressions interface on 64 bit platforms. [#20193]
|
||||
|
||||
Fixed a bug where, on systems without FTRUNCATE, db_verify will return an
|
||||
error for truncated heap databases. [#20195]
|
||||
|
||||
Let ADO.NET solution building skip SQLite Designer and Linq by
|
||||
default. [#20218]
|
||||
|
||||
Fixed a bug that could cause BDB to run out of avaliable mutexes when
|
||||
renaming many databases. [#20228]
|
||||
|
||||
Fixed a bug where the metadata page in hash databases would not be flushed
|
||||
to disk. [#20265]
|
||||
|
||||
Fixed a bug where printlog would fail on in-memory heap databases. [#20269]
|
||||
|
||||
Fixed a bug that would cause verify to call the wrong compare function if
|
||||
there are user defined compare functions used and the database has multilevel
|
||||
off page sorted duplicate trees. [#20284]
|
||||
|
||||
Fixed a bug where two processes accessing the same table and one of those drops
|
||||
the table and recreates, the second process can crash. [#20319]
|
||||
|
||||
Fixed a bug where it was possible to panic a heap database without an error
|
||||
message being printed. [#20320]
|
||||
|
||||
Fixed a bug where it would fail to put records with overflow keys into hash
|
||||
duplicate database. [#20329]
|
||||
|
||||
Fixed a bug where multiple Replication Manager processes would
|
||||
sometimes not all conform to replication-group-aware log archiving. [#20342]
|
||||
|
||||
Fixed a bug in the Java API where getting a Stat object could cause a segfault.
|
||||
[#20377]
|
||||
|
||||
Fix a bug where cache page eviction statistics could be inaccurate. [#20410]
|
||||
|
||||
Fix a bug where extending an almost-full region could cause a seg fault.
|
||||
[#20414]
|
||||
|
||||
Fix a bug where multiple long running transactions across checkpoints
|
||||
could cause Log Sequence errors on client systems. [#20421]
|
||||
|
||||
Fix a bug where aborting an exclusive transaction followed by an
|
||||
auto-commit read operation could cause an assert failure. [#20567]
|
||||
|
||||
Detect obsolete MVCC buffers earlier by refreshing stale old_reader LSNs.
|
||||
[#20570]
|
||||
|
||||
== Database or Log File On-Disk Format Changes ==
|
||||
|
||||
Existing database file formats were unchanged in library version 11.2.5.2.
|
||||
Existing database file formats were unchanged in library version 11.2.5.2.
|
||||
However, a new database file format, "heap", was introduced.
|
||||
|
||||
The log file format changed in library version 11.2.5.2.
|
||||
|
||||
== New Features ==
|
||||
|
||||
Replication Manager now manages Group Membership. This allows sites to be added to
|
||||
and removed from the replication group dynamically. Replication Manager
|
||||
Replication Manager now manages Group Membership. This allows sites to be added
|
||||
to and removed from the replication group dynamically. Replication Manager
|
||||
also now automatically keeps track of the group size (nsites). [#14778]
|
||||
|
||||
Initial allocations for various non-pagebuffer (mpool) system resources
|
||||
may now be specified, as well as a total maximum of memory to use, rather than
|
||||
Initial allocations for various non-pagebuffer (mpool) system resources
|
||||
may now be specified, as well as a total maximum of memory to use, rather than
|
||||
specifying a maximum value for each resource. [#16334]
|
||||
|
||||
Implemented Berkeley DB globalization support architecture to enable localized
|
||||
and stripped error and output messages. [#16863]
|
||||
Implemented Berkeley DB globalization support architecture to enable localized
|
||||
and stripped error and output messages. [#16863]
|
||||
|
||||
Added a new access method, DB_HEAP. Heap aims for efficient use (and re-use)
|
||||
of disk space. Keys in a heap database are automatically generated by BDB, it
|
||||
is recommended that one or more secondary indexes be used with a heap
|
||||
database. For full details on DB_HEAP, see the Programmer's Reference
|
||||
Added a new access method, DB_HEAP. Heap aims for efficient use (and re-use)
|
||||
of disk space. Keys in a heap database are automatically generated by BDB, it
|
||||
is recommended that one or more secondary indexes be used with a heap
|
||||
database. For full details on DB_HEAP, see the Programmer's Reference
|
||||
Guide. [#17627]
|
||||
|
||||
Added a compatible mode for 32bit and 64bit Windows environment. [#18225]
|
||||
|
@ -35,20 +98,20 @@ used to configure the Berkeley DB datastore. [#18521]
|
|||
Add several new pragmas to provide in-process support for replication in
|
||||
the SQL API. [#18528]
|
||||
|
||||
The Berkeley DB X/open compliant XA resource manager has been restored,
|
||||
The Berkeley DB X/open compliant XA resource manager has been restored,
|
||||
including support for multi-threaded servers. [#18701]
|
||||
|
||||
Improved the ability to recover from an application crash on connections
|
||||
through the SQL API. Berkeley DB will try to automatically clean up locks,
|
||||
Improved the ability to recover from an application crash on connections
|
||||
through the SQL API. Berkeley DB will try to automatically clean up locks,
|
||||
mutexes and transactions from the failed process. [#18713]
|
||||
|
||||
Add support for sequence usage in the SQL API using SQLite custom
|
||||
Add support for sequence usage in the SQL API using SQLite custom
|
||||
functions. [#19007]
|
||||
|
||||
Add a pragma in the SQL API to allow execution of a cache trickle
|
||||
Add a pragma in the SQL API to allow execution of a cache trickle
|
||||
command. [#19202]
|
||||
|
||||
Add a pragma in the SQL API to allow configuration of DB_SYSTEM_MEM
|
||||
Add a pragma in the SQL API to allow configuration of DB_SYSTEM_MEM
|
||||
environments. [#19249]
|
||||
|
||||
The new db_env_set_win_security(SECURITY_ATTRIBUTES *) function allows an
|
||||
|
@ -67,135 +130,138 @@ None
|
|||
|
||||
== Access Method Changes ==
|
||||
|
||||
Modified the queue access method so that it only uses latches on the metadata
|
||||
page rather than a latch and a lock. This was done to improve
|
||||
Modified the queue access method so that it only uses latches on the metadata
|
||||
page rather than a latch and a lock. This was done to improve
|
||||
performance. [#18749]
|
||||
|
||||
Fixed several bugs that could cause an update running with MVCC to get the
|
||||
wrong version of a page or improperly update the metadata last page
|
||||
Fixed several bugs that could cause an update running with MVCC to get the
|
||||
wrong version of a page or improperly update the metadata last page
|
||||
number. [#19063]
|
||||
|
||||
The database open code will no longer log the open and close of the master
|
||||
The database open code will no longer log the open and close of the master
|
||||
database in a file when opening a sub database in that file. [#19071]
|
||||
|
||||
Fixed a bug where an error during an update to a hash database with
|
||||
DB_NOOVERWRITE set could return DB_KEYEXIST rather than the correct
|
||||
Fixed a bug where an error during an update to a hash database with
|
||||
DB_NOOVERWRITE set could return DB_KEYEXIST rather than the correct
|
||||
error. [#19077]
|
||||
|
||||
Fixed a bug that could cause the wrong page number to be on a root or metadata
|
||||
page if DB->compact moved the page and the operation was later rolled
|
||||
Fixed a bug that could cause the wrong page number to be on a root or metadata
|
||||
page if DB->compact moved the page and the operation was later rolled
|
||||
forward. [#19167]
|
||||
|
||||
Fixed a bug that could cause the close of a secondary index database to fail
|
||||
Fixed a bug that could cause the close of a secondary index database to fail
|
||||
if the transaction doing the open aborted. [#19169]
|
||||
|
||||
Fixed a bug that could prevent an update to a primary recno or queue database
|
||||
Fixed a bug that could prevent an update to a primary recno or queue database
|
||||
with DB_NOOVERWITE set. [#19230]
|
||||
|
||||
Fixed a bug when an update to a database with DB_NOOVERWRITE set could
|
||||
incorrectly return DB_KEYEXIST rather than the correct error
|
||||
Fixed a bug when an update to a database with DB_NOOVERWRITE set could
|
||||
incorrectly return DB_KEYEXIST rather than the correct error
|
||||
(e.g., DB_LOCK_DEADLOCK). [#19345]
|
||||
|
||||
Fixed a bug preventing the use of the set_re_len and set_re_pad methods with
|
||||
Fixed a bug preventing the use of the set_re_len and set_re_pad methods with
|
||||
a RECNO database when configuring with --disable-queue. [#19367]
|
||||
|
||||
Fixed a bug in DB->compact on BTREE databases that did not check if the last
|
||||
Fixed a bug in DB->compact on BTREE databases that did not check if the last
|
||||
page in the database could be moved to a lower numbered page. [#19394]
|
||||
|
||||
Fixed a bug that could cause a Log Sequence Error when recovering the
|
||||
Fixed a bug that could cause a Log Sequence Error when recovering the
|
||||
deallocation of a multiple page overflow chain. [#19474]
|
||||
|
||||
Fixed a bug that could cause a diagnostic assertion if MVCC was in use
|
||||
and multiple levels of a btree needed to be split. [#19481]
|
||||
|
||||
Fixed a few error paths that could cause a Panic with an "unpinned page
|
||||
Fixed a few error paths that could cause a Panic with an "unpinned page
|
||||
returned" error. [#19493]
|
||||
|
||||
Fixed a bug that closed a race condition that under heavy mult-threaded
|
||||
Fixed a bug that closed a race condition that under heavy mult-threaded
|
||||
appending to a queue database could cause some records to be lost. [#19498]
|
||||
|
||||
Fixed a bug that might cause DB->compact to mis-estimate the size of an
|
||||
overflow record when merging two pages. This may cause the page to have more
|
||||
Fixed a bug that might cause DB->compact to mis-estimate the size of an
|
||||
overflow record when merging two pages. This may cause the page to have more
|
||||
data than desired. [#19562]
|
||||
|
||||
Fixed a bug in DB_ENV->fileid_reset that did not update the fileid's on the
|
||||
metadata pages of subdatabases if the database file was not in native
|
||||
Fixed a bug in DB_ENV->fileid_reset that did not update the fileid's on the
|
||||
metadata pages of subdatabases if the database file was not in native
|
||||
byte order. [#19608]
|
||||
|
||||
Fixed a bug that caused the first directory specified in the create of
|
||||
Fixed a bug that caused the first directory specified in the create of
|
||||
a partitioned database to get too many partitions. [#20041]
|
||||
|
||||
Fixed a bug that could leave deleted pages from a HEAP database in the buffer
|
||||
cache. [#20309]
|
||||
|
||||
== SQL API Changes ==
|
||||
|
||||
Fixed a race condition that would cause a corruption error in one process when
|
||||
Fixed a race condition that would cause a corruption error in one process when
|
||||
two processes created the same SQL database. [#18929]
|
||||
|
||||
Fixed a bug that would cause a constraint violation when updating the
|
||||
Fixed a bug that would cause a constraint violation when updating the
|
||||
primary key with the same value. [#18976]
|
||||
|
||||
Overwriting an old backup with a new backup using the SQL online backup API
|
||||
Overwriting an old backup with a new backup using the SQL online backup API
|
||||
will no longer double the size of the database. [#19021]
|
||||
|
||||
Implemented index optimizations for indexes on large values. [#19094]
|
||||
|
||||
Fixed a bug that could cause an undetected deadlock between a
|
||||
thread which moved a metadata or root page via a DB->compact operation and
|
||||
another thread trying to open the database if the old page was being removed
|
||||
Fixed a bug that could cause an undetected deadlock between a
|
||||
thread which moved a metadata or root page via a DB->compact operation and
|
||||
another thread trying to open the database if the old page was being removed
|
||||
from the file. [#19186]
|
||||
|
||||
Fix a bug in the BDBSQL_FILE_PER_TABLE option, to allow absolute
|
||||
Fix a bug in the BDBSQL_FILE_PER_TABLE option, to allow absolute
|
||||
path names. [#19190]
|
||||
|
||||
Add a pragma to allow configuration of DB_SYSTEM_MEM environments. [#19249]
|
||||
|
||||
Exclusive transactions will now block new transactions and will prevent
|
||||
Exclusive transactions will now block new transactions and will prevent
|
||||
existing transactions from making forward progress. [#19256]
|
||||
|
||||
Fixed a bug that would cause assert error when opening an in-memory hash
|
||||
database with thread count configured when compiled with
|
||||
--enable-diagnostic. [#19357]
|
||||
Fixed a bug that would cause assert error when opening an in-memory hash
|
||||
database with thread count configured when compiled with
|
||||
--enable-diagnostic. [#19357]
|
||||
|
||||
Upgrade the bundled version of SQLite to 3.7.6.2 [#19376]
|
||||
|
||||
Fixed a performance bug with the cache victim selection algorithm when there
|
||||
Fixed a performance bug with the cache victim selection algorithm when there
|
||||
were multiple cache regions. [#19385]
|
||||
|
||||
Fixed a bug which could cause two SQL threads to have an undetected deadlock
|
||||
when opening or closing tables. [#19386]
|
||||
|
||||
Fix a bug that could cause a hang when deleting a table if there are multiple
|
||||
Fix a bug that could cause a hang when deleting a table if there are multiple
|
||||
connections to a database from different processes. [#19419]
|
||||
|
||||
Fixed a bug which could cause multiple threads performing DB->compact on
|
||||
the same database file to overrun the in-memory freelist, which could
|
||||
Fixed a bug which could cause multiple threads performing DB->compact on
|
||||
the same database file to overrun the in-memory freelist, which could
|
||||
potentially lead to memory corruption. [#19571]
|
||||
|
||||
Fixed a bug in DB->compact that could cause a loop if an attempt to move a
|
||||
Fixed a bug in DB->compact that could cause a loop if an attempt to move a
|
||||
sub-database meta data page deadlocked. [#20028]
|
||||
|
||||
== C API Changes ==
|
||||
|
||||
Fixed a bug where encryption could not be enabled for individual databases
|
||||
Fixed a bug where encryption could not be enabled for individual databases
|
||||
in an encrypted environment. [#18891]
|
||||
|
||||
Removed two unused error codes, DB_NOSERVER_HOME and DB_NOSERVER_ID. [#18978]
|
||||
|
||||
Added a DB_DBT_READONLY flag so that users can pass in a non-usermem key
|
||||
(DB_DBT_USERMEM) for get operations. [#19360]
|
||||
Added a DB_DBT_READONLY flag so that users can pass in a non-usermem key
|
||||
(DB_DBT_USERMEM) for get operations. [#19360]
|
||||
|
||||
Fixed a bug in DB/DBC->get/pget that the partial flags are silently ignored
|
||||
with positional flags and return inconsistent DBT. [#19540]
|
||||
|
||||
Fixed a bug which prevented items from being deleted on a secondary
|
||||
database. [#19573]
|
||||
Fixed a bug which prevented items from being deleted on a secondary
|
||||
database. [#19573]
|
||||
|
||||
Fixed a bug to correctly handle the DB_BUFFER_SMALL case on delete
|
||||
Fixed a bug to correctly handle the DB_BUFFER_SMALL case on delete
|
||||
operations when compression is enabled. [#19660]
|
||||
|
||||
|
||||
== Tcl-specific API Changes ==
|
||||
|
||||
None.
|
||||
|
||||
None.
|
||||
|
||||
|
||||
== C#-specific API Changes ==
|
||||
|
||||
|
@ -224,10 +290,10 @@ transactions. [#17497]
|
|||
Changed election criteria so that later group transactions
|
||||
won't get overwritten by earlier generations with more log. [#17815]
|
||||
|
||||
Added changes to master lease checks that result in improved
|
||||
Added changes to master lease checks that result in improved
|
||||
performance when using master leases. [#18960]
|
||||
|
||||
A log write failure on a replication master will now cause
|
||||
A log write failure on a replication master will now cause
|
||||
a panic since the transaction may be committed on some clients. [#19054]
|
||||
|
||||
Fixed a few memory leak conditions on error paths. [#19131]
|
||||
|
@ -235,8 +301,8 @@ Fixed a few memory leak conditions on error paths. [#19131]
|
|||
Change lease code so that zero priority sites do not count
|
||||
in lease guarantees since they cannot be elected. [#19154]
|
||||
|
||||
Repmgr rerequest processing is moved from a dedicated thread to heartbeat
|
||||
messages. Repmgr clients using heartbeats can now detect and rerequest
|
||||
Repmgr rerequest processing is moved from a dedicated thread to heartbeat
|
||||
messages. Repmgr clients using heartbeats can now detect and rerequest
|
||||
missing final master log records without master activity. [#19197]
|
||||
|
||||
Repmgr statistics are now included in full statistics output for
|
||||
|
@ -266,7 +332,7 @@ Fixed a bug that could cause a crash in replication groups of more
|
|||
than 10 sites, with multiple processes sharing each DB environment
|
||||
concurrently. [#19818]
|
||||
|
||||
Fix a bug where an assertion failure could happen if pages in a database
|
||||
Fix a bug where an assertion failure could happen if pages in a database
|
||||
were deallocated during a client internal initialization.[#19851]
|
||||
|
||||
Fix a bug where an internal initialization of a queue database with
|
||||
|
@ -281,41 +347,41 @@ need for application activity. [#19950]
|
|||
|
||||
== Locking Subsystem Changes ==
|
||||
|
||||
Fixed a bug where an updater supporting DB_READ_UNCOMMITED might downgrade
|
||||
Fixed a bug where an updater supporting DB_READ_UNCOMMITED might downgrade
|
||||
its lock too soon if there was an error during the update. [#19155]
|
||||
|
||||
Fixed a bug where transaction timeouts could have been specified in a
|
||||
Fixed a bug where transaction timeouts could have been specified in a
|
||||
database environment where the locking subsystem was disabled. [#19582]
|
||||
|
||||
Fixed a bug in a diagnostic assertion that was improperly triggered by the
|
||||
Fixed a bug in a diagnostic assertion that was improperly triggered by the
|
||||
removal of a sub-database. [#19683]
|
||||
|
||||
Fixed a bug that would cause DB_ENV->failcheck to free locks for a locker
|
||||
associated with a database handle after the thread that opened the handle
|
||||
Fixed a bug that would cause DB_ENV->failcheck to free locks for a locker
|
||||
associated with a database handle after the thread that opened the handle
|
||||
exited. [#19881]
|
||||
|
||||
== Logging Subsystem Changes ==
|
||||
|
||||
Enhanced recovery so that it will not output extra checkpoint or transaction
|
||||
id recycle log records if there was no activity since the last
|
||||
Enhanced recovery so that it will not output extra checkpoint or transaction
|
||||
id recycle log records if there was no activity since the last
|
||||
checkpoint. [#15330]
|
||||
|
||||
Log checksums can now be disabled using the compile argument
|
||||
--disable-log-checksum. This will give a performance increase at the risk
|
||||
of undetectable corruption in the log records, which would make recovery
|
||||
Log checksums can now be disabled using the compile argument
|
||||
--disable-log-checksum. This will give a performance increase at the risk
|
||||
of undetectable corruption in the log records, which would make recovery
|
||||
impossible. [#19143]
|
||||
|
||||
Fixed a bug that could cause a page that should have been removed from the
|
||||
Fixed a bug that could cause a page that should have been removed from the
|
||||
end of a file still be in the copy of the file in a hot backup. [#19996]
|
||||
|
||||
== Memory Pool Subsystem Changes ==
|
||||
|
||||
Fixed a bug in MPOOLFILE->get that did not permit the DB_MPOOL_DIRTY flag
|
||||
Fixed a bug in MPOOLFILE->get that did not permit the DB_MPOOL_DIRTY flag
|
||||
to be used with other flags. [#19421]
|
||||
|
||||
== Mutex Subsystem Changes ==
|
||||
|
||||
Fixed a bug when the mutex region needs to be larger than 4GB, the region size
|
||||
Fixed a bug when the mutex region needs to be larger than 4GB, the region size
|
||||
was incorrectly adjusted to be slightly too small to fit the mutexes. [#18968]
|
||||
|
||||
Fixed a performance problem with hybrid shared latches in which a request for
|
||||
|
@ -332,16 +398,16 @@ which might result in a hang. [#19047]
|
|||
|
||||
== Transaction Subsystem Changes ==
|
||||
|
||||
Fixed a leak of log file ids when a database is closed before the end of a
|
||||
Fixed a leak of log file ids when a database is closed before the end of a
|
||||
transaction that references it. [#15957]
|
||||
|
||||
Fixed a bug that would cause a panic if a child transaction performed a database
|
||||
Fixed a bug that would cause a panic if a child transaction performed a database
|
||||
rename, then aborted, and then the parent transaction committed. [#18069]
|
||||
|
||||
Fixed a bug where we released the metadata page lock too early if a
|
||||
non-transactional update was being done. [#19036]
|
||||
|
||||
Removed the possibility that checkpoints will overlap in the log, decreasing
|
||||
Removed the possibility that checkpoints will overlap in the log, decreasing
|
||||
the time to recover. [#19062]
|
||||
|
||||
|
||||
|
@ -354,29 +420,29 @@ Require Tcl 8.5 or greater.
|
|||
Added a new utility, db_tuner, which analyzes the data in a btree database,
|
||||
and suggests a reasonable pagesize. [#18910]
|
||||
|
||||
Fixed some bugs in log_verify when there are in-memory database logs and subdb
|
||||
Fixed some bugs in log_verify when there are in-memory database logs and subdb
|
||||
logs. [#19157]
|
||||
|
||||
Modified db_hotbackup to not read from the file system as required on non-UNIX
|
||||
Modified db_hotbackup to not read from the file system as required on non-UNIX
|
||||
systems. Also provided the db_copy function for this purpose. [#19863]
|
||||
|
||||
Fixed db_hotbackup so that when -d/-l or -D is not specified, DB_CONFIG is
|
||||
used to determine the locations of the databases and logs in the source
|
||||
Fixed db_hotbackup so that when -d/-l or -D is not specified, DB_CONFIG is
|
||||
used to determine the locations of the databases and logs in the source
|
||||
environment. [#19994]
|
||||
|
||||
== Configuration, Documentation, Sample Apps, Portability and Build Changes ==
|
||||
|
||||
Changed SQL API library built on *nix to link with libpthreads when
|
||||
Changed SQL API library built on *nix to link with libpthreads when
|
||||
necessary. [#19098]
|
||||
|
||||
Added CPPFLAGS into our --enable-jdbc configuration. [#19234]
|
||||
|
||||
Added encryption support into the Windows CE build project for SQL API. [#19632]
|
||||
|
||||
Fixed a bug in the STAT_INC_VERB() dtrace probe that was causing compiler
|
||||
Fixed a bug in the STAT_INC_VERB() dtrace probe that was causing compiler
|
||||
warnings. [#19707]
|
||||
|
||||
Fixed a bug that could cause a trap in db_dump using salvage mode if a
|
||||
Fixed a bug that could cause a trap in db_dump using salvage mode if a
|
||||
page was found that was not associated with any database in the file. [#19974]
|
||||
|
||||
On Cygwin, circumvented a bug in libtool that is exposed when building the
|
||||
|
@ -386,7 +452,7 @@ BDB SQL API in a directory path containing whitespace characters. [#19812]
|
|||
|
||||
Update repmgr C, C#, C++, Java examples(ex_rep_mgr, ex_rep_gsg_repmgr,
|
||||
ex_rep_chan, excs_repquote, excxx_repquote, excxx_epquote_gsg, repquote,
|
||||
repquote_gsg) with their related API changes for group
|
||||
repquote_gsg) with their related API changes for group
|
||||
membership. [#19586][#19622]
|
||||
|
||||
Port ex_rep_chan, ex_rep_gsg_repmgr,ex_rep_gsg_simple,
|
||||
|
@ -403,24 +469,18 @@ None
|
|||
|
||||
== Known Bugs ==
|
||||
|
||||
The SQL API has a known issue when using a blob field with a lot of content
|
||||
and multiple concurrent connections to the database. [#19945]
|
||||
|
||||
Rollback of a dropped table in the SQL layer contains a mutex leak, which
|
||||
can consume all mutex resources if enough rollbacks of table drops are
|
||||
Rollback of a dropped table in the SQL layer contains a mutex leak, which
|
||||
can consume all mutex resources if enough rollbacks of table drops are
|
||||
performed. [#20077]
|
||||
|
||||
The DB_CONFIG configuration parameters which specify path names currently
|
||||
do not support names containing any whitespace characters. [#20158]
|
||||
|
||||
The BFile module has a known crash issue when using BFile handle for SQL
|
||||
expressions interface on 64bit platforms. [#20193]
|
||||
|
||||
On systems without FTRUNCATE, db_verify will return an error for truncated
|
||||
heap databases. This is a bug in db_verify, the database has been truncated
|
||||
On systems without FTRUNCATE, db_verify will return an error for truncated
|
||||
heap databases. This is a bug in db_verify, the database has been truncated
|
||||
correctly and can be used in the future. [#20195]
|
||||
|
||||
An application using queue extents which is append mostly could see a
|
||||
decrease in the buffer pool hit rate due to the failure to remove pages
|
||||
An application using queue extents which is append mostly could see a
|
||||
decrease in the buffer pool hit rate due to the failure to remove pages
|
||||
from closed extents from the buffer pool. [#20217]
|
||||
|
||||
|
|
5
dist/Makefile.in
vendored
|
@ -1,6 +1,7 @@
|
|||
# $Id$
|
||||
|
||||
topdir= @topdir@
|
||||
abs_topdir= @abs_topdir@
|
||||
srcdir= $(topdir)/src
|
||||
langdir= $(topdir)/lang
|
||||
exampledir= $(topdir)/examples
|
||||
|
@ -155,7 +156,7 @@ JAVA_EXCLASSTOP=./classes.ex
|
|||
JAVA_SRCDIR= $(langdir)/java/src
|
||||
JAVA_EXDIR= $(exampledir)/java/src
|
||||
JAVA_SLEEPYCAT= $(langdir)/java/src/com/sleepycat
|
||||
JAVA_MANIFEST= $(langdir)/java/jarManifestEntries
|
||||
JAVA_MANIFEST= $(abs_topdir)/lang/java/jarManifestEntries
|
||||
|
||||
libj_jarfile= db.jar
|
||||
libj_exjarfile= dbexamples.jar
|
||||
|
@ -967,7 +968,7 @@ $(libj_jarfile): $(JAVA_DBSRCS)
|
|||
$(JAVA) -classpath $(JAVA_CLASSTOP) \
|
||||
com.sleepycat.persist.model.ClassEnhancer $(JAVA_CLASSTOP)
|
||||
cd $(JAVA_CLASSTOP) && \
|
||||
$(JAR) cfm ../$(libj_jarfile) ../$(JAVA_MANIFEST) ./com/sleepycat
|
||||
$(JAR) cfm ../$(libj_jarfile) $(JAVA_MANIFEST) ./com/sleepycat
|
||||
|
||||
$(libj_exjarfile): $(libj_jarfile) $(JAVA_EXSRCS)
|
||||
@test -d $(JAVA_EXCLASSTOP) || \
|
||||
|
|
4
dist/RELEASE
vendored
|
@ -5,12 +5,12 @@ DB_VERSION_LETTER="g"
|
|||
DB_VERSION_RELEASE=2
|
||||
DB_VERSION_MAJOR=5
|
||||
DB_VERSION_MINOR=2
|
||||
DB_VERSION_PATCH=28
|
||||
DB_VERSION_PATCH=36
|
||||
DB_VERSION="$DB_VERSION_MAJOR.$DB_VERSION_MINOR.$DB_VERSION_PATCH"
|
||||
DB_VERSION_FULL="$DB_VERSION_FAMILY.$DB_VERSION_RELEASE.$DB_VERSION_MAJOR.$DB_VERSION_MINOR.$DB_VERSION_PATCH"
|
||||
|
||||
DB_VERSION_UNIQUE_NAME=`printf "_%d%03d" $DB_VERSION_MAJOR $DB_VERSION_MINOR`
|
||||
|
||||
DB_RELEASE_DATE="June 10, 2011"
|
||||
DB_RELEASE_DATE="September 14, 2011"
|
||||
DB_VERSION_STRING="Berkeley DB $DB_VERSION: ($DB_RELEASE_DATE)"
|
||||
DB_VERSION_FULL_STRING="Berkeley DB $DB_VERSION_FAMILY$DB_VERSION_LETTER Release $DB_VERSION_RELEASE, library version $DB_VERSION_FULL: ($DB_RELEASE_DATE)"
|
||||
|
|
23
dist/aclocal/sql.m4
vendored
|
@ -90,8 +90,8 @@ esac
|
|||
|
||||
# !!! END COPIED from autoconf distribution
|
||||
|
||||
sqlite_dir=$srcdir/../lang/sql/sqlite
|
||||
(cd sql && eval "\$SHELL ../$sqlite_dir/configure --disable-option-checking $ac_sub_configure_args CPPFLAGS=\"-I.. $CPPFLAGS\" --enable-amalgamation=$db_cv_sql_amalgamation --enable-readline=$with_readline" && cat build_config.h >> config.h) || exit 1
|
||||
sqlite_dir=$abs_srcdir/../lang/sql/sqlite
|
||||
(cd sql && eval "\$SHELL $sqlite_dir/configure --disable-option-checking $ac_sub_configure_args CPPFLAGS=\"-I.. $CPPFLAGS\" --enable-amalgamation=$db_cv_sql_amalgamation --enable-readline=$with_readline" && cat build_config.h >> config.h) || exit 1
|
||||
|
||||
# Configure JDBC if --enable-jdbc
|
||||
if test "$db_cv_jdbc" != "no"; then
|
||||
|
@ -121,14 +121,15 @@ if test "$db_cv_jdbc" != "no"; then
|
|||
test "$prefix" != "" && jdbc_args="--prefix=$prefix --with-jardir=$prefix/jar"
|
||||
test "$enable_shared" != "" && jdbc_args="$jdbc_args --enable-shared=$enable_shared"
|
||||
test "$enable_static" != "" && jdbc_args="$jdbc_args --enable-static=$enable_static"
|
||||
test "$cross_compiling" = yes && jdbc_args="$jdbc_args --build=$build --host=$host "
|
||||
|
||||
# 1. The build directory is build_unix/jdbc, so the include paths are relative
|
||||
# to that.
|
||||
# 2. The JDBC driver does not accept CPPFLAGS. So we move the CPPFLAGS options
|
||||
# into CFLAGS for the JDBC driver.
|
||||
jdbc_flags="$jdbc_flags CFLAGS=\"-I.. -I../../src/dbinc -I../sql \
|
||||
-DHAVE_ERRNO_H -D_HAVE_SQLITE_CONFIG_H -DHAVE_SQLITE3_MALLOC \
|
||||
$CFLAGS $CPPFLAGS\""
|
||||
jdbc_flags="$jdbc_flags HOST_CFLAGS=\"$HOST_CFLAGS\" \
|
||||
CFLAGS=\"-I.. -I../../src/dbinc -I../sql -DHAVE_ERRNO_H \
|
||||
-DHAVE_SQLITE_CONFIG_H -DHAVE_SQLITE3_MALLOC $CFLAGS $CPPFLAGS\""
|
||||
# Set LDFLAGS for JDBC driver
|
||||
test "$LDFLAGS" != "" && jdbc_flags="$jdbc_flags LDFLAGS=\"$LDFLAGS\""
|
||||
|
||||
|
@ -142,7 +143,15 @@ if test "$db_cv_jdbc" != "no"; then
|
|||
# Run the jdbc/configure
|
||||
cd jdbc
|
||||
test ! -e Makefile.in.tmp && mv Makefile.in Makefile.in.tmp
|
||||
sed "s/@BDB_LIB@/$BDB_LIB/g" Makefile.in.tmp > Makefile.in
|
||||
eval "\$SHELL ./configure --with-sqlite3=../../lang/sql/generated $jdbc_args $jdbc_flags"
|
||||
# JAVAC_FLAGS - compiling jdbc - to be passed from configure
|
||||
sed "{s/@BDB_LIB@/$BDB_LIB/g;s,@JAVAC_FLAGS@,$JAVAC_FLAGS,g}" \
|
||||
Makefile.in.tmp > Makefile.in
|
||||
|
||||
echo "jdbc_path=$jdbc_path with_sqlite3=$with_sqlite3 \
|
||||
abs_srcdir=$abs_srcdir tmp=$tmp"
|
||||
sqlite3_path="$abs_srcdir/../lang/sql/generated"
|
||||
echo "\$SHELL ./configure --with-sqlite3=$sqlite3_path $jdbc_args $jdbc_flags"
|
||||
eval "\$SHELL ./configure --with-sqlite3=$sqlite3_path $jdbc_args $jdbc_flags"
|
||||
|
||||
fi
|
||||
])
|
||||
|
|
4
dist/buildpkg
vendored
|
@ -57,8 +57,8 @@ START_DIR=`pwd`
|
|||
D=`pwd`/../release
|
||||
R="$D/db-${VERSION}"
|
||||
RNC="$D/db-$VERSION.NC"
|
||||
DOCS=`pwd`/../../docs_books
|
||||
DB_ADDONS=`pwd`/../../db_addons
|
||||
DOCS=`pwd`/../../docs_books-5.2
|
||||
DB_ADDONS=`pwd`/../../db_addons-5.2
|
||||
|
||||
if [ ! -d $DB_ADDONS ]; then
|
||||
echo "buildpkg requires a db_addons repository at the same level as the db repository."
|
||||
|
|
73
dist/configure
vendored
|
@ -1,6 +1,6 @@
|
|||
#! /bin/sh
|
||||
# Guess values for system-dependent variables and create Makefiles.
|
||||
# Generated by GNU Autoconf 2.68 for Berkeley DB 5.2.28.
|
||||
# Generated by GNU Autoconf 2.68 for Berkeley DB 5.2.36.
|
||||
#
|
||||
# Report bugs to <Oracle Technology Network Berkeley DB forum>.
|
||||
#
|
||||
|
@ -569,9 +569,9 @@ MAKEFLAGS=
|
|||
|
||||
# Identity of this package.
|
||||
PACKAGE_NAME='Berkeley DB'
|
||||
PACKAGE_TARNAME='db-5.2.28'
|
||||
PACKAGE_VERSION='5.2.28'
|
||||
PACKAGE_STRING='Berkeley DB 5.2.28'
|
||||
PACKAGE_TARNAME='db-5.2.36'
|
||||
PACKAGE_VERSION='5.2.36'
|
||||
PACKAGE_STRING='Berkeley DB 5.2.36'
|
||||
PACKAGE_BUGREPORT='Oracle Technology Network Berkeley DB forum'
|
||||
PACKAGE_URL=''
|
||||
|
||||
|
@ -716,6 +716,7 @@ DB_VERSION_RELEASE
|
|||
DB_VERSION_FAMILY
|
||||
platform_footer
|
||||
platform_header
|
||||
abs_topdir
|
||||
topdir
|
||||
subdir_cmd
|
||||
o
|
||||
|
@ -1439,7 +1440,7 @@ if test "$ac_init_help" = "long"; then
|
|||
# Omit some internal or obsolete options to make the list less imposing.
|
||||
# This message is too long to be a string in the A/UX 3.1 sh.
|
||||
cat <<_ACEOF
|
||||
\`configure' configures Berkeley DB 5.2.28 to adapt to many kinds of systems.
|
||||
\`configure' configures Berkeley DB 5.2.36 to adapt to many kinds of systems.
|
||||
|
||||
Usage: $0 [OPTION]... [VAR=VALUE]...
|
||||
|
||||
|
@ -1488,7 +1489,7 @@ Fine tuning of the installation directories:
|
|||
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
|
||||
--mandir=DIR man documentation [DATAROOTDIR/man]
|
||||
--docdir=DIR documentation root
|
||||
[DATAROOTDIR/doc/db-5.2.28]
|
||||
[DATAROOTDIR/doc/db-5.2.36]
|
||||
--htmldir=DIR html documentation [DOCDIR]
|
||||
--dvidir=DIR dvi documentation [DOCDIR]
|
||||
--pdfdir=DIR pdf documentation [DOCDIR]
|
||||
|
@ -1510,7 +1511,7 @@ fi
|
|||
|
||||
if test -n "$ac_init_help"; then
|
||||
case $ac_init_help in
|
||||
short | recursive ) echo "Configuration of Berkeley DB 5.2.28:";;
|
||||
short | recursive ) echo "Configuration of Berkeley DB 5.2.36:";;
|
||||
esac
|
||||
cat <<\_ACEOF
|
||||
|
||||
|
@ -1668,7 +1669,7 @@ fi
|
|||
test -n "$ac_init_help" && exit $ac_status
|
||||
if $ac_init_version; then
|
||||
cat <<\_ACEOF
|
||||
Berkeley DB configure 5.2.28
|
||||
Berkeley DB configure 5.2.36
|
||||
generated by GNU Autoconf 2.68
|
||||
|
||||
Copyright (C) 2010 Free Software Foundation, Inc.
|
||||
|
@ -2447,7 +2448,7 @@ cat >config.log <<_ACEOF
|
|||
This file contains any messages produced by compilers while
|
||||
running configure, to aid debugging if configure makes a mistake.
|
||||
|
||||
It was created by Berkeley DB $as_me 5.2.28, which was
|
||||
It was created by Berkeley DB $as_me 5.2.36, which was
|
||||
generated by GNU Autoconf 2.68. Invocation command line was
|
||||
|
||||
$ $0 $@
|
||||
|
@ -2932,6 +2933,18 @@ fi
|
|||
$as_echo "no" >&6; }
|
||||
|
||||
topdir=`echo "$srcdir/.." | sed 's,/dist/\.\.,,'`
|
||||
# abs_srcdir: for relative building, jdbc configure-ing,
|
||||
# use --with-sqlite3=$abs_srcdir/../lang/sql/generated
|
||||
# rather than --with-sqlite3=../../lang/sql/generated which is correct only for in-place
|
||||
# --with-sqlite3=$srcdir/../lang/sql/generated does not work for relative $srcdir
|
||||
ac_pwd=`pwd`; cd $srcdir; abs_srcdir=`pwd`; cd $ac_pwd
|
||||
|
||||
# abs_topdir: use it for JAVA_MANIFEST in Makefile;
|
||||
# that's because $topdir could be either absolute or relative path, and
|
||||
# - ../$(JAVA_MANIFEST) is wrong for absolute path $topdir
|
||||
# - while for relative $topdir, one level back ../$(JAVA_MANIFEST) would needed
|
||||
abs_topdir=`echo "$abs_srcdir/.." | sed 's,/dist/\.\.,,'`
|
||||
|
||||
# Substitution variables. BDB additions need to be documented.
|
||||
|
||||
|
||||
|
@ -2992,6 +3005,7 @@ topdir=`echo "$srcdir/.." | sed 's,/dist/\.\.,,'`
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# The Windows public header has two extra symbols we need to remove.
|
||||
|
@ -3011,11 +3025,11 @@ DB_VERSION_MAJOR="5"
|
|||
|
||||
DB_VERSION_MINOR="2"
|
||||
|
||||
DB_VERSION_PATCH="28"
|
||||
DB_VERSION_PATCH="36"
|
||||
|
||||
DB_VERSION_STRING='"Berkeley DB 5.2.28: (June 10, 2011)"'
|
||||
DB_VERSION_STRING='"Berkeley DB 5.2.36: (September 14, 2011)"'
|
||||
|
||||
DB_VERSION_FULL_STRING='"Berkeley DB 11g Release 2, library version 11.2.5.2.28: (June 10, 2011)"'
|
||||
DB_VERSION_FULL_STRING='"Berkeley DB 11g Release 2, library version 11.2.5.2.36: (September 14, 2011)"'
|
||||
|
||||
|
||||
# Process all options before using them.
|
||||
|
@ -17857,7 +17871,7 @@ else
|
|||
JAVA_TEST=Test.java
|
||||
CLASS_TEST=Test.class
|
||||
cat << \EOF > $JAVA_TEST
|
||||
/* #line 17860 "configure" */
|
||||
/* #line 17874 "configure" */
|
||||
public class Test {
|
||||
}
|
||||
EOF
|
||||
|
@ -18120,7 +18134,7 @@ EOF
|
|||
if uudecode$EXEEXT Test.uue; then
|
||||
ac_cv_prog_uudecode_base64=yes
|
||||
else
|
||||
echo "configure: 18123: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
|
||||
echo "configure: 18137: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
|
||||
echo "configure: failed file was:" >&5
|
||||
cat Test.uue >&5
|
||||
ac_cv_prog_uudecode_base64=no
|
||||
|
@ -18238,7 +18252,7 @@ else
|
|||
JAVA_TEST=Test.java
|
||||
CLASS_TEST=Test.class
|
||||
cat << \EOF > $JAVA_TEST
|
||||
/* #line 18241 "configure" */
|
||||
/* #line 18255 "configure" */
|
||||
public class Test {
|
||||
}
|
||||
EOF
|
||||
|
@ -18273,7 +18287,7 @@ JAVA_TEST=Test.java
|
|||
CLASS_TEST=Test.class
|
||||
TEST=Test
|
||||
cat << \EOF > $JAVA_TEST
|
||||
/* [#]line 18276 "configure" */
|
||||
/* [#]line 18290 "configure" */
|
||||
public class Test {
|
||||
public static void main (String args[]) {
|
||||
System.exit (0);
|
||||
|
@ -25211,7 +25225,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|||
# report actual input values of CONFIG_FILES etc. instead of their
|
||||
# values after options handling.
|
||||
ac_log="
|
||||
This file was extended by Berkeley DB $as_me 5.2.28, which was
|
||||
This file was extended by Berkeley DB $as_me 5.2.36, which was
|
||||
generated by GNU Autoconf 2.68. Invocation command line was
|
||||
|
||||
CONFIG_FILES = $CONFIG_FILES
|
||||
|
@ -25277,7 +25291,7 @@ _ACEOF
|
|||
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
||||
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
||||
ac_cs_version="\\
|
||||
Berkeley DB config.status 5.2.28
|
||||
Berkeley DB config.status 5.2.36
|
||||
configured by $0, generated by GNU Autoconf 2.68,
|
||||
with options \\"\$ac_cs_config\\"
|
||||
|
||||
|
@ -27276,8 +27290,8 @@ esac
|
|||
|
||||
# !!! END COPIED from autoconf distribution
|
||||
|
||||
sqlite_dir=$srcdir/../lang/sql/sqlite
|
||||
(cd sql && eval "\$SHELL ../$sqlite_dir/configure --disable-option-checking $ac_sub_configure_args CPPFLAGS=\"-I.. $CPPFLAGS\" --enable-amalgamation=$db_cv_sql_amalgamation --enable-readline=$with_readline" && cat build_config.h >> config.h) || exit 1
|
||||
sqlite_dir=$abs_srcdir/../lang/sql/sqlite
|
||||
(cd sql && eval "\$SHELL $sqlite_dir/configure --disable-option-checking $ac_sub_configure_args CPPFLAGS=\"-I.. $CPPFLAGS\" --enable-amalgamation=$db_cv_sql_amalgamation --enable-readline=$with_readline" && cat build_config.h >> config.h) || exit 1
|
||||
|
||||
# Configure JDBC if --enable-jdbc
|
||||
if test "$db_cv_jdbc" != "no"; then
|
||||
|
@ -27307,14 +27321,15 @@ if test "$db_cv_jdbc" != "no"; then
|
|||
test "$prefix" != "" && jdbc_args="--prefix=$prefix --with-jardir=$prefix/jar"
|
||||
test "$enable_shared" != "" && jdbc_args="$jdbc_args --enable-shared=$enable_shared"
|
||||
test "$enable_static" != "" && jdbc_args="$jdbc_args --enable-static=$enable_static"
|
||||
test "$cross_compiling" = yes && jdbc_args="$jdbc_args --build=$build --host=$host "
|
||||
|
||||
# 1. The build directory is build_unix/jdbc, so the include paths are relative
|
||||
# to that.
|
||||
# 2. The JDBC driver does not accept CPPFLAGS. So we move the CPPFLAGS options
|
||||
# into CFLAGS for the JDBC driver.
|
||||
jdbc_flags="$jdbc_flags CFLAGS=\"-I.. -I../../src/dbinc -I../sql \
|
||||
-DHAVE_ERRNO_H -D_HAVE_SQLITE_CONFIG_H -DHAVE_SQLITE3_MALLOC \
|
||||
$CFLAGS $CPPFLAGS\""
|
||||
jdbc_flags="$jdbc_flags HOST_CFLAGS=\"$HOST_CFLAGS\" \
|
||||
CFLAGS=\"-I.. -I../../src/dbinc -I../sql -DHAVE_ERRNO_H \
|
||||
-DHAVE_SQLITE_CONFIG_H -DHAVE_SQLITE3_MALLOC $CFLAGS $CPPFLAGS\""
|
||||
# Set LDFLAGS for JDBC driver
|
||||
test "$LDFLAGS" != "" && jdbc_flags="$jdbc_flags LDFLAGS=\"$LDFLAGS\""
|
||||
|
||||
|
@ -27328,8 +27343,16 @@ if test "$db_cv_jdbc" != "no"; then
|
|||
# Run the jdbc/configure
|
||||
cd jdbc
|
||||
test ! -e Makefile.in.tmp && mv Makefile.in Makefile.in.tmp
|
||||
sed "s/@BDB_LIB@/$BDB_LIB/g" Makefile.in.tmp > Makefile.in
|
||||
eval "\$SHELL ./configure --with-sqlite3=../../lang/sql/generated $jdbc_args $jdbc_flags"
|
||||
# JAVAC_FLAGS - compiling jdbc - to be passed from configure
|
||||
sed "{s/@BDB_LIB@/$BDB_LIB/g;s,@JAVAC_FLAGS@,$JAVAC_FLAGS,g}" \
|
||||
Makefile.in.tmp > Makefile.in
|
||||
|
||||
echo "jdbc_path=$jdbc_path with_sqlite3=$with_sqlite3 \
|
||||
abs_srcdir=$abs_srcdir tmp=$tmp"
|
||||
sqlite3_path="$abs_srcdir/../lang/sql/generated"
|
||||
echo "\$SHELL ./configure --with-sqlite3=$sqlite3_path $jdbc_args $jdbc_flags"
|
||||
eval "\$SHELL ./configure --with-sqlite3=$sqlite3_path $jdbc_args $jdbc_flags"
|
||||
|
||||
fi
|
||||
|
||||
fi
|
||||
|
|
13
dist/configure.ac
vendored
|
@ -29,6 +29,18 @@ fi
|
|||
AC_MSG_RESULT(no)
|
||||
|
||||
topdir=`echo "$srcdir/.." | sed 's,/dist/\.\.,,'`
|
||||
# abs_srcdir: for relative building, jdbc configure-ing,
|
||||
# use --with-sqlite3=$abs_srcdir/../lang/sql/generated
|
||||
# rather than --with-sqlite3=../../lang/sql/generated which is correct only for in-place
|
||||
# --with-sqlite3=$srcdir/../lang/sql/generated does not work for relative $srcdir
|
||||
ac_pwd=`pwd`; cd $srcdir; abs_srcdir=`pwd`; cd $ac_pwd
|
||||
|
||||
# abs_topdir: use it for JAVA_MANIFEST in Makefile;
|
||||
# that's because $topdir could be either absolute or relative path, and
|
||||
# - ../$(JAVA_MANIFEST) is wrong for absolute path $topdir
|
||||
# - while for relative $topdir, one level back ../$(JAVA_MANIFEST) would needed
|
||||
abs_topdir=`echo "$abs_srcdir/.." | sed 's,/dist/\.\.,,'`
|
||||
|
||||
# Substitution variables. BDB additions need to be documented.
|
||||
AC_SUBST(ADDITIONAL_INCS)
|
||||
AC_SUBST(ADDITIONAL_LANG)
|
||||
|
@ -90,6 +102,7 @@ AC_SUBST(db_int_def)
|
|||
AC_SUBST(o)
|
||||
AC_SUBST(subdir_cmd)
|
||||
AC_SUBST(topdir)
|
||||
AC_SUBST(abs_topdir)
|
||||
|
||||
# The Windows public header has two extra symbols we need to remove.
|
||||
AC_SUBST(platform_header)
|
||||
|
|
0
dist/javasqlite-20110430/.IGNORE_ME
vendored
7
dist/s_docs
vendored
|
@ -22,7 +22,7 @@ tmp_dir=$distdir/s_docs.tmp
|
|||
rm -rf $tmp_dir && mkdir $tmp_dir && mkdir $tmp_dir/logs
|
||||
|
||||
if [ "$docs_dir" = "" ]; then
|
||||
docs_dir=$rootdir/docs_books
|
||||
docs_dir=$rootdir/docs_books-5.2
|
||||
fi
|
||||
|
||||
# Verify that the docs_books repository is where we expect it.
|
||||
|
@ -90,14 +90,15 @@ cd $docs_dir/tools/buildBooks
|
|||
for book in DB_PROG_REF DB_REF_C DB_REF_CXX DB_REF_STL DB_REF_TCL \
|
||||
DB_GSG_C DB_GSG_CXX DB_GSG_JAVA DB_REP_C DB_REP_CXX \
|
||||
DB_REP_JAVA DB_COLLECTIONS DB_TXN_C DB_TXN_CXX DB_TXN_JAVA \
|
||||
DB_PORT DB_INSTALL DB_UPGRADE DB_SQL DB_SQL_ADO core_inmem_app; do
|
||||
DB_PORT DB_INSTALL DB_UPGRADE DB_SQL DB_SQL_ADO \
|
||||
core_inmem_app core_mssgtxt; do
|
||||
|
||||
case $book in
|
||||
DB_PROG_REF)
|
||||
HTML_OPTS="-x"
|
||||
PDF_OPTS=
|
||||
;;
|
||||
core_inmem_app)
|
||||
core_*)
|
||||
HTML_OPTS="-a"
|
||||
PDF_OPTS="-a"
|
||||
;;
|
||||
|
|
32
dist/s_sql_drivers
vendored
|
@ -36,7 +36,8 @@ else
|
|||
PKG_ROOT=../..
|
||||
fi
|
||||
|
||||
DB_ADDONS_REPO=$PKG_ROOT/db_addons
|
||||
#DB_ADDONS_REPO=$PKG_ROOT/db_addons
|
||||
DB_ADDONS_REPO=$PKG_ROOT/db_addons-5.2
|
||||
update_repo()
|
||||
{
|
||||
if [ ! -d $DB_ADDONS_REPO ]; then
|
||||
|
@ -392,6 +393,35 @@ do
|
|||
rm ${f}.tmp
|
||||
done
|
||||
|
||||
#
|
||||
# Don't build Designer and Linq by default -- users can build them
|
||||
# as needed.
|
||||
for sln in `ls *.sln`
|
||||
do
|
||||
# Dos to unix
|
||||
sed 's/$\r//' $sln > ${sln}.tmp
|
||||
|
||||
# Remove the projects from default building list
|
||||
for project_name in "SQLite.Designer" "System.Data.SQLite.Linq"
|
||||
do
|
||||
project_id=`cat ${sln}.tmp | grep $project_name | head -n 1 | \
|
||||
awk -F '[{}]' '{print $4}'`
|
||||
if [ "$project_id" != "" ]; then
|
||||
sed -e "/{$project_id}\./d" ${sln}.tmp > ${sln}
|
||||
cp ${sln} ${sln}.tmp
|
||||
fi
|
||||
done
|
||||
|
||||
# Unix to dos
|
||||
if [ "$is_cygwin" = "true" ]; then
|
||||
# Unix to Dos for cygwin for sed behavior difference on cygwin
|
||||
sed -e "s/$/\r/" ${sln}.tmp > $sln
|
||||
else
|
||||
cat ${sln}.tmp > $sln
|
||||
fi
|
||||
rm ${sln}.tmp
|
||||
done
|
||||
|
||||
#
|
||||
# Generate WinCE edition for Solution files
|
||||
#
|
||||
|
|
0
dist/sqliteodbc-0.86/.IGNORE_ME
vendored
Before Width: | Height: | Size: 7.3 KiB |
Before Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 6.2 KiB |
Before Width: | Height: | Size: 7.3 KiB |
Before Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 6.2 KiB |
Before Width: | Height: | Size: 7.3 KiB |
Before Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 6.2 KiB |
|
@ -303,10 +303,10 @@ namespace BerkeleyDB.Internal {
|
|||
internal const uint DB_VERSION_MINOR = 2;
|
||||
internal const string DB_VERSION_MINOR_STR = "2";
|
||||
internal const int DB_VERSION_MISMATCH = -30969;
|
||||
internal const uint DB_VERSION_PATCH = 28;
|
||||
internal const string DB_VERSION_PATCH_STR = "28";
|
||||
internal const string DB_VERSION_STRING = "Berkeley DB 5.2.28: June 10 2011 ";
|
||||
internal const string DB_VERSION_FULL_STRING = "Berkeley DB 11g Release 2 library version 11.2.5.2.28: June 10 2011 ";
|
||||
internal const uint DB_VERSION_PATCH = 36;
|
||||
internal const string DB_VERSION_PATCH_STR = "36";
|
||||
internal const string DB_VERSION_STRING = "Berkeley DB 5.2.36: September 14 2011 ";
|
||||
internal const string DB_VERSION_FULL_STRING = "Berkeley DB 11g Release 2 library version 11.2.5.2.36: September 14 2011 ";
|
||||
internal const uint DB_WRITECURSOR = 0x00000008;
|
||||
internal const uint DB_YIELDCPU = 0x00080000;
|
||||
internal const uint DB_USERCOPY_GETDATA = 0x00000001;
|
||||
|
|
|
@ -29,4 +29,4 @@ using System.Runtime.InteropServices;
|
|||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
[assembly: AssemblyVersion("5.2.28")]
|
||||
[assembly: AssemblyVersion("5.2.36")]
|
||||
|
|
|
@ -8638,10 +8638,14 @@ SWIGEXPORT jobject JNICALL Java_com_sleepycat_db_internal_db_1javaJNI_DbEnv_1loc
|
|||
}
|
||||
|
||||
|
||||
jresult = (*jenv)->NewObject(jenv, lock_stat_class, lock_stat_construct);
|
||||
if (jresult != NULL)
|
||||
__dbj_fill_lock_stat(jenv, jresult, result);
|
||||
__os_ufree(NULL, result);
|
||||
if (result == NULL)
|
||||
jresult = NULL;
|
||||
else {
|
||||
jresult = (*jenv)->NewObject(jenv, lock_stat_class, lock_stat_construct);
|
||||
if (jresult != NULL)
|
||||
__dbj_fill_lock_stat(jenv, jresult, result);
|
||||
__os_ufree(NULL, result);
|
||||
}
|
||||
|
||||
return jresult;
|
||||
}
|
||||
|
@ -9436,10 +9440,14 @@ SWIGEXPORT jobject JNICALL Java_com_sleepycat_db_internal_db_1javaJNI_DbEnv_1log
|
|||
}
|
||||
|
||||
|
||||
jresult = (*jenv)->NewObject(jenv, log_stat_class, log_stat_construct);
|
||||
if (jresult != NULL)
|
||||
__dbj_fill_log_stat(jenv, jresult, result);
|
||||
__os_ufree(NULL, result);
|
||||
if (result == NULL)
|
||||
jresult = NULL;
|
||||
else {
|
||||
jresult = (*jenv)->NewObject(jenv, log_stat_class, log_stat_construct);
|
||||
if (jresult != NULL)
|
||||
__dbj_fill_log_stat(jenv, jresult, result);
|
||||
__os_ufree(NULL, result);
|
||||
}
|
||||
|
||||
return jresult;
|
||||
}
|
||||
|
@ -9923,10 +9931,14 @@ SWIGEXPORT jobject JNICALL Java_com_sleepycat_db_internal_db_1javaJNI_DbEnv_1mem
|
|||
}
|
||||
|
||||
|
||||
jresult = (*jenv)->NewObject(jenv, mpool_stat_class, mpool_stat_construct);
|
||||
if (jresult != NULL)
|
||||
__dbj_fill_mpool_stat(jenv, jresult, result);
|
||||
__os_ufree(NULL, result);
|
||||
if (result == NULL)
|
||||
jresult = NULL;
|
||||
else {
|
||||
jresult = (*jenv)->NewObject(jenv, mpool_stat_class, mpool_stat_construct);
|
||||
if (jresult != NULL)
|
||||
__dbj_fill_mpool_stat(jenv, jresult, result);
|
||||
__os_ufree(NULL, result);
|
||||
}
|
||||
|
||||
return jresult;
|
||||
}
|
||||
|
@ -9958,26 +9970,30 @@ SWIGEXPORT jobjectArray JNICALL Java_com_sleepycat_db_internal_db_1javaJNI_DbEnv
|
|||
{
|
||||
int i, len;
|
||||
|
||||
len = 0;
|
||||
while (result[len] != NULL)
|
||||
len++;
|
||||
jresult = (*jenv)->NewObjectArray(jenv, (jsize)len,
|
||||
mpool_fstat_class, 0);
|
||||
if (jresult == NULL) {
|
||||
__os_ufree(NULL, result);
|
||||
return 0;
|
||||
}
|
||||
for (i = 0; i < len; i++) {
|
||||
jobject obj = (*jenv)->NewObject(jenv, mpool_fstat_class,
|
||||
mpool_fstat_construct);
|
||||
if (obj == NULL) {
|
||||
if (result == NULL)
|
||||
jresult = NULL;
|
||||
else {
|
||||
len = 0;
|
||||
while (result[len] != NULL)
|
||||
len++;
|
||||
jresult = (*jenv)->NewObjectArray(jenv, (jsize)len,
|
||||
mpool_fstat_class, 0);
|
||||
if (jresult == NULL) {
|
||||
__os_ufree(NULL, result);
|
||||
return 0; /* an exception is pending */
|
||||
return 0;
|
||||
}
|
||||
(*jenv)->SetObjectArrayElement(jenv, jresult, i, obj);
|
||||
__dbj_fill_mpool_fstat(jenv, obj, result[i]);
|
||||
for (i = 0; i < len; i++) {
|
||||
jobject obj = (*jenv)->NewObject(jenv, mpool_fstat_class,
|
||||
mpool_fstat_construct);
|
||||
if (obj == NULL) {
|
||||
__os_ufree(NULL, result);
|
||||
return 0; /* an exception is pending */
|
||||
}
|
||||
(*jenv)->SetObjectArrayElement(jenv, jresult, i, obj);
|
||||
__dbj_fill_mpool_fstat(jenv, obj, result[i]);
|
||||
}
|
||||
__os_ufree(NULL, result);
|
||||
}
|
||||
__os_ufree(NULL, result);
|
||||
}
|
||||
return jresult;
|
||||
}
|
||||
|
@ -10328,10 +10344,14 @@ SWIGEXPORT jobject JNICALL Java_com_sleepycat_db_internal_db_1javaJNI_DbEnv_1mut
|
|||
}
|
||||
|
||||
|
||||
jresult = (*jenv)->NewObject(jenv, mutex_stat_class, mutex_stat_construct);
|
||||
if (jresult != NULL)
|
||||
__dbj_fill_mutex_stat(jenv, jresult, result);
|
||||
__os_ufree(NULL, result);
|
||||
if (result == NULL)
|
||||
jresult = NULL;
|
||||
else {
|
||||
jresult = (*jenv)->NewObject(jenv, mutex_stat_class, mutex_stat_construct);
|
||||
if (jresult != NULL)
|
||||
__dbj_fill_mutex_stat(jenv, jresult, result);
|
||||
__os_ufree(NULL, result);
|
||||
}
|
||||
|
||||
return jresult;
|
||||
}
|
||||
|
@ -10549,29 +10569,33 @@ SWIGEXPORT jobjectArray JNICALL Java_com_sleepycat_db_internal_db_1javaJNI_DbEnv
|
|||
{
|
||||
int i, len;
|
||||
|
||||
len = 0;
|
||||
while (result[len].txn != NULL)
|
||||
len++;
|
||||
jresult = (*jenv)->NewObjectArray(jenv, (jsize)len, dbpreplist_class,
|
||||
NULL);
|
||||
if (jresult == NULL)
|
||||
return 0; /* an exception is pending */
|
||||
for (i = 0; i < len; i++) {
|
||||
jobject jtxn = (*jenv)->NewObject(jenv, dbtxn_class,
|
||||
dbtxn_construct, result[i].txn, JNI_FALSE);
|
||||
jobject bytearr = (*jenv)->NewByteArray(jenv,
|
||||
(jsize)sizeof(result[i].gid));
|
||||
jobject obj = (*jenv)->NewObject(jenv, dbpreplist_class,
|
||||
dbpreplist_construct, jtxn, bytearr);
|
||||
|
||||
if (jtxn == NULL || bytearr == NULL || obj == NULL)
|
||||
return 0; /* An exception is pending */
|
||||
|
||||
(*jenv)->SetByteArrayRegion(jenv, bytearr, 0,
|
||||
(jsize)sizeof(result[i].gid), (jbyte *)result[i].gid);
|
||||
(*jenv)->SetObjectArrayElement(jenv, jresult, i, obj);
|
||||
if (result == NULL)
|
||||
jresult = NULL;
|
||||
else {
|
||||
len = 0;
|
||||
while (result[len].txn != NULL)
|
||||
len++;
|
||||
jresult = (*jenv)->NewObjectArray(jenv, (jsize)len, dbpreplist_class,
|
||||
NULL);
|
||||
if (jresult == NULL)
|
||||
return 0; /* an exception is pending */
|
||||
for (i = 0; i < len; i++) {
|
||||
jobject jtxn = (*jenv)->NewObject(jenv, dbtxn_class,
|
||||
dbtxn_construct, result[i].txn, JNI_FALSE);
|
||||
jobject bytearr = (*jenv)->NewByteArray(jenv,
|
||||
(jsize)sizeof(result[i].gid));
|
||||
jobject obj = (*jenv)->NewObject(jenv, dbpreplist_class,
|
||||
dbpreplist_construct, jtxn, bytearr);
|
||||
|
||||
if (jtxn == NULL || bytearr == NULL || obj == NULL)
|
||||
return 0; /* An exception is pending */
|
||||
|
||||
(*jenv)->SetByteArrayRegion(jenv, bytearr, 0,
|
||||
(jsize)sizeof(result[i].gid), (jbyte *)result[i].gid);
|
||||
(*jenv)->SetObjectArrayElement(jenv, jresult, i, obj);
|
||||
}
|
||||
__os_ufree(NULL, result);
|
||||
}
|
||||
__os_ufree(NULL, result);
|
||||
}
|
||||
return jresult;
|
||||
}
|
||||
|
@ -10603,29 +10627,34 @@ SWIGEXPORT jobject JNICALL Java_com_sleepycat_db_internal_db_1javaJNI_DbEnv_1txn
|
|||
{
|
||||
unsigned int i;
|
||||
jobjectArray actives;
|
||||
jresult = (*jenv)->NewObject(jenv, txn_stat_class, txn_stat_construct);
|
||||
if (jresult != NULL)
|
||||
__dbj_fill_txn_stat(jenv, jresult, result);
|
||||
|
||||
actives = (*jenv)->NewObjectArray(jenv, (jsize)result->st_nactive,
|
||||
txn_active_class, 0);
|
||||
if (actives == NULL) {
|
||||
__os_ufree(NULL, result);
|
||||
return 0;
|
||||
}
|
||||
(*jenv)->SetObjectField(jenv, jresult,
|
||||
txn_stat_st_txnarray_fid, actives);
|
||||
for (i = 0; i < result->st_nactive; i++) {
|
||||
jobject obj = (*jenv)->NewObject(jenv, txn_active_class,
|
||||
txn_active_construct);
|
||||
if (obj == NULL) {
|
||||
if (result == NULL)
|
||||
jresult = NULL;
|
||||
else {
|
||||
jresult = (*jenv)->NewObject(jenv, txn_stat_class, txn_stat_construct);
|
||||
if (jresult != NULL)
|
||||
__dbj_fill_txn_stat(jenv, jresult, result);
|
||||
|
||||
actives = (*jenv)->NewObjectArray(jenv, (jsize)result->st_nactive,
|
||||
txn_active_class, 0);
|
||||
if (actives == NULL) {
|
||||
__os_ufree(NULL, result);
|
||||
return 0; /* an exception is pending */
|
||||
return 0;
|
||||
}
|
||||
(*jenv)->SetObjectArrayElement(jenv, actives, (jsize)i, obj);
|
||||
__dbj_fill_txn_active(jenv, obj, &result->st_txnarray[i]);
|
||||
(*jenv)->SetObjectField(jenv, jresult,
|
||||
txn_stat_st_txnarray_fid, actives);
|
||||
for (i = 0; i < result->st_nactive; i++) {
|
||||
jobject obj = (*jenv)->NewObject(jenv, txn_active_class,
|
||||
txn_active_construct);
|
||||
if (obj == NULL) {
|
||||
__os_ufree(NULL, result);
|
||||
return 0; /* an exception is pending */
|
||||
}
|
||||
(*jenv)->SetObjectArrayElement(jenv, actives, (jsize)i, obj);
|
||||
__dbj_fill_txn_active(jenv, obj, &result->st_txnarray[i]);
|
||||
}
|
||||
__os_ufree(NULL, result);
|
||||
}
|
||||
__os_ufree(NULL, result);
|
||||
}
|
||||
return jresult;
|
||||
}
|
||||
|
@ -10984,10 +11013,14 @@ SWIGEXPORT jobject JNICALL Java_com_sleepycat_db_internal_db_1javaJNI_DbEnv_1rep
|
|||
}
|
||||
|
||||
|
||||
jresult = (*jenv)->NewObject(jenv, rep_stat_class, rep_stat_construct);
|
||||
if (jresult != NULL)
|
||||
__dbj_fill_rep_stat(jenv, jresult, result);
|
||||
__os_ufree(NULL, result);
|
||||
if (result == NULL)
|
||||
jresult = NULL;
|
||||
else {
|
||||
jresult = (*jenv)->NewObject(jenv, rep_stat_class, rep_stat_construct);
|
||||
if (jresult != NULL)
|
||||
__dbj_fill_rep_stat(jenv, jresult, result);
|
||||
__os_ufree(NULL, result);
|
||||
}
|
||||
|
||||
return jresult;
|
||||
}
|
||||
|
@ -11583,10 +11616,14 @@ SWIGEXPORT jobject JNICALL Java_com_sleepycat_db_internal_db_1javaJNI_DbEnv_1rep
|
|||
}
|
||||
|
||||
|
||||
jresult = (*jenv)->NewObject(jenv, repmgr_stat_class, repmgr_stat_construct);
|
||||
if (jresult != NULL)
|
||||
__dbj_fill_repmgr_stat(jenv, jresult, result);
|
||||
__os_ufree(NULL, result);
|
||||
if (result == NULL)
|
||||
jresult = NULL;
|
||||
else {
|
||||
jresult = (*jenv)->NewObject(jenv, repmgr_stat_class, repmgr_stat_construct);
|
||||
if (jresult != NULL)
|
||||
__dbj_fill_repmgr_stat(jenv, jresult, result);
|
||||
__os_ufree(NULL, result);
|
||||
}
|
||||
|
||||
return jresult;
|
||||
}
|
||||
|
@ -12390,10 +12427,14 @@ SWIGEXPORT jobject JNICALL Java_com_sleepycat_db_internal_db_1javaJNI_DbSequence
|
|||
}
|
||||
|
||||
|
||||
jresult = (*jenv)->NewObject(jenv, seq_stat_class, seq_stat_construct);
|
||||
if (jresult != NULL)
|
||||
__dbj_fill_seq_stat(jenv, jresult, result);
|
||||
__os_ufree(NULL, result);
|
||||
if (result == NULL)
|
||||
jresult = NULL;
|
||||
else {
|
||||
jresult = (*jenv)->NewObject(jenv, seq_stat_class, seq_stat_construct);
|
||||
if (jresult != NULL)
|
||||
__dbj_fill_seq_stat(jenv, jresult, result);
|
||||
__os_ufree(NULL, result);
|
||||
}
|
||||
|
||||
return jresult;
|
||||
}
|
||||
|
|
|
@ -38,10 +38,14 @@
|
|||
%define JAVA_STAT_CLASS(_ctype, _jtype, _name)
|
||||
JAVA_TYPEMAP(_ctype, _jtype, jobject)
|
||||
%typemap(out) _ctype %{
|
||||
$result = (*jenv)->NewObject(jenv, _name##_class, _name##_construct);
|
||||
if ($result != NULL)
|
||||
__dbj_fill_##_name(jenv, $result, $1);
|
||||
__os_ufree(NULL, $1);
|
||||
if ($1 == NULL)
|
||||
$result = NULL;
|
||||
else {
|
||||
$result = (*jenv)->NewObject(jenv, _name##_class, _name##_construct);
|
||||
if ($result != NULL)
|
||||
__dbj_fill_##_name(jenv, $result, $1);
|
||||
__os_ufree(NULL, $1);
|
||||
}
|
||||
%}
|
||||
%enddef
|
||||
|
||||
|
@ -66,26 +70,30 @@ JAVA_TYPEMAP(DB_MPOOL_FSTAT **, com.sleepycat.db.CacheFileStats[], jobjectArray)
|
|||
%typemap(out) DB_MPOOL_FSTAT ** {
|
||||
int i, len;
|
||||
|
||||
len = 0;
|
||||
while ($1[len] != NULL)
|
||||
len++;
|
||||
$result = (*jenv)->NewObjectArray(jenv, (jsize)len,
|
||||
mpool_fstat_class, 0);
|
||||
if ($result == NULL) {
|
||||
__os_ufree(NULL, $1);
|
||||
return $null;
|
||||
}
|
||||
for (i = 0; i < len; i++) {
|
||||
jobject obj = (*jenv)->NewObject(jenv, mpool_fstat_class,
|
||||
mpool_fstat_construct);
|
||||
if (obj == NULL) {
|
||||
if ($1 == NULL)
|
||||
$result = NULL;
|
||||
else {
|
||||
len = 0;
|
||||
while ($1[len] != NULL)
|
||||
len++;
|
||||
$result = (*jenv)->NewObjectArray(jenv, (jsize)len,
|
||||
mpool_fstat_class, 0);
|
||||
if ($result == NULL) {
|
||||
__os_ufree(NULL, $1);
|
||||
return $null; /* an exception is pending */
|
||||
return $null;
|
||||
}
|
||||
(*jenv)->SetObjectArrayElement(jenv, $result, i, obj);
|
||||
__dbj_fill_mpool_fstat(jenv, obj, $1[i]);
|
||||
for (i = 0; i < len; i++) {
|
||||
jobject obj = (*jenv)->NewObject(jenv, mpool_fstat_class,
|
||||
mpool_fstat_construct);
|
||||
if (obj == NULL) {
|
||||
__os_ufree(NULL, $1);
|
||||
return $null; /* an exception is pending */
|
||||
}
|
||||
(*jenv)->SetObjectArrayElement(jenv, $result, i, obj);
|
||||
__dbj_fill_mpool_fstat(jenv, obj, $1[i]);
|
||||
}
|
||||
__os_ufree(NULL, $1);
|
||||
}
|
||||
__os_ufree(NULL, $1);
|
||||
}
|
||||
|
||||
JAVA_STAT_CLASS(DB_MUTEX_STAT *, com.sleepycat.db.MutexStats, mutex_stat)
|
||||
|
@ -96,29 +104,34 @@ JAVA_TYPEMAP(DB_TXN_STAT *, com.sleepycat.db.TransactionStats, jobject)
|
|||
%typemap(out) DB_TXN_STAT * {
|
||||
unsigned int i;
|
||||
jobjectArray actives;
|
||||
$result = (*jenv)->NewObject(jenv, txn_stat_class, txn_stat_construct);
|
||||
if ($result != NULL)
|
||||
__dbj_fill_txn_stat(jenv, $result, $1);
|
||||
|
||||
if ($1 == NULL)
|
||||
$result = NULL;
|
||||
else {
|
||||
$result = (*jenv)->NewObject(jenv, txn_stat_class, txn_stat_construct);
|
||||
if ($result != NULL)
|
||||
__dbj_fill_txn_stat(jenv, $result, $1);
|
||||
|
||||
actives = (*jenv)->NewObjectArray(jenv, (jsize)$1->st_nactive,
|
||||
txn_active_class, 0);
|
||||
if (actives == NULL) {
|
||||
__os_ufree(NULL, $1);
|
||||
return $null;
|
||||
}
|
||||
(*jenv)->SetObjectField(jenv, $result,
|
||||
txn_stat_st_txnarray_fid, actives);
|
||||
for (i = 0; i < $1->st_nactive; i++) {
|
||||
jobject obj = (*jenv)->NewObject(jenv, txn_active_class,
|
||||
txn_active_construct);
|
||||
if (obj == NULL) {
|
||||
actives = (*jenv)->NewObjectArray(jenv, (jsize)$1->st_nactive,
|
||||
txn_active_class, 0);
|
||||
if (actives == NULL) {
|
||||
__os_ufree(NULL, $1);
|
||||
return $null; /* an exception is pending */
|
||||
return $null;
|
||||
}
|
||||
(*jenv)->SetObjectArrayElement(jenv, actives, (jsize)i, obj);
|
||||
__dbj_fill_txn_active(jenv, obj, &$1->st_txnarray[i]);
|
||||
(*jenv)->SetObjectField(jenv, $result,
|
||||
txn_stat_st_txnarray_fid, actives);
|
||||
for (i = 0; i < $1->st_nactive; i++) {
|
||||
jobject obj = (*jenv)->NewObject(jenv, txn_active_class,
|
||||
txn_active_construct);
|
||||
if (obj == NULL) {
|
||||
__os_ufree(NULL, $1);
|
||||
return $null; /* an exception is pending */
|
||||
}
|
||||
(*jenv)->SetObjectArrayElement(jenv, actives, (jsize)i, obj);
|
||||
__dbj_fill_txn_active(jenv, obj, &$1->st_txnarray[i]);
|
||||
}
|
||||
__os_ufree(NULL, $1);
|
||||
}
|
||||
__os_ufree(NULL, $1);
|
||||
}
|
||||
|
||||
/* Db.stat return - special case */
|
||||
|
|
|
@ -582,29 +582,33 @@ JAVA_TYPEMAP(DB_PREPLIST *, com.sleepycat.db.PreparedTransaction[],
|
|||
%typemap(out) DB_PREPLIST * {
|
||||
int i, len;
|
||||
|
||||
len = 0;
|
||||
while ($1[len].txn != NULL)
|
||||
len++;
|
||||
$result = (*jenv)->NewObjectArray(jenv, (jsize)len, dbpreplist_class,
|
||||
NULL);
|
||||
if ($result == NULL)
|
||||
return $null; /* an exception is pending */
|
||||
for (i = 0; i < len; i++) {
|
||||
jobject jtxn = (*jenv)->NewObject(jenv, dbtxn_class,
|
||||
dbtxn_construct, $1[i].txn, JNI_FALSE);
|
||||
jobject bytearr = (*jenv)->NewByteArray(jenv,
|
||||
(jsize)sizeof($1[i].gid));
|
||||
jobject obj = (*jenv)->NewObject(jenv, dbpreplist_class,
|
||||
dbpreplist_construct, jtxn, bytearr);
|
||||
if ($1 == NULL)
|
||||
$result = NULL;
|
||||
else {
|
||||
len = 0;
|
||||
while ($1[len].txn != NULL)
|
||||
len++;
|
||||
$result = (*jenv)->NewObjectArray(jenv, (jsize)len, dbpreplist_class,
|
||||
NULL);
|
||||
if ($result == NULL)
|
||||
return $null; /* an exception is pending */
|
||||
for (i = 0; i < len; i++) {
|
||||
jobject jtxn = (*jenv)->NewObject(jenv, dbtxn_class,
|
||||
dbtxn_construct, $1[i].txn, JNI_FALSE);
|
||||
jobject bytearr = (*jenv)->NewByteArray(jenv,
|
||||
(jsize)sizeof($1[i].gid));
|
||||
jobject obj = (*jenv)->NewObject(jenv, dbpreplist_class,
|
||||
dbpreplist_construct, jtxn, bytearr);
|
||||
|
||||
if (jtxn == NULL || bytearr == NULL || obj == NULL)
|
||||
return $null; /* An exception is pending */
|
||||
|
||||
if (jtxn == NULL || bytearr == NULL || obj == NULL)
|
||||
return $null; /* An exception is pending */
|
||||
|
||||
(*jenv)->SetByteArrayRegion(jenv, bytearr, 0,
|
||||
(jsize)sizeof($1[i].gid), (jbyte *)$1[i].gid);
|
||||
(*jenv)->SetObjectArrayElement(jenv, $result, i, obj);
|
||||
(*jenv)->SetByteArrayRegion(jenv, bytearr, 0,
|
||||
(jsize)sizeof($1[i].gid), (jbyte *)$1[i].gid);
|
||||
(*jenv)->SetObjectArrayElement(jenv, $result, i, obj);
|
||||
}
|
||||
__os_ufree(NULL, $1);
|
||||
}
|
||||
__os_ufree(NULL, $1);
|
||||
}
|
||||
|
||||
JAVA_TYPEMAP(DB_LOCKREQ *, com.sleepycat.db.LockRequest[], jobjectArray)
|
||||
|
|
|
@ -1867,5 +1867,5 @@ The release patch number.
|
|||
{@link com.sleepycat.db.Environment#openChannel Environment.openChannel}
|
||||
to create channel to send messages only to the master site.
|
||||
*/
|
||||
int EID_MASTER = DbConstants.DB_EID_MASTER;
|
||||
public static final int EID_MASTER = DbConstants.DB_EID_MASTER;
|
||||
}
|
||||
|
|
|
@ -248,7 +248,7 @@ public interface DbConstants
|
|||
int DB_VERIFY = 0x00000002;
|
||||
int DB_VERSION_MAJOR = 5;
|
||||
int DB_VERSION_MINOR = 2;
|
||||
int DB_VERSION_PATCH = 28;
|
||||
int DB_VERSION_PATCH = 36;
|
||||
int DB_WRITECURSOR = 0x00000008;
|
||||
int DB_YIELDCPU = 0x00080000;
|
||||
}
|
||||
|
|
|
@ -259,6 +259,8 @@ err: if (p != 0) {
|
|||
sqlite3_free(p->destName);
|
||||
if (p->fullName != 0)
|
||||
sqlite3_free(p->fullName);
|
||||
if (p->tables != 0)
|
||||
sqlite3_free(p->tables);
|
||||
sqlite3_free(p);
|
||||
p = NULL;
|
||||
}
|
||||
|
@ -502,10 +504,13 @@ static int backupCleanup(sqlite3_backup *p)
|
|||
SQLITE_DEFAULT_CACHE_SIZE | SQLITE_OPEN_MAIN_DB,
|
||||
p->pDestDb->openFlags);
|
||||
p->pDestDb->aDb[p->iDb].pBt = p->pDest;
|
||||
p->pDestDb->aDb[p->iDb].pSchema =
|
||||
sqlite3SchemaGet(p->pDestDb, p->pDest);
|
||||
if (!p->pDestDb->aDb[p->iDb].pSchema)
|
||||
p->rc = SQLITE_NOMEM;
|
||||
if (rc == SQLITE_OK) {
|
||||
p->pDestDb->aDb[p->iDb].pSchema =
|
||||
sqlite3SchemaGet(p->pDestDb, p->pDest);
|
||||
if (!p->pDestDb->aDb[p->iDb].pSchema)
|
||||
p->rc = SQLITE_NOMEM;
|
||||
} else
|
||||
p->pDestDb->aDb[p->iDb].pSchema = NULL;
|
||||
if (rc == SQLITE_OK)
|
||||
p->pDest->pBt->db_oflags |= DB_CREATE;
|
||||
/*
|
||||
|
|
|
@ -95,7 +95,9 @@ static int btreeCreateDataTable(Btree *, int, CACHED_DB **);
|
|||
static int btreeCreateSharedBtree(
|
||||
Btree *, const char *, u_int8_t *, sqlite3 *, int, storage_mode_t);
|
||||
static int btreeCreateTable(Btree *p, int *piTable, int flags);
|
||||
static int btreeDbHandleIsLocked(Btree *p, CACHED_DB *cached_db);
|
||||
static void btreeHandleDbError(
|
||||
const DB_ENV *dbenv, const char *errpfx, const char *msg);
|
||||
static int btreeDbHandleIsLocked(CACHED_DB *cached_db);
|
||||
static int btreeDbHandleLock(Btree *p, CACHED_DB *cached_db);
|
||||
static int btreeDbHandleUnlock(Btree *p, CACHED_DB *cached_db);
|
||||
static int btreeDecompressInt(const u_int8_t *buf, u_int64_t *i);
|
||||
|
@ -103,6 +105,7 @@ static int btreeFindOrCreateDataTable(Btree *, int *, CACHED_DB **, int);
|
|||
static void btreeFreeSharedBtree(BtShared *p, int clear_cache);
|
||||
static int btreeGetSharedBtree(
|
||||
BtShared **, u_int8_t *, sqlite3 *, storage_mode_t, int);
|
||||
static int btreeInvalidateHandleCache(Btree *p);
|
||||
static int btreeLoadBufferIntoTable(BtCursor *pCur);
|
||||
static int btreeMoveto(BtCursor *pCur,
|
||||
const void *pKey, i64 nKey, int bias, int *pRes);
|
||||
|
@ -229,6 +232,9 @@ u_int32_t g_uid_next = 0;
|
|||
if (ret == DB_LOCK_DEADLOCK && pCur->isIncrblobHandle) {\
|
||||
if (!pCur->wrFlag) \
|
||||
pCur->pBtree->read_txn = NULL; \
|
||||
if (pCur->txn == pCur->pBtree->savepoint_txn) \
|
||||
pCur->pBtree->savepoint_txn = \
|
||||
pCur->pBtree->savepoint_txn->parent;\
|
||||
pCur->txn->abort(pCur->txn); \
|
||||
pCur->txn = NULL; \
|
||||
return SQLITE_LOCKED; \
|
||||
|
@ -341,6 +347,55 @@ int closeDB(Btree *p, DB *dbp, u_int32_t flags)
|
|||
return ret;
|
||||
}
|
||||
|
||||
int btreeGetErrorFile(const BtShared *pBt, char *fname) {
|
||||
int set;
|
||||
|
||||
set = 0;
|
||||
if (pBt != NULL) {
|
||||
sqlite3_mutex_enter(pBt->mutex);
|
||||
if (pBt->err_file != NULL) {
|
||||
sqlite3_snprintf(BT_MAX_PATH, fname,
|
||||
"%s", pBt->err_file);
|
||||
set = 1;
|
||||
}
|
||||
sqlite3_mutex_leave(pBt->mutex);
|
||||
}
|
||||
if (set == 0)
|
||||
return SQLITE_ERROR;
|
||||
return (0);
|
||||
}
|
||||
|
||||
static void btreeHandleDbError(
|
||||
const DB_ENV *dbenv,
|
||||
const char *errpfx,
|
||||
const char *msg
|
||||
) {
|
||||
BtShared *pBt;
|
||||
FILE *fp;
|
||||
char fname[BT_MAX_PATH];
|
||||
|
||||
pBt = (BtShared *)dbenv->app_private;
|
||||
|
||||
/* Filter out harmless error messages. */
|
||||
if (strncmp(msg, "rename: database o", 18) == 0)
|
||||
return;
|
||||
|
||||
/*
|
||||
* If error_file is set, flush the error to the error file. Else flush
|
||||
* the error msg to stderr.
|
||||
*/
|
||||
if (btreeGetErrorFile(pBt, fname) == 0)
|
||||
fp = fopen(fname, "a");
|
||||
else
|
||||
fp = stderr;
|
||||
|
||||
fprintf(fp, "%s:%s\n", errpfx, msg);
|
||||
if (fp != stderr) {
|
||||
fflush(fp);
|
||||
fclose(fp);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Used in cases where SQLITE_LOCKED should be returned instead of
|
||||
* SQLITE_BUSY.
|
||||
|
@ -563,7 +618,7 @@ int btreeOpenMetaTables(Btree *p, int *pCreating)
|
|||
ret = db_env_create(&tmp_env, 0);
|
||||
if (ret != 0)
|
||||
goto err;
|
||||
tmp_env->set_errfile(tmp_env, NULL);
|
||||
tmp_env->set_errcall(tmp_env, NULL);
|
||||
if (pBt->encrypted) {
|
||||
ret = tmp_env->set_encrypt(tmp_env,
|
||||
pBt->encrypt_pwd, DB_ENCRYPT_AES);
|
||||
|
@ -868,10 +923,8 @@ static void btreeFreeSharedBtree(BtShared *p, int clear_cache)
|
|||
sqlite3_free(p->full_name);
|
||||
if (p->orig_name != NULL)
|
||||
sqlite3_free(p->orig_name);
|
||||
if (p->errfile_name != NULL)
|
||||
sqlite3_free(p->errfile_name);
|
||||
if (p->errfile != NULL)
|
||||
fclose(p->errfile);
|
||||
if (p->err_file != NULL)
|
||||
sqlite3_free(p->err_file);
|
||||
|
||||
sqlite3_free(p);
|
||||
}
|
||||
|
@ -1310,6 +1363,8 @@ static int btreePrepareEnvironment(Btree *p)
|
|||
if ((ret = db_env_create(&pDbEnv, 0)) != 0)
|
||||
goto err;
|
||||
pDbEnv->set_errpfx(pDbEnv, pBt->full_name);
|
||||
pDbEnv->app_private = pBt;
|
||||
pDbEnv->set_errcall(pDbEnv, btreeHandleDbError);
|
||||
#ifndef BDBSQL_SINGLE_THREAD
|
||||
pDbEnv->set_flags(pDbEnv, DB_DATABASE_LOCKING, 1);
|
||||
pDbEnv->set_lk_detect(pDbEnv, DB_LOCK_DEFAULT);
|
||||
|
@ -1364,6 +1419,8 @@ static int btreePrepareEnvironment(Btree *p)
|
|||
if ((ret = db_env_create(&pDbEnv, 0)) != 0)
|
||||
goto err;
|
||||
pDbEnv->set_errpfx(pDbEnv, "<temp>");
|
||||
pDbEnv->app_private = pBt;
|
||||
pDbEnv->set_errcall(pDbEnv, btreeHandleDbError);
|
||||
pBt->env_oflags |= DB_CREATE | DB_INIT_TXN | DB_PRIVATE;
|
||||
|
||||
/*
|
||||
|
@ -1539,8 +1596,7 @@ int btreeOpenEnvironment(Btree *p, int needLock)
|
|||
(ret = pDbEnv->set_mp_pagesize(pDbEnv, pBt->pageSize)) != 0)
|
||||
goto err;
|
||||
pDbEnv->set_mp_mmapsize(pDbEnv, 0);
|
||||
if (!pBt->errfile)
|
||||
pDbEnv->set_errfile(pDbEnv, stderr);
|
||||
pDbEnv->set_errcall(pDbEnv, btreeHandleDbError);
|
||||
if (pBt->dir_name != NULL) {
|
||||
createdDir =
|
||||
(__os_mkdir(NULL, pBt->dir_name, 0777) == 0);
|
||||
|
@ -1928,7 +1984,7 @@ int sqlite3BtreeOpen(
|
|||
int flags, /* Options */
|
||||
int vfsFlags) /* Flags passed through to VFS open */
|
||||
{
|
||||
Btree *p;
|
||||
Btree *p, *next_btree;
|
||||
BtShared *pBt, *next_bt;
|
||||
int rc;
|
||||
sqlite3_mutex *mutexOpen;
|
||||
|
@ -2043,6 +2099,21 @@ int sqlite3BtreeOpen(
|
|||
}
|
||||
}
|
||||
|
||||
/* Add this Btree object to the list of Btrees seen by the BtShared */
|
||||
for (next_btree = pBt->btrees; next_btree != NULL;
|
||||
next_btree = next_btree->pNext) {
|
||||
if (next_btree == p)
|
||||
break;
|
||||
}
|
||||
if (next_btree == NULL) {
|
||||
if (pBt->btrees == NULL)
|
||||
pBt->btrees = p;
|
||||
else {
|
||||
p->pNext = pBt->btrees;
|
||||
pBt->btrees->pPrev = p;
|
||||
pBt->btrees = p;
|
||||
}
|
||||
}
|
||||
p->readonly = (p->vfsFlags & SQLITE_OPEN_READONLY) ? 1 : 0;
|
||||
*ppBtree = p;
|
||||
|
||||
|
@ -2245,6 +2316,7 @@ static int btreeCleanupCachedHandles(Btree *p, cleanup_mode_t cleanup)
|
|||
*/
|
||||
int sqlite3BtreeClose(Btree *p)
|
||||
{
|
||||
Btree *next_btree;
|
||||
BtShared *pBt;
|
||||
int ret, rc, t_rc, t_ret;
|
||||
sqlite3_mutex *mutexOpen;
|
||||
|
@ -2295,6 +2367,7 @@ int sqlite3BtreeClose(Btree *p)
|
|||
ret = pFamilyTxn->commit(pFamilyTxn, 0);
|
||||
pFamilyTxn = NULL;
|
||||
p->inTrans = TRANS_NONE;
|
||||
p->txn_excl = 0;
|
||||
if (ret != 0 && rc == SQLITE_OK)
|
||||
rc = dberr2sqlite(ret);
|
||||
}
|
||||
|
@ -2324,7 +2397,24 @@ int sqlite3BtreeClose(Btree *p)
|
|||
mutexOpen = sqlite3MutexAlloc(OPEN_MUTEX(pBt->dbStorage));
|
||||
sqlite3_mutex_enter(mutexOpen);
|
||||
|
||||
/* Remove this pBt from the BtShared list of btrees. */
|
||||
for (next_btree = pBt->btrees; next_btree != NULL;
|
||||
next_btree = next_btree->pNext) {
|
||||
if (next_btree == p) {
|
||||
if (next_btree == pBt->btrees) {
|
||||
pBt->btrees = next_btree->pNext;
|
||||
if (pBt->btrees != NULL)
|
||||
pBt->btrees->pPrev = NULL;
|
||||
} else {
|
||||
p->pPrev->pNext = p->pNext;
|
||||
if (p->pNext != NULL)
|
||||
p->pNext->pPrev = p->pPrev;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (--pBt->nRef == 0) {
|
||||
assert (pBt->btrees == NULL);
|
||||
if (pBt->dbStorage == DB_STORE_NAMED) {
|
||||
/* Remove it from the linked list of shared envs. */
|
||||
assert(pBt == g_shared_btrees || pBt->pPrevDb != NULL);
|
||||
|
@ -2373,7 +2463,7 @@ int sqlite3BtreeClose(Btree *p)
|
|||
}
|
||||
#ifdef BDBSQL_SHARE_PRIVATE
|
||||
/* don't flush the cache; checkpoint has been done */
|
||||
pDbEnv->set_errfile(pDbEnv, NULL);
|
||||
pDbEnv->set_errcall(pDbEnv, NULL);
|
||||
pDbEnv->set_flags(pDbEnv, DB_NOFLUSH, 1);
|
||||
#endif
|
||||
if ((t_ret = pDbEnv->close(pDbEnv, 0)) != 0 && ret == 0)
|
||||
|
@ -2453,6 +2543,106 @@ int sqlite3BtreeSetSafetyLevel(
|
|||
return SQLITE_OK;
|
||||
}
|
||||
|
||||
/*
|
||||
* If the schema version has changed since the last transaction we need to
|
||||
* close all handles in the handle cache that aren't holding a handle lock.
|
||||
* Ideally we could do this via the sqlite3ResetInternalSchema method
|
||||
* but there is no obvious hook there, and.. since we do the GET_LOCKS
|
||||
* call here, we need to close handles now or we can't tell if they need to be
|
||||
* closed.
|
||||
* TODO: We'll probably be best altering the sqlite code to make this work
|
||||
* more efficiently.
|
||||
*/
|
||||
static int btreeInvalidateHandleCache(Btree *p) {
|
||||
BtShared *pBt;
|
||||
int cookie, i, rc, ret;
|
||||
CACHED_DB *cached_db, **tables_to_close;
|
||||
DB *dbp;
|
||||
HashElem *e, *e_next;
|
||||
u_int32_t flags;
|
||||
|
||||
rc = ret = 0;
|
||||
pBt = p->pBt;
|
||||
|
||||
if (p->inTrans == TRANS_NONE && p->db != NULL && p->db->aDb != NULL) {
|
||||
sqlite3BtreeGetMeta(p, BTREE_SCHEMA_VERSION, (u32 *)&cookie);
|
||||
if (p->db->aDb[0].pSchema != NULL &&
|
||||
p->db->aDb[0].pSchema->schema_cookie != cookie) {
|
||||
/*
|
||||
* TODO: Is it possible that this function is called
|
||||
* while already holding the mutex? Maybe from the
|
||||
* sequence code.
|
||||
*/
|
||||
sqlite3_mutex_enter(pBt->mutex);
|
||||
/*
|
||||
* We can't call DB->close while holding the mutex, so
|
||||
* record which handles we want to close and do the
|
||||
* actual close after the mutex is released.
|
||||
*/
|
||||
for (e = sqliteHashFirst(&pBt->db_cache), i = 0;
|
||||
e != NULL; e = sqliteHashNext(e), i++) {}
|
||||
|
||||
if (i == 0) {
|
||||
sqlite3_mutex_leave(pBt->mutex);
|
||||
return (0);
|
||||
}
|
||||
|
||||
tables_to_close =
|
||||
sqlite3_malloc(i * sizeof(CACHED_DB *));
|
||||
if (tables_to_close == NULL) {
|
||||
sqlite3_mutex_leave(pBt->mutex);
|
||||
return SQLITE_NOMEM;
|
||||
}
|
||||
memset(tables_to_close, 0, i * sizeof(CACHED_DB *));
|
||||
/*
|
||||
* Ideally we'd be able to find out if the Berkeley DB
|
||||
* fileid is still valid, but that's not currently
|
||||
* simple, so close all handles.
|
||||
*/
|
||||
for (e = sqliteHashFirst(&pBt->db_cache), i = 0;
|
||||
e != NULL; e = e_next) {
|
||||
e_next = sqliteHashNext(e);
|
||||
cached_db = sqliteHashData(e);
|
||||
|
||||
/* Skip table name db and in memory tables. */
|
||||
if (cached_db == NULL ||
|
||||
strcmp(cached_db->key, "1") == 0 ||
|
||||
cached_db->dbp == NULL)
|
||||
continue;
|
||||
dbp = cached_db->dbp;
|
||||
dbp->dbenv->get_open_flags(dbp->dbenv, &flags);
|
||||
if (flags & DB_PRIVATE)
|
||||
continue;
|
||||
if (btreeDbHandleIsLocked(cached_db))
|
||||
continue;
|
||||
tables_to_close[i++] = cached_db;
|
||||
sqlite3HashInsert(&pBt->db_cache,
|
||||
cached_db->key,
|
||||
(int)strlen(cached_db->key), NULL);
|
||||
}
|
||||
sqlite3_mutex_leave(pBt->mutex);
|
||||
for (i = 0; tables_to_close[i] != NULL; i++) {
|
||||
cached_db = tables_to_close[i];
|
||||
dbp = cached_db->dbp;
|
||||
#ifndef BDBSQL_SINGLE_THREAD
|
||||
if (dbp->app_private != NULL)
|
||||
sqlite3_free(dbp->app_private);
|
||||
#endif
|
||||
if ((ret = closeDB(p, dbp, DB_NOSYNC)) == 0 &&
|
||||
rc == SQLITE_OK)
|
||||
rc = dberr2sqlite(ret);
|
||||
if (cached_db->cookie != NULL)
|
||||
sqlite3_free(cached_db->cookie);
|
||||
sqlite3_free(cached_db);
|
||||
}
|
||||
sqlite3_free(tables_to_close);
|
||||
if (rc != 0)
|
||||
return (rc);
|
||||
}
|
||||
}
|
||||
return (0);
|
||||
}
|
||||
|
||||
/*
|
||||
** Attempt to start a new transaction. A write-transaction is started if the
|
||||
** second argument is true, otherwise a read-transaction. No-op if a
|
||||
|
@ -2508,6 +2698,10 @@ int sqlite3BtreeBeginTrans(Btree *p, int wrflag)
|
|||
/* The btreeOpenEnvironment call might have updated pBt. */
|
||||
pBt = p->pBt;
|
||||
}
|
||||
|
||||
if ((rc = btreeInvalidateHandleCache(p)) != 0)
|
||||
return (rc);
|
||||
|
||||
btreeCleanupCachedHandles(p, CLEANUP_GET_LOCKS);
|
||||
if (wrflag == 2)
|
||||
p->txn_excl = 1;
|
||||
|
@ -2603,12 +2797,13 @@ int sqlite3BtreeCommitPhaseOne(Btree *p, const char *zMaster)
|
|||
*/
|
||||
int sqlite3BtreeCommitPhaseTwo(Btree *p, int bCleanup)
|
||||
{
|
||||
Btree *next_btree;
|
||||
BtShared *pBt;
|
||||
DELETED_TABLE *dtable, *next;
|
||||
char *tableName, tableNameBuf[DBNAME_SIZE];
|
||||
char *oldTableName, oldTableNameBuf[DBNAME_SIZE], *fileName;
|
||||
int needVacuum, rc, ret, t_rc;
|
||||
int removeFlags;
|
||||
int in_trans, removeFlags;
|
||||
u_int32_t defaultTxnPriority;
|
||||
#ifdef BDBSQL_SHARE_PRIVATE
|
||||
int deleted = 0; /* indicates tables were deleted */
|
||||
|
@ -2737,8 +2932,23 @@ next: if (ret != 0 && rc == SQLITE_OK)
|
|||
(t_rc = btreeLockSchema(p, LOCKMODE_NONE)) != SQLITE_OK &&
|
||||
rc == SQLITE_OK)
|
||||
rc = t_rc;
|
||||
|
||||
/*
|
||||
* Only release the handle locks if no transactions are active
|
||||
* in any Btree.
|
||||
*/
|
||||
in_trans = 0;
|
||||
for (next_btree = pBt->btrees; next_btree != NULL;
|
||||
next_btree = next_btree->pNext) {
|
||||
if (next_btree->inTrans != TRANS_NONE) {
|
||||
in_trans = 1;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
/* Drop any handle locks if this was the only active txn. */
|
||||
btreeCleanupCachedHandles(p, CLEANUP_DROP_LOCKS);
|
||||
if (in_trans == 0)
|
||||
btreeCleanupCachedHandles(p, CLEANUP_DROP_LOCKS);
|
||||
}
|
||||
|
||||
if (needVacuum && rc == SQLITE_OK)
|
||||
|
@ -3575,8 +3785,8 @@ static int btreeCloseCursor(BtCursor *pCur, int listRemove)
|
|||
}
|
||||
|
||||
/* Incrblob write cursors have their own dedicated transactions. */
|
||||
if (pCur->isIncrblobHandle &&
|
||||
pCur->txn && pCur->wrFlag && pSavepointTxn) {
|
||||
if (pCur->isIncrblobHandle && pCur->txn && pCur->wrFlag &&
|
||||
pSavepointTxn && pCur->txn != pSavepointTxn) {
|
||||
ret = pCur->txn->commit(pCur->txn, DB_TXN_NOSYNC);
|
||||
pCur->txn = 0;
|
||||
}
|
||||
|
@ -6464,6 +6674,7 @@ int sqlite3BtreeSavepoint(Btree *p, int op, int iSavepoint)
|
|||
pMainTxn = pReadTxn = pSavepointTxn = NULL;
|
||||
p->nSavepoint = 0;
|
||||
p->inTrans = TRANS_NONE;
|
||||
p->txn_excl = 0;
|
||||
/* pReadTxn is only NULL if the read txn is being aborted */
|
||||
} else if (p->inTrans == TRANS_WRITE && pReadTxn)
|
||||
pSavepointTxn = txn->parent;
|
||||
|
@ -6523,6 +6734,7 @@ int btreeGetUserTable(Btree *p, DB_TXN *pTxn, DB **pDb, int iTable)
|
|||
BtShared *pBt;
|
||||
DB *dbp;
|
||||
KeyInfo *keyInfo;
|
||||
void *app;
|
||||
|
||||
rc = SQLITE_OK;
|
||||
pBt = p->pBt;
|
||||
|
@ -6570,7 +6782,11 @@ int btreeGetUserTable(Btree *p, DB_TXN *pTxn, DB **pDb, int iTable)
|
|||
*pDb = dbp;
|
||||
return rc;
|
||||
|
||||
err: dbp->close(dbp, 0);
|
||||
err: app = dbp->app_private;
|
||||
dbp->app_private = NULL;
|
||||
dbp->close(dbp, 0);
|
||||
if (app)
|
||||
sqlite3DbFree(p->db, app);
|
||||
return MAP_ERR(rc, ret);
|
||||
}
|
||||
|
||||
|
@ -6795,7 +7011,7 @@ static int btreeDbHandleLock(Btree *p, CACHED_DB *cached_db)
|
|||
ret = 0;
|
||||
dbp = cached_db->dbp;
|
||||
|
||||
if (btreeDbHandleIsLocked(p, cached_db))
|
||||
if (btreeDbHandleIsLocked(cached_db))
|
||||
return (0);
|
||||
|
||||
/* Ensure we're going to ask for a reasonable lock. */
|
||||
|
@ -6826,14 +7042,14 @@ static int btreeDbHandleUnlock(Btree *p, CACHED_DB *cached_db)
|
|||
BtShared *pBt;
|
||||
|
||||
pBt = p->pBt;
|
||||
if (!btreeDbHandleIsLocked(p, cached_db))
|
||||
if (!btreeDbHandleIsLocked(cached_db))
|
||||
return (0);
|
||||
|
||||
cached_db->lock_mode = cached_db->dbp->handle_lock.mode;
|
||||
return (pDbEnv->lock_put(pDbEnv, &cached_db->dbp->handle_lock));
|
||||
}
|
||||
|
||||
static int btreeDbHandleIsLocked(Btree *p, CACHED_DB *cached_db)
|
||||
static int btreeDbHandleIsLocked(CACHED_DB *cached_db)
|
||||
{
|
||||
#define LOCK_INVALID 0
|
||||
return (cached_db->dbp->handle_lock.off != LOCK_INVALID);
|
||||
|
@ -7295,7 +7511,8 @@ static int openPrivateEnvironment(Btree *p, int startFamily)
|
|||
goto err;
|
||||
pDbEnv->set_mp_mmapsize(pDbEnv, 0);
|
||||
pDbEnv->set_mp_mtxcount(pDbEnv, pBt->mp_mutex_count);
|
||||
pDbEnv->set_errfile(pDbEnv, stderr);
|
||||
pDbEnv->app_private = pBt;
|
||||
pDbEnv->set_errcall(pDbEnv, btreeHandleDbError);
|
||||
|
||||
ret = pDbEnv->open(pDbEnv, pBt->dir_name, pBt->env_oflags, 0);
|
||||
/* There is no acceptable failure for this reopen. */
|
||||
|
@ -7404,11 +7621,11 @@ static int btreeReopenPrivateEnvironment(Btree *p)
|
|||
pBt->meta[idx].cached = 0;
|
||||
/*
|
||||
* close environment:
|
||||
* - set the error file to nothing to quiet any errors
|
||||
* - set the error call to nothing to quiet any errors
|
||||
* - set DB_NOFLUSH to prevent the cache from flushing
|
||||
* - ignore a DB_RUNRECOVERY error
|
||||
*/
|
||||
pDbEnv->set_errfile(pDbEnv, NULL);
|
||||
pDbEnv->set_errcall(pDbEnv, NULL);
|
||||
pDbEnv->set_flags(pDbEnv, DB_NOFLUSH, 1);
|
||||
if ((t_ret = pDbEnv->close(pDbEnv, 0)) != 0 && ret == 0) {
|
||||
if (t_ret != DB_RUNRECOVERY) /* ignore runrecovery */
|
||||
|
|
|
@ -157,6 +157,7 @@ typedef enum { NO_LSN_RESET, LSN_RESET_FILE } lsn_reset_t;
|
|||
|
||||
/* Declarations for functions that are shared by adapter source files. */
|
||||
void *btreeCreateIndexKey(BtCursor *pCur);
|
||||
int btreeGetErrorFile(const BtShared *pBt, char *fname);
|
||||
Index *btreeGetIndex(Btree *p, int iTable);
|
||||
int btreeGetPageCount(Btree *p, int **tables, u32 *pageCount, DB_TXN *txn);
|
||||
int btreeGetUserTable(Btree *p, DB_TXN *pTxn, DB **pDb, int iTable);
|
||||
|
@ -226,10 +227,9 @@ struct BtShared {
|
|||
char *full_name;
|
||||
char *short_name; /* A pointer into orig_name memory. */
|
||||
char *orig_name;
|
||||
char *errfile_name;
|
||||
char *err_file;
|
||||
u_int8_t fileid[DB_FILE_ID_LEN];
|
||||
char *encrypt_pwd;
|
||||
FILE *errfile;
|
||||
lsn_reset_t lsn_reset;
|
||||
storage_mode_t dbStorage;
|
||||
u_int32_t env_oflags;
|
||||
|
@ -281,6 +281,7 @@ struct BtShared {
|
|||
/* Fields used to maintain the linked list of shared objects. */
|
||||
BtShared *pNextDb;
|
||||
BtShared *pPrevDb;
|
||||
Btree *btrees; /* A linked list of btrees that have been opened in this BtShared. */
|
||||
int nRef;
|
||||
int readonly;
|
||||
int repStartMaster; /* Start replication site as initial master? */
|
||||
|
|
|
@ -693,55 +693,44 @@ int bdbsqlPragma(Parse *pParse, char *zLeft, char *zRight, int iDb)
|
|||
* current setting.
|
||||
*/
|
||||
} else if (sqlite3StrNICmp(zLeft, "bdbsql_error_file", 17) == 0) {
|
||||
DB_ENV *dbenv;
|
||||
char *errfile_name;
|
||||
char filename[BT_MAX_PATH];
|
||||
char *err_file;
|
||||
|
||||
btreeUpdateBtShared(pDb->pBt, 1);
|
||||
dbenv = pDb->pBt->pBt->dbenv;
|
||||
errfile_name = NULL;
|
||||
err_file = NULL;
|
||||
|
||||
if (zRight) {
|
||||
FILE *errfile, *old_errfile;
|
||||
|
||||
errfile = fopen(zRight, "a+");
|
||||
old_errfile = NULL;
|
||||
|
||||
if (errfile == NULL)
|
||||
FILE *tmpfile;
|
||||
tmpfile = fopen(zRight, "a");
|
||||
if (tmpfile == NULL)
|
||||
sqlite3ErrorMsg(pParse,
|
||||
"Can't open error file %s", zRight);
|
||||
"Can't open error file %s", zRight);
|
||||
else {
|
||||
fclose(tmpfile);
|
||||
sqlite3_mutex_enter(pBt->pBt->mutex);
|
||||
old_errfile = pBt->pBt->errfile;
|
||||
pBt->pBt->errfile = errfile;
|
||||
dbenv->set_errfile(dbenv, errfile);
|
||||
sqlite3_free(pBt->pBt->errfile_name);
|
||||
pBt->pBt->errfile_name =
|
||||
sqlite3DbStrDup(0, zRight);
|
||||
sqlite3_free(pBt->pBt->err_file);
|
||||
pBt->pBt->err_file =
|
||||
sqlite3_mprintf("%s", zRight);
|
||||
sqlite3_mutex_leave(pBt->pBt->mutex);
|
||||
|
||||
if (old_errfile)
|
||||
fclose(old_errfile);
|
||||
errfile_name = zRight;
|
||||
err_file = zRight;
|
||||
}
|
||||
}
|
||||
|
||||
if (errfile_name == NULL) {
|
||||
sqlite3_mutex_enter(pBt->pBt->mutex);
|
||||
errfile_name =
|
||||
sqlite3DbStrDup(0, pBt->pBt->errfile_name);
|
||||
sqlite3_mutex_leave(pBt->pBt->mutex);
|
||||
if (!errfile_name)
|
||||
errfile_name = sqlite3DbStrDup(0, "Default");
|
||||
if (err_file == NULL) {
|
||||
err_file = filename;
|
||||
if (btreeGetErrorFile(pDb->pBt->pBt, err_file) != 0)
|
||||
err_file = "stderr";
|
||||
}
|
||||
|
||||
sqlite3VdbeSetNumCols(pParse->pVdbe, 1);
|
||||
sqlite3VdbeSetColName(pParse->pVdbe, 0, COLNAME_NAME,
|
||||
zLeft, SQLITE_STATIC);
|
||||
sqlite3VdbeAddOp4(pParse->pVdbe, OP_String8, 0, 1, 0,
|
||||
errfile_name, 0);
|
||||
if (err_file)
|
||||
sqlite3VdbeAddOp4(pParse->pVdbe, OP_String8, 0, 1, 0,
|
||||
err_file, 0);
|
||||
else
|
||||
sqlite3VdbeAddOp4(pParse->pVdbe, OP_String8, 0, 1, 0,
|
||||
"NULL", 0);
|
||||
sqlite3VdbeAddOp2(pParse->pVdbe, OP_ResultRow, 1, 1);
|
||||
if (errfile_name != zRight)
|
||||
sqlite3_free(errfile_name);
|
||||
parsed = 1;
|
||||
}
|
||||
/* Return semantics to match strcmp. */
|
||||
|
|
|
@ -34605,6 +34605,7 @@ typedef enum { NO_LSN_RESET, LSN_RESET_FILE } lsn_reset_t;
|
|||
|
||||
/* Declarations for functions that are shared by adapter source files. */
|
||||
void *btreeCreateIndexKey(BtCursor *pCur);
|
||||
int btreeGetErrorFile(const BtShared *pBt, char *fname);
|
||||
Index *btreeGetIndex(Btree *p, int iTable);
|
||||
int btreeGetPageCount(Btree *p, int **tables, u32 *pageCount, DB_TXN *txn);
|
||||
int btreeGetUserTable(Btree *p, DB_TXN *pTxn, DB **pDb, int iTable);
|
||||
|
@ -34674,10 +34675,9 @@ struct BtShared {
|
|||
char *full_name;
|
||||
char *short_name; /* A pointer into orig_name memory. */
|
||||
char *orig_name;
|
||||
char *errfile_name;
|
||||
char *err_file;
|
||||
u_int8_t fileid[DB_FILE_ID_LEN];
|
||||
char *encrypt_pwd;
|
||||
FILE *errfile;
|
||||
lsn_reset_t lsn_reset;
|
||||
storage_mode_t dbStorage;
|
||||
u_int32_t env_oflags;
|
||||
|
@ -34729,6 +34729,7 @@ struct BtShared {
|
|||
/* Fields used to maintain the linked list of shared objects. */
|
||||
BtShared *pNextDb;
|
||||
BtShared *pPrevDb;
|
||||
Btree *btrees; /* A linked list of btrees that have been opened in this BtShared. */
|
||||
int nRef;
|
||||
int readonly;
|
||||
int repStartMaster; /* Start replication site as initial master? */
|
||||
|
@ -35257,7 +35258,9 @@ static int btreeCreateDataTable(Btree *, int, CACHED_DB **);
|
|||
static int btreeCreateSharedBtree(
|
||||
Btree *, const char *, u_int8_t *, sqlite3 *, int, storage_mode_t);
|
||||
static int btreeCreateTable(Btree *p, int *piTable, int flags);
|
||||
static int btreeDbHandleIsLocked(Btree *p, CACHED_DB *cached_db);
|
||||
static void btreeHandleDbError(
|
||||
const DB_ENV *dbenv, const char *errpfx, const char *msg);
|
||||
static int btreeDbHandleIsLocked(CACHED_DB *cached_db);
|
||||
static int btreeDbHandleLock(Btree *p, CACHED_DB *cached_db);
|
||||
static int btreeDbHandleUnlock(Btree *p, CACHED_DB *cached_db);
|
||||
static int btreeDecompressInt(const u_int8_t *buf, u_int64_t *i);
|
||||
|
@ -35265,6 +35268,7 @@ static int btreeFindOrCreateDataTable(Btree *, int *, CACHED_DB **, int);
|
|||
static void btreeFreeSharedBtree(BtShared *p, int clear_cache);
|
||||
static int btreeGetSharedBtree(
|
||||
BtShared **, u_int8_t *, sqlite3 *, storage_mode_t, int);
|
||||
static int btreeInvalidateHandleCache(Btree *p);
|
||||
static int btreeLoadBufferIntoTable(BtCursor *pCur);
|
||||
static int btreeMoveto(BtCursor *pCur,
|
||||
const void *pKey, i64 nKey, int bias, int *pRes);
|
||||
|
@ -35391,6 +35395,9 @@ u_int32_t g_uid_next = 0;
|
|||
if (ret == DB_LOCK_DEADLOCK && pCur->isIncrblobHandle) {\
|
||||
if (!pCur->wrFlag) \
|
||||
pCur->pBtree->read_txn = NULL; \
|
||||
if (pCur->txn == pCur->pBtree->savepoint_txn) \
|
||||
pCur->pBtree->savepoint_txn = \
|
||||
pCur->pBtree->savepoint_txn->parent;\
|
||||
pCur->txn->abort(pCur->txn); \
|
||||
pCur->txn = NULL; \
|
||||
return SQLITE_LOCKED; \
|
||||
|
@ -35503,6 +35510,55 @@ int closeDB(Btree *p, DB *dbp, u_int32_t flags)
|
|||
return ret;
|
||||
}
|
||||
|
||||
int btreeGetErrorFile(const BtShared *pBt, char *fname) {
|
||||
int set;
|
||||
|
||||
set = 0;
|
||||
if (pBt != NULL) {
|
||||
sqlite3_mutex_enter(pBt->mutex);
|
||||
if (pBt->err_file != NULL) {
|
||||
sqlite3_snprintf(BT_MAX_PATH, fname,
|
||||
"%s", pBt->err_file);
|
||||
set = 1;
|
||||
}
|
||||
sqlite3_mutex_leave(pBt->mutex);
|
||||
}
|
||||
if (set == 0)
|
||||
return SQLITE_ERROR;
|
||||
return (0);
|
||||
}
|
||||
|
||||
static void btreeHandleDbError(
|
||||
const DB_ENV *dbenv,
|
||||
const char *errpfx,
|
||||
const char *msg
|
||||
) {
|
||||
BtShared *pBt;
|
||||
FILE *fp;
|
||||
char fname[BT_MAX_PATH];
|
||||
|
||||
pBt = (BtShared *)dbenv->app_private;
|
||||
|
||||
/* Filter out harmless error messages. */
|
||||
if (strncmp(msg, "rename: database o", 18) == 0)
|
||||
return;
|
||||
|
||||
/*
|
||||
* If error_file is set, flush the error to the error file. Else flush
|
||||
* the error msg to stderr.
|
||||
*/
|
||||
if (btreeGetErrorFile(pBt, fname) == 0)
|
||||
fp = fopen(fname, "a");
|
||||
else
|
||||
fp = stderr;
|
||||
|
||||
fprintf(fp, "%s:%s\n", errpfx, msg);
|
||||
if (fp != stderr) {
|
||||
fflush(fp);
|
||||
fclose(fp);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Used in cases where SQLITE_LOCKED should be returned instead of
|
||||
* SQLITE_BUSY.
|
||||
|
@ -35725,7 +35781,7 @@ int btreeOpenMetaTables(Btree *p, int *pCreating)
|
|||
ret = db_env_create(&tmp_env, 0);
|
||||
if (ret != 0)
|
||||
goto err;
|
||||
tmp_env->set_errfile(tmp_env, NULL);
|
||||
tmp_env->set_errcall(tmp_env, NULL);
|
||||
if (pBt->encrypted) {
|
||||
ret = tmp_env->set_encrypt(tmp_env,
|
||||
pBt->encrypt_pwd, DB_ENCRYPT_AES);
|
||||
|
@ -36030,10 +36086,8 @@ static void btreeFreeSharedBtree(BtShared *p, int clear_cache)
|
|||
sqlite3_free(p->full_name);
|
||||
if (p->orig_name != NULL)
|
||||
sqlite3_free(p->orig_name);
|
||||
if (p->errfile_name != NULL)
|
||||
sqlite3_free(p->errfile_name);
|
||||
if (p->errfile != NULL)
|
||||
fclose(p->errfile);
|
||||
if (p->err_file != NULL)
|
||||
sqlite3_free(p->err_file);
|
||||
|
||||
sqlite3_free(p);
|
||||
}
|
||||
|
@ -36472,6 +36526,8 @@ static int btreePrepareEnvironment(Btree *p)
|
|||
if ((ret = db_env_create(&pDbEnv, 0)) != 0)
|
||||
goto err;
|
||||
pDbEnv->set_errpfx(pDbEnv, pBt->full_name);
|
||||
pDbEnv->app_private = pBt;
|
||||
pDbEnv->set_errcall(pDbEnv, btreeHandleDbError);
|
||||
#ifndef BDBSQL_SINGLE_THREAD
|
||||
pDbEnv->set_flags(pDbEnv, DB_DATABASE_LOCKING, 1);
|
||||
pDbEnv->set_lk_detect(pDbEnv, DB_LOCK_DEFAULT);
|
||||
|
@ -36526,6 +36582,8 @@ static int btreePrepareEnvironment(Btree *p)
|
|||
if ((ret = db_env_create(&pDbEnv, 0)) != 0)
|
||||
goto err;
|
||||
pDbEnv->set_errpfx(pDbEnv, "<temp>");
|
||||
pDbEnv->app_private = pBt;
|
||||
pDbEnv->set_errcall(pDbEnv, btreeHandleDbError);
|
||||
pBt->env_oflags |= DB_CREATE | DB_INIT_TXN | DB_PRIVATE;
|
||||
|
||||
/*
|
||||
|
@ -36701,8 +36759,7 @@ int btreeOpenEnvironment(Btree *p, int needLock)
|
|||
(ret = pDbEnv->set_mp_pagesize(pDbEnv, pBt->pageSize)) != 0)
|
||||
goto err;
|
||||
pDbEnv->set_mp_mmapsize(pDbEnv, 0);
|
||||
if (!pBt->errfile)
|
||||
pDbEnv->set_errfile(pDbEnv, stderr);
|
||||
pDbEnv->set_errcall(pDbEnv, btreeHandleDbError);
|
||||
if (pBt->dir_name != NULL) {
|
||||
createdDir =
|
||||
(__os_mkdir(NULL, pBt->dir_name, 0777) == 0);
|
||||
|
@ -37090,7 +37147,7 @@ SQLITE_PRIVATE int sqlite3BtreeOpen(
|
|||
int flags, /* Options */
|
||||
int vfsFlags) /* Flags passed through to VFS open */
|
||||
{
|
||||
Btree *p;
|
||||
Btree *p, *next_btree;
|
||||
BtShared *pBt, *next_bt;
|
||||
int rc;
|
||||
sqlite3_mutex *mutexOpen;
|
||||
|
@ -37205,6 +37262,21 @@ SQLITE_PRIVATE int sqlite3BtreeOpen(
|
|||
}
|
||||
}
|
||||
|
||||
/* Add this Btree object to the list of Btrees seen by the BtShared */
|
||||
for (next_btree = pBt->btrees; next_btree != NULL;
|
||||
next_btree = next_btree->pNext) {
|
||||
if (next_btree == p)
|
||||
break;
|
||||
}
|
||||
if (next_btree == NULL) {
|
||||
if (pBt->btrees == NULL)
|
||||
pBt->btrees = p;
|
||||
else {
|
||||
p->pNext = pBt->btrees;
|
||||
pBt->btrees->pPrev = p;
|
||||
pBt->btrees = p;
|
||||
}
|
||||
}
|
||||
p->readonly = (p->vfsFlags & SQLITE_OPEN_READONLY) ? 1 : 0;
|
||||
*ppBtree = p;
|
||||
|
||||
|
@ -37407,6 +37479,7 @@ static int btreeCleanupCachedHandles(Btree *p, cleanup_mode_t cleanup)
|
|||
*/
|
||||
SQLITE_PRIVATE int sqlite3BtreeClose(Btree *p)
|
||||
{
|
||||
Btree *next_btree;
|
||||
BtShared *pBt;
|
||||
int ret, rc, t_rc, t_ret;
|
||||
sqlite3_mutex *mutexOpen;
|
||||
|
@ -37457,6 +37530,7 @@ SQLITE_PRIVATE int sqlite3BtreeClose(Btree *p)
|
|||
ret = pFamilyTxn->commit(pFamilyTxn, 0);
|
||||
pFamilyTxn = NULL;
|
||||
p->inTrans = TRANS_NONE;
|
||||
p->txn_excl = 0;
|
||||
if (ret != 0 && rc == SQLITE_OK)
|
||||
rc = dberr2sqlite(ret);
|
||||
}
|
||||
|
@ -37486,7 +37560,24 @@ SQLITE_PRIVATE int sqlite3BtreeClose(Btree *p)
|
|||
mutexOpen = sqlite3MutexAlloc(OPEN_MUTEX(pBt->dbStorage));
|
||||
sqlite3_mutex_enter(mutexOpen);
|
||||
|
||||
/* Remove this pBt from the BtShared list of btrees. */
|
||||
for (next_btree = pBt->btrees; next_btree != NULL;
|
||||
next_btree = next_btree->pNext) {
|
||||
if (next_btree == p) {
|
||||
if (next_btree == pBt->btrees) {
|
||||
pBt->btrees = next_btree->pNext;
|
||||
if (pBt->btrees != NULL)
|
||||
pBt->btrees->pPrev = NULL;
|
||||
} else {
|
||||
p->pPrev->pNext = p->pNext;
|
||||
if (p->pNext != NULL)
|
||||
p->pNext->pPrev = p->pPrev;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (--pBt->nRef == 0) {
|
||||
assert (pBt->btrees == NULL);
|
||||
if (pBt->dbStorage == DB_STORE_NAMED) {
|
||||
/* Remove it from the linked list of shared envs. */
|
||||
assert(pBt == g_shared_btrees || pBt->pPrevDb != NULL);
|
||||
|
@ -37535,7 +37626,7 @@ SQLITE_PRIVATE int sqlite3BtreeClose(Btree *p)
|
|||
}
|
||||
#ifdef BDBSQL_SHARE_PRIVATE
|
||||
/* don't flush the cache; checkpoint has been done */
|
||||
pDbEnv->set_errfile(pDbEnv, NULL);
|
||||
pDbEnv->set_errcall(pDbEnv, NULL);
|
||||
pDbEnv->set_flags(pDbEnv, DB_NOFLUSH, 1);
|
||||
#endif
|
||||
if ((t_ret = pDbEnv->close(pDbEnv, 0)) != 0 && ret == 0)
|
||||
|
@ -37615,6 +37706,106 @@ SQLITE_PRIVATE int sqlite3BtreeSetSafetyLevel(
|
|||
return SQLITE_OK;
|
||||
}
|
||||
|
||||
/*
|
||||
* If the schema version has changed since the last transaction we need to
|
||||
* close all handles in the handle cache that aren't holding a handle lock.
|
||||
* Ideally we could do this via the sqlite3ResetInternalSchema method
|
||||
* but there is no obvious hook there, and.. since we do the GET_LOCKS
|
||||
* call here, we need to close handles now or we can't tell if they need to be
|
||||
* closed.
|
||||
* TODO: We'll probably be best altering the sqlite code to make this work
|
||||
* more efficiently.
|
||||
*/
|
||||
static int btreeInvalidateHandleCache(Btree *p) {
|
||||
BtShared *pBt;
|
||||
int cookie, i, rc, ret;
|
||||
CACHED_DB *cached_db, **tables_to_close;
|
||||
DB *dbp;
|
||||
HashElem *e, *e_next;
|
||||
u_int32_t flags;
|
||||
|
||||
rc = ret = 0;
|
||||
pBt = p->pBt;
|
||||
|
||||
if (p->inTrans == TRANS_NONE && p->db != NULL && p->db->aDb != NULL) {
|
||||
sqlite3BtreeGetMeta(p, BTREE_SCHEMA_VERSION, (u32 *)&cookie);
|
||||
if (p->db->aDb[0].pSchema != NULL &&
|
||||
p->db->aDb[0].pSchema->schema_cookie != cookie) {
|
||||
/*
|
||||
* TODO: Is it possible that this function is called
|
||||
* while already holding the mutex? Maybe from the
|
||||
* sequence code.
|
||||
*/
|
||||
sqlite3_mutex_enter(pBt->mutex);
|
||||
/*
|
||||
* We can't call DB->close while holding the mutex, so
|
||||
* record which handles we want to close and do the
|
||||
* actual close after the mutex is released.
|
||||
*/
|
||||
for (e = sqliteHashFirst(&pBt->db_cache), i = 0;
|
||||
e != NULL; e = sqliteHashNext(e), i++) {}
|
||||
|
||||
if (i == 0) {
|
||||
sqlite3_mutex_leave(pBt->mutex);
|
||||
return (0);
|
||||
}
|
||||
|
||||
tables_to_close =
|
||||
sqlite3_malloc(i * sizeof(CACHED_DB *));
|
||||
if (tables_to_close == NULL) {
|
||||
sqlite3_mutex_leave(pBt->mutex);
|
||||
return SQLITE_NOMEM;
|
||||
}
|
||||
memset(tables_to_close, 0, i * sizeof(CACHED_DB *));
|
||||
/*
|
||||
* Ideally we'd be able to find out if the Berkeley DB
|
||||
* fileid is still valid, but that's not currently
|
||||
* simple, so close all handles.
|
||||
*/
|
||||
for (e = sqliteHashFirst(&pBt->db_cache), i = 0;
|
||||
e != NULL; e = e_next) {
|
||||
e_next = sqliteHashNext(e);
|
||||
cached_db = sqliteHashData(e);
|
||||
|
||||
/* Skip table name db and in memory tables. */
|
||||
if (cached_db == NULL ||
|
||||
strcmp(cached_db->key, "1") == 0 ||
|
||||
cached_db->dbp == NULL)
|
||||
continue;
|
||||
dbp = cached_db->dbp;
|
||||
dbp->dbenv->get_open_flags(dbp->dbenv, &flags);
|
||||
if (flags & DB_PRIVATE)
|
||||
continue;
|
||||
if (btreeDbHandleIsLocked(cached_db))
|
||||
continue;
|
||||
tables_to_close[i++] = cached_db;
|
||||
sqlite3HashInsert(&pBt->db_cache,
|
||||
cached_db->key,
|
||||
(int)strlen(cached_db->key), NULL);
|
||||
}
|
||||
sqlite3_mutex_leave(pBt->mutex);
|
||||
for (i = 0; tables_to_close[i] != NULL; i++) {
|
||||
cached_db = tables_to_close[i];
|
||||
dbp = cached_db->dbp;
|
||||
#ifndef BDBSQL_SINGLE_THREAD
|
||||
if (dbp->app_private != NULL)
|
||||
sqlite3_free(dbp->app_private);
|
||||
#endif
|
||||
if ((ret = closeDB(p, dbp, DB_NOSYNC)) == 0 &&
|
||||
rc == SQLITE_OK)
|
||||
rc = dberr2sqlite(ret);
|
||||
if (cached_db->cookie != NULL)
|
||||
sqlite3_free(cached_db->cookie);
|
||||
sqlite3_free(cached_db);
|
||||
}
|
||||
sqlite3_free(tables_to_close);
|
||||
if (rc != 0)
|
||||
return (rc);
|
||||
}
|
||||
}
|
||||
return (0);
|
||||
}
|
||||
|
||||
/*
|
||||
** Attempt to start a new transaction. A write-transaction is started if the
|
||||
** second argument is true, otherwise a read-transaction. No-op if a
|
||||
|
@ -37670,6 +37861,10 @@ SQLITE_PRIVATE int sqlite3BtreeBeginTrans(Btree *p, int wrflag)
|
|||
/* The btreeOpenEnvironment call might have updated pBt. */
|
||||
pBt = p->pBt;
|
||||
}
|
||||
|
||||
if ((rc = btreeInvalidateHandleCache(p)) != 0)
|
||||
return (rc);
|
||||
|
||||
btreeCleanupCachedHandles(p, CLEANUP_GET_LOCKS);
|
||||
if (wrflag == 2)
|
||||
p->txn_excl = 1;
|
||||
|
@ -37765,12 +37960,13 @@ SQLITE_PRIVATE int sqlite3BtreeCommitPhaseOne(Btree *p, const char *zMaster)
|
|||
*/
|
||||
SQLITE_PRIVATE int sqlite3BtreeCommitPhaseTwo(Btree *p, int bCleanup)
|
||||
{
|
||||
Btree *next_btree;
|
||||
BtShared *pBt;
|
||||
DELETED_TABLE *dtable, *next;
|
||||
char *tableName, tableNameBuf[DBNAME_SIZE];
|
||||
char *oldTableName, oldTableNameBuf[DBNAME_SIZE], *fileName;
|
||||
int needVacuum, rc, ret, t_rc;
|
||||
int removeFlags;
|
||||
int in_trans, removeFlags;
|
||||
u_int32_t defaultTxnPriority;
|
||||
#ifdef BDBSQL_SHARE_PRIVATE
|
||||
int deleted = 0; /* indicates tables were deleted */
|
||||
|
@ -37899,8 +38095,23 @@ next: if (ret != 0 && rc == SQLITE_OK)
|
|||
(t_rc = btreeLockSchema(p, LOCKMODE_NONE)) != SQLITE_OK &&
|
||||
rc == SQLITE_OK)
|
||||
rc = t_rc;
|
||||
|
||||
/*
|
||||
* Only release the handle locks if no transactions are active
|
||||
* in any Btree.
|
||||
*/
|
||||
in_trans = 0;
|
||||
for (next_btree = pBt->btrees; next_btree != NULL;
|
||||
next_btree = next_btree->pNext) {
|
||||
if (next_btree->inTrans != TRANS_NONE) {
|
||||
in_trans = 1;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
/* Drop any handle locks if this was the only active txn. */
|
||||
btreeCleanupCachedHandles(p, CLEANUP_DROP_LOCKS);
|
||||
if (in_trans == 0)
|
||||
btreeCleanupCachedHandles(p, CLEANUP_DROP_LOCKS);
|
||||
}
|
||||
|
||||
if (needVacuum && rc == SQLITE_OK)
|
||||
|
@ -38737,8 +38948,8 @@ static int btreeCloseCursor(BtCursor *pCur, int listRemove)
|
|||
}
|
||||
|
||||
/* Incrblob write cursors have their own dedicated transactions. */
|
||||
if (pCur->isIncrblobHandle &&
|
||||
pCur->txn && pCur->wrFlag && pSavepointTxn) {
|
||||
if (pCur->isIncrblobHandle && pCur->txn && pCur->wrFlag &&
|
||||
pSavepointTxn && pCur->txn != pSavepointTxn) {
|
||||
ret = pCur->txn->commit(pCur->txn, DB_TXN_NOSYNC);
|
||||
pCur->txn = 0;
|
||||
}
|
||||
|
@ -41626,6 +41837,7 @@ SQLITE_PRIVATE int sqlite3BtreeSavepoint(Btree *p, int op, int iSavepoint)
|
|||
pMainTxn = pReadTxn = pSavepointTxn = NULL;
|
||||
p->nSavepoint = 0;
|
||||
p->inTrans = TRANS_NONE;
|
||||
p->txn_excl = 0;
|
||||
/* pReadTxn is only NULL if the read txn is being aborted */
|
||||
} else if (p->inTrans == TRANS_WRITE && pReadTxn)
|
||||
pSavepointTxn = txn->parent;
|
||||
|
@ -41685,6 +41897,7 @@ int btreeGetUserTable(Btree *p, DB_TXN *pTxn, DB **pDb, int iTable)
|
|||
BtShared *pBt;
|
||||
DB *dbp;
|
||||
KeyInfo *keyInfo;
|
||||
void *app;
|
||||
|
||||
rc = SQLITE_OK;
|
||||
pBt = p->pBt;
|
||||
|
@ -41732,7 +41945,11 @@ int btreeGetUserTable(Btree *p, DB_TXN *pTxn, DB **pDb, int iTable)
|
|||
*pDb = dbp;
|
||||
return rc;
|
||||
|
||||
err: dbp->close(dbp, 0);
|
||||
err: app = dbp->app_private;
|
||||
dbp->app_private = NULL;
|
||||
dbp->close(dbp, 0);
|
||||
if (app)
|
||||
sqlite3DbFree(p->db, app);
|
||||
return MAP_ERR(rc, ret);
|
||||
}
|
||||
|
||||
|
@ -41957,7 +42174,7 @@ static int btreeDbHandleLock(Btree *p, CACHED_DB *cached_db)
|
|||
ret = 0;
|
||||
dbp = cached_db->dbp;
|
||||
|
||||
if (btreeDbHandleIsLocked(p, cached_db))
|
||||
if (btreeDbHandleIsLocked(cached_db))
|
||||
return (0);
|
||||
|
||||
/* Ensure we're going to ask for a reasonable lock. */
|
||||
|
@ -41988,14 +42205,14 @@ static int btreeDbHandleUnlock(Btree *p, CACHED_DB *cached_db)
|
|||
BtShared *pBt;
|
||||
|
||||
pBt = p->pBt;
|
||||
if (!btreeDbHandleIsLocked(p, cached_db))
|
||||
if (!btreeDbHandleIsLocked(cached_db))
|
||||
return (0);
|
||||
|
||||
cached_db->lock_mode = cached_db->dbp->handle_lock.mode;
|
||||
return (pDbEnv->lock_put(pDbEnv, &cached_db->dbp->handle_lock));
|
||||
}
|
||||
|
||||
static int btreeDbHandleIsLocked(Btree *p, CACHED_DB *cached_db)
|
||||
static int btreeDbHandleIsLocked(CACHED_DB *cached_db)
|
||||
{
|
||||
#define LOCK_INVALID 0
|
||||
return (cached_db->dbp->handle_lock.off != LOCK_INVALID);
|
||||
|
@ -42457,7 +42674,8 @@ static int openPrivateEnvironment(Btree *p, int startFamily)
|
|||
goto err;
|
||||
pDbEnv->set_mp_mmapsize(pDbEnv, 0);
|
||||
pDbEnv->set_mp_mtxcount(pDbEnv, pBt->mp_mutex_count);
|
||||
pDbEnv->set_errfile(pDbEnv, stderr);
|
||||
pDbEnv->app_private = pBt;
|
||||
pDbEnv->set_errcall(pDbEnv, btreeHandleDbError);
|
||||
|
||||
ret = pDbEnv->open(pDbEnv, pBt->dir_name, pBt->env_oflags, 0);
|
||||
/* There is no acceptable failure for this reopen. */
|
||||
|
@ -42566,11 +42784,11 @@ static int btreeReopenPrivateEnvironment(Btree *p)
|
|||
pBt->meta[idx].cached = 0;
|
||||
/*
|
||||
* close environment:
|
||||
* - set the error file to nothing to quiet any errors
|
||||
* - set the error call to nothing to quiet any errors
|
||||
* - set DB_NOFLUSH to prevent the cache from flushing
|
||||
* - ignore a DB_RUNRECOVERY error
|
||||
*/
|
||||
pDbEnv->set_errfile(pDbEnv, NULL);
|
||||
pDbEnv->set_errcall(pDbEnv, NULL);
|
||||
pDbEnv->set_flags(pDbEnv, DB_NOFLUSH, 1);
|
||||
if ((t_ret = pDbEnv->close(pDbEnv, 0)) != 0 && ret == 0) {
|
||||
if (t_ret != DB_RUNRECOVERY) /* ignore runrecovery */
|
||||
|
@ -43165,6 +43383,8 @@ err: if (p != 0) {
|
|||
sqlite3_free(p->destName);
|
||||
if (p->fullName != 0)
|
||||
sqlite3_free(p->fullName);
|
||||
if (p->tables != 0)
|
||||
sqlite3_free(p->tables);
|
||||
sqlite3_free(p);
|
||||
p = NULL;
|
||||
}
|
||||
|
@ -43408,10 +43628,13 @@ static int backupCleanup(sqlite3_backup *p)
|
|||
SQLITE_DEFAULT_CACHE_SIZE | SQLITE_OPEN_MAIN_DB,
|
||||
p->pDestDb->openFlags);
|
||||
p->pDestDb->aDb[p->iDb].pBt = p->pDest;
|
||||
p->pDestDb->aDb[p->iDb].pSchema =
|
||||
sqlite3SchemaGet(p->pDestDb, p->pDest);
|
||||
if (!p->pDestDb->aDb[p->iDb].pSchema)
|
||||
p->rc = SQLITE_NOMEM;
|
||||
if (rc == SQLITE_OK) {
|
||||
p->pDestDb->aDb[p->iDb].pSchema =
|
||||
sqlite3SchemaGet(p->pDestDb, p->pDest);
|
||||
if (!p->pDestDb->aDb[p->iDb].pSchema)
|
||||
p->rc = SQLITE_NOMEM;
|
||||
} else
|
||||
p->pDestDb->aDb[p->iDb].pSchema = NULL;
|
||||
if (rc == SQLITE_OK)
|
||||
p->pDest->pBt->db_oflags |= DB_CREATE;
|
||||
/*
|
||||
|
@ -44723,55 +44946,44 @@ int bdbsqlPragma(Parse *pParse, char *zLeft, char *zRight, int iDb)
|
|||
* current setting.
|
||||
*/
|
||||
} else if (sqlite3StrNICmp(zLeft, "bdbsql_error_file", 17) == 0) {
|
||||
DB_ENV *dbenv;
|
||||
char *errfile_name;
|
||||
char filename[BT_MAX_PATH];
|
||||
char *err_file;
|
||||
|
||||
btreeUpdateBtShared(pDb->pBt, 1);
|
||||
dbenv = pDb->pBt->pBt->dbenv;
|
||||
errfile_name = NULL;
|
||||
err_file = NULL;
|
||||
|
||||
if (zRight) {
|
||||
FILE *errfile, *old_errfile;
|
||||
|
||||
errfile = fopen(zRight, "a+");
|
||||
old_errfile = NULL;
|
||||
|
||||
if (errfile == NULL)
|
||||
FILE *tmpfile;
|
||||
tmpfile = fopen(zRight, "a");
|
||||
if (tmpfile == NULL)
|
||||
sqlite3ErrorMsg(pParse,
|
||||
"Can't open error file %s", zRight);
|
||||
"Can't open error file %s", zRight);
|
||||
else {
|
||||
fclose(tmpfile);
|
||||
sqlite3_mutex_enter(pBt->pBt->mutex);
|
||||
old_errfile = pBt->pBt->errfile;
|
||||
pBt->pBt->errfile = errfile;
|
||||
dbenv->set_errfile(dbenv, errfile);
|
||||
sqlite3_free(pBt->pBt->errfile_name);
|
||||
pBt->pBt->errfile_name =
|
||||
sqlite3DbStrDup(0, zRight);
|
||||
sqlite3_free(pBt->pBt->err_file);
|
||||
pBt->pBt->err_file =
|
||||
sqlite3_mprintf("%s", zRight);
|
||||
sqlite3_mutex_leave(pBt->pBt->mutex);
|
||||
|
||||
if (old_errfile)
|
||||
fclose(old_errfile);
|
||||
errfile_name = zRight;
|
||||
err_file = zRight;
|
||||
}
|
||||
}
|
||||
|
||||
if (errfile_name == NULL) {
|
||||
sqlite3_mutex_enter(pBt->pBt->mutex);
|
||||
errfile_name =
|
||||
sqlite3DbStrDup(0, pBt->pBt->errfile_name);
|
||||
sqlite3_mutex_leave(pBt->pBt->mutex);
|
||||
if (!errfile_name)
|
||||
errfile_name = sqlite3DbStrDup(0, "Default");
|
||||
if (err_file == NULL) {
|
||||
err_file = filename;
|
||||
if (btreeGetErrorFile(pDb->pBt->pBt, err_file) != 0)
|
||||
err_file = "stderr";
|
||||
}
|
||||
|
||||
sqlite3VdbeSetNumCols(pParse->pVdbe, 1);
|
||||
sqlite3VdbeSetColName(pParse->pVdbe, 0, COLNAME_NAME,
|
||||
zLeft, SQLITE_STATIC);
|
||||
sqlite3VdbeAddOp4(pParse->pVdbe, OP_String8, 0, 1, 0,
|
||||
errfile_name, 0);
|
||||
if (err_file)
|
||||
sqlite3VdbeAddOp4(pParse->pVdbe, OP_String8, 0, 1, 0,
|
||||
err_file, 0);
|
||||
else
|
||||
sqlite3VdbeAddOp4(pParse->pVdbe, OP_String8, 0, 1, 0,
|
||||
"NULL", 0);
|
||||
sqlite3VdbeAddOp2(pParse->pVdbe, OP_ResultRow, 1, 1);
|
||||
if (errfile_name != zRight)
|
||||
sqlite3_free(errfile_name);
|
||||
parsed = 1;
|
||||
}
|
||||
/* Return semantics to match strcmp. */
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
2011-08-05
|
||||
|
||||
* Add updates so the package can work with Oracle Java Embedded Client
|
||||
|
||||
2011-04-30
|
||||
|
||||
* update to SQLite 3.7.6.2
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
prefix = @prefix@
|
||||
CC = @CC@
|
||||
HOSTCC = @HOSTCC@
|
||||
LIBTOOL = ./libtool
|
||||
SQLITE_INC = @SQLITE_INC@
|
||||
SQLITE_LIB = @SQLITE_LIB@
|
||||
|
@ -12,6 +13,7 @@ SQLITE3_A10N_O = @SQLITE3_A10N_O@
|
|||
JAVAH = @JAVAH@
|
||||
JAVA_RUN = @JAVA_RUN@
|
||||
JAVAC = @JAVAC@
|
||||
JAVAC_FLAGS = @JAVAC_FLAGS@
|
||||
JAVADOC = @JAVADOC@
|
||||
JAVADOCLINK = http://java.sun.com/javase/6/docs/api
|
||||
JAR = @JAR@
|
||||
|
@ -87,11 +89,11 @@ CLASSES = \
|
|||
SQLite/SQLRestore.class \
|
||||
SQLite/Profile.class
|
||||
|
||||
PRIVATE_CLASSES = \
|
||||
COMMON_CLASSES = \
|
||||
SQLite/Benchmark.class \
|
||||
SQLite/BenchmarkThread.class \
|
||||
SQLite/DBDump.class \
|
||||
SQLite/JDBCDriver.class \
|
||||
SQLite/JDBC.class \
|
||||
SQLite/@JDBCVER@/JDBCConnection.class \
|
||||
SQLite/@JDBCVER@/JDBCStatement.class \
|
||||
SQLite/@JDBCVER@/JDBCResultSet.class \
|
||||
|
@ -102,6 +104,23 @@ PRIVATE_CLASSES = \
|
|||
SQLite/@JDBCVER@/TableResultX.class \
|
||||
SQLite/@JDBCVER@/DatabaseX.class
|
||||
|
||||
JDBC_DATA_SOURCE_CLASSES = \
|
||||
SQLite/JDBCDataSource.class \
|
||||
SQLite/BenchmarkDataSource.class
|
||||
|
||||
JDBC_DRIVER_CLASSES = \
|
||||
SQLite/JDBCDriver.class \
|
||||
SQLite/BenchmarkDriver.class
|
||||
|
||||
JDBC0_CLASSES = $(JDBC_DATA_SOURCE_CLASSES)
|
||||
JDBC1_CLASSES = $(JDBC_DRIVER_CLASSES)
|
||||
JDBC2_CLASSES = $(JDBC_DRIVER_CLASSES)
|
||||
JDBC2x_CLASSES = $(JDBC_DRIVER_CLASSES)
|
||||
JDBC2y_CLASSES = $(JDBC_DRIVER_CLASSES)
|
||||
JDBC2z_CLASSES = $(JDBC_DRIVER_CLASSES)
|
||||
|
||||
PRIVATE_CLASSES = $(COMMON_CLASSES) $(@JDBCVER@_CLASSES)
|
||||
|
||||
DOCSRCS = \
|
||||
SQLite/Authorizer.java \
|
||||
SQLite/Backup.java \
|
||||
|
@ -161,9 +180,9 @@ libsqlite_jni.la: sqlite_jni.lo $(SQLITE3_A10N_O)
|
|||
-module -avoid-version $(LIBS)
|
||||
|
||||
native/mkconst: native/mkconst.c
|
||||
$(LIBTOOL) --mode=link $(CC) @CFLAGS@ $(SQLITE_INC) $(SQLITE3_INC) \
|
||||
-DHAVE_SQLITE2=@HAVE_SQLITE2@ -DHAVE_SQLITE3=@HAVE_SQLITE3@ \
|
||||
-o native/mkconst native/mkconst.c $(LIBS)
|
||||
$(LIBTOOL) --mode=link $(HOSTCC) @HOST_CFLAGS@ $(SQLITE_INC) \
|
||||
$(SQLITE3_INC) -DHAVE_SQLITE2=@HAVE_SQLITE2@ \
|
||||
-DHAVE_SQLITE3=@HAVE_SQLITE3@ -o native/mkconst native/mkconst.c
|
||||
|
||||
Makefile: Makefile.in configure config.status
|
||||
./config.status
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
package SQLite;
|
||||
|
||||
import java.sql.Connection;
|
||||
import java.sql.DriverManager;
|
||||
import java.sql.PreparedStatement;
|
||||
import java.sql.ResultSet;
|
||||
import java.sql.SQLException;
|
||||
|
@ -18,7 +17,7 @@ import java.sql.Statement;
|
|||
import java.util.Enumeration;
|
||||
import java.util.Vector;
|
||||
|
||||
public class Benchmark {
|
||||
public abstract class Benchmark {
|
||||
|
||||
/* the tps scaling factor: here it is 1 */
|
||||
public static int tps = 1;
|
||||
|
@ -56,8 +55,8 @@ public class Benchmark {
|
|||
* runs one TPC BM B transaction
|
||||
*/
|
||||
|
||||
public static void main(String[] args) {
|
||||
String DriverName = "SQLite.JDBCDriver";
|
||||
public void run(String[] args) {
|
||||
String DriverName = "";
|
||||
String DBUrl = "";
|
||||
String DBUser = "";
|
||||
String DBPassword = "";
|
||||
|
@ -138,15 +137,14 @@ public class Benchmark {
|
|||
System.out.println();
|
||||
|
||||
try {
|
||||
Class.forName(DriverName);
|
||||
new Benchmark(DBUrl, DBUser, DBPassword, initialize_dataset);
|
||||
benchmark(DBUrl, DBUser, DBPassword, initialize_dataset);
|
||||
} catch (java.lang.Exception e) {
|
||||
System.out.println(e.getMessage());
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
public Benchmark(String url, String user, String password, boolean init) {
|
||||
public void benchmark(String url, String user, String password, boolean init) {
|
||||
Vector vClient = new Vector();
|
||||
Thread Client = null;
|
||||
Enumeration en = null;
|
||||
|
@ -561,18 +559,8 @@ public class Benchmark {
|
|||
return (getRandomInt(min, max));
|
||||
}
|
||||
|
||||
public static Connection connect(String DBUrl, String DBUser,
|
||||
String DBPassword) {
|
||||
try {
|
||||
Connection conn =
|
||||
DriverManager.getConnection(DBUrl, DBUser, DBPassword);
|
||||
return conn;
|
||||
} catch (java.lang.Exception e) {
|
||||
System.out.println(e.getMessage());
|
||||
e.printStackTrace();
|
||||
}
|
||||
return null;
|
||||
}
|
||||
public abstract Connection connect(String DBUrl, String DBUser,
|
||||
String DBPassword);
|
||||
|
||||
public static void connectClose(Connection c) {
|
||||
if (c == null) {
|
||||
|
@ -604,7 +592,7 @@ class BenchmarkThread extends Thread {
|
|||
Benchmark b) {
|
||||
bench = b;
|
||||
ntrans = number_of_txns;
|
||||
Conn = Benchmark.connect(url, user, password);
|
||||
Conn = b.connect(url, user, password);
|
||||
if (Conn == null) {
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -329,7 +329,7 @@ public class JDBCConnection
|
|||
}
|
||||
|
||||
public void setTransactionIsolation(int level) throws SQLException {
|
||||
if (db.is3() && SQLite.JDBCDriver.sharedCache) {
|
||||
if (db.is3() && SQLite.JDBC.sharedCache) {
|
||||
String flag = null;
|
||||
if (level == TRANSACTION_READ_UNCOMMITTED &&
|
||||
trmode != TRANSACTION_READ_UNCOMMITTED) {
|
||||
|
|
|
@ -60,12 +60,12 @@ public class JDBCDatabaseMetaData implements DatabaseMetaData {
|
|||
}
|
||||
|
||||
public String getDriverVersion() throws SQLException {
|
||||
return "" + SQLite.JDBCDriver.MAJORVERSION + "." +
|
||||
return "" + SQLite.JDBC.MAJORVERSION + "." +
|
||||
SQLite.Constants.drv_minor;
|
||||
}
|
||||
|
||||
public int getDriverMajorVersion() {
|
||||
return SQLite.JDBCDriver.MAJORVERSION;
|
||||
return SQLite.JDBC.MAJORVERSION;
|
||||
}
|
||||
|
||||
public int getDriverMinorVersion() {
|
||||
|
|
|
@ -372,7 +372,7 @@ public class JDBCConnection
|
|||
}
|
||||
|
||||
public void setTransactionIsolation(int level) throws SQLException {
|
||||
if (db.is3() && SQLite.JDBCDriver.sharedCache) {
|
||||
if (db.is3() && SQLite.JDBC.sharedCache) {
|
||||
String flag = null;
|
||||
if (level == TRANSACTION_READ_UNCOMMITTED &&
|
||||
trmode != TRANSACTION_READ_UNCOMMITTED) {
|
||||
|
|
|
@ -64,12 +64,12 @@ public class JDBCDatabaseMetaData implements DatabaseMetaData {
|
|||
}
|
||||
|
||||
public String getDriverVersion() throws SQLException {
|
||||
return "" + SQLite.JDBCDriver.MAJORVERSION + "." +
|
||||
return "" + SQLite.JDBC.MAJORVERSION + "." +
|
||||
SQLite.Constants.drv_minor;
|
||||
}
|
||||
|
||||
public int getDriverMajorVersion() {
|
||||
return SQLite.JDBCDriver.MAJORVERSION;
|
||||
return SQLite.JDBC.MAJORVERSION;
|
||||
}
|
||||
|
||||
public int getDriverMinorVersion() {
|
||||
|
|
|
@ -373,7 +373,7 @@ public class JDBCConnection
|
|||
}
|
||||
|
||||
public void setTransactionIsolation(int level) throws SQLException {
|
||||
if (db.is3() && SQLite.JDBCDriver.sharedCache) {
|
||||
if (db.is3() && SQLite.JDBC.sharedCache) {
|
||||
String flag = null;
|
||||
if (level == TRANSACTION_READ_UNCOMMITTED &&
|
||||
trmode != TRANSACTION_READ_UNCOMMITTED) {
|
||||
|
|
|
@ -64,12 +64,12 @@ public class JDBCDatabaseMetaData implements DatabaseMetaData {
|
|||
}
|
||||
|
||||
public String getDriverVersion() throws SQLException {
|
||||
return "" + SQLite.JDBCDriver.MAJORVERSION + "." +
|
||||
return "" + SQLite.JDBC.MAJORVERSION + "." +
|
||||
SQLite.Constants.drv_minor;
|
||||
}
|
||||
|
||||
public int getDriverMajorVersion() {
|
||||
return SQLite.JDBCDriver.MAJORVERSION;
|
||||
return SQLite.JDBC.MAJORVERSION;
|
||||
}
|
||||
|
||||
public int getDriverMinorVersion() {
|
||||
|
@ -1632,7 +1632,7 @@ public class JDBCDatabaseMetaData implements DatabaseMetaData {
|
|||
}
|
||||
|
||||
public int getDatabaseMajorVersion() {
|
||||
return SQLite.JDBCDriver.MAJORVERSION;
|
||||
return SQLite.JDBC.MAJORVERSION;
|
||||
}
|
||||
|
||||
public int getDatabaseMinorVersion() {
|
||||
|
|
|
@ -373,7 +373,7 @@ public class JDBCConnection
|
|||
}
|
||||
|
||||
public void setTransactionIsolation(int level) throws SQLException {
|
||||
if (db.is3() && SQLite.JDBCDriver.sharedCache) {
|
||||
if (db.is3() && SQLite.JDBC.sharedCache) {
|
||||
String flag = null;
|
||||
if (level == TRANSACTION_READ_UNCOMMITTED &&
|
||||
trmode != TRANSACTION_READ_UNCOMMITTED) {
|
||||
|
|
|
@ -64,12 +64,12 @@ public class JDBCDatabaseMetaData implements DatabaseMetaData {
|
|||
}
|
||||
|
||||
public String getDriverVersion() throws SQLException {
|
||||
return "" + SQLite.JDBCDriver.MAJORVERSION + "." +
|
||||
return "" + SQLite.JDBC.MAJORVERSION + "." +
|
||||
SQLite.Constants.drv_minor;
|
||||
}
|
||||
|
||||
public int getDriverMajorVersion() {
|
||||
return SQLite.JDBCDriver.MAJORVERSION;
|
||||
return SQLite.JDBC.MAJORVERSION;
|
||||
}
|
||||
|
||||
public int getDriverMinorVersion() {
|
||||
|
@ -1634,7 +1634,7 @@ public class JDBCDatabaseMetaData implements DatabaseMetaData {
|
|||
}
|
||||
|
||||
public int getDatabaseMajorVersion() {
|
||||
return SQLite.JDBCDriver.MAJORVERSION;
|
||||
return SQLite.JDBC.MAJORVERSION;
|
||||
}
|
||||
|
||||
public int getDatabaseMinorVersion() {
|
||||
|
|
|
@ -399,7 +399,7 @@ public class JDBCConnection
|
|||
|
||||
@Override
|
||||
public void setTransactionIsolation(int level) throws SQLException {
|
||||
if (db.is3() && SQLite.JDBCDriver.sharedCache) {
|
||||
if (db.is3() && SQLite.JDBC.sharedCache) {
|
||||
String flag = null;
|
||||
if (level == TRANSACTION_READ_UNCOMMITTED &&
|
||||
trmode != TRANSACTION_READ_UNCOMMITTED) {
|
||||
|
|
|
@ -78,13 +78,13 @@ public class JDBCDatabaseMetaData implements DatabaseMetaData {
|
|||
|
||||
@Override
|
||||
public String getDriverVersion() throws SQLException {
|
||||
return "" + SQLite.JDBCDriver.MAJORVERSION + "." +
|
||||
return "" + SQLite.JDBC.MAJORVERSION + "." +
|
||||
SQLite.Constants.drv_minor;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getDriverMajorVersion() {
|
||||
return SQLite.JDBCDriver.MAJORVERSION;
|
||||
return SQLite.JDBC.MAJORVERSION;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -1790,7 +1790,7 @@ public class JDBCDatabaseMetaData implements DatabaseMetaData {
|
|||
|
||||
@Override
|
||||
public int getDatabaseMajorVersion() {
|
||||
return SQLite.JDBCDriver.MAJORVERSION;
|
||||
return SQLite.JDBC.MAJORVERSION;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
package SQLite;
|
||||
|
||||
import java.sql.Connection;
|
||||
import java.sql.Driver;
|
||||
import java.sql.DriverPropertyInfo;
|
||||
import java.sql.SQLException;
|
||||
import java.util.Properties;
|
||||
|
||||
public class JDBCDriver implements java.sql.Driver {
|
||||
public class JDBCDriver extends JDBC implements Driver {
|
||||
|
||||
public static final int MAJORVERSION = 1;
|
||||
|
||||
|
@ -19,63 +20,7 @@ public class JDBCDriver implements java.sql.Driver {
|
|||
|
||||
static {
|
||||
try {
|
||||
Class connClass = null;
|
||||
Class args[] = new Class[5];
|
||||
args[0] = Class.forName("java.lang.String");
|
||||
args[1] = args[0];
|
||||
args[2] = args[0];
|
||||
args[3] = args[0];
|
||||
args[4] = args[0];
|
||||
String jvers = java.lang.System.getProperty("java.version");
|
||||
String cvers;
|
||||
if (jvers == null || jvers.startsWith("1.0")) {
|
||||
throw new java.lang.Exception("unsupported java version " + jvers);
|
||||
} else if (jvers.startsWith("1.1")) {
|
||||
cvers = "SQLite.JDBC1.JDBCConnection";
|
||||
} else if (jvers.startsWith("1.2") || jvers.startsWith("1.3")) {
|
||||
cvers = "SQLite.JDBC2.JDBCConnection";
|
||||
} else if (jvers.startsWith("1.4")) {
|
||||
cvers = "SQLite.JDBC2x.JDBCConnection";
|
||||
} else if (jvers.startsWith("1.5")) {
|
||||
cvers = "SQLite.JDBC2y.JDBCConnection";
|
||||
try {
|
||||
Class.forName(cvers);
|
||||
} catch (java.lang.Exception e) {
|
||||
cvers = "SQLite.JDBC2x.JDBCConnection";
|
||||
}
|
||||
} else {
|
||||
cvers = "SQLite.JDBC2z.JDBCConnection";
|
||||
try {
|
||||
Class.forName(cvers);
|
||||
} catch (java.lang.Exception e) {
|
||||
cvers = "SQLite.JDBC2y.JDBCConnection";
|
||||
try {
|
||||
Class.forName(cvers);
|
||||
} catch (java.lang.Exception ee) {
|
||||
cvers = "SQLite.JDBC2x.JDBCConnection";
|
||||
}
|
||||
}
|
||||
}
|
||||
connClass = Class.forName(cvers);
|
||||
makeConn = connClass.getConstructor(args);
|
||||
java.sql.DriverManager.registerDriver(new JDBCDriver());
|
||||
try {
|
||||
String shcache =
|
||||
java.lang.System.getProperty("SQLite.sharedcache");
|
||||
if (shcache != null &&
|
||||
(shcache.startsWith("y") || shcache.startsWith("Y"))) {
|
||||
sharedCache = SQLite.Database._enable_shared_cache(true);
|
||||
}
|
||||
} catch (java.lang.Exception e) {
|
||||
}
|
||||
try {
|
||||
String tvfs =
|
||||
java.lang.System.getProperty("SQLite.vfs");
|
||||
if (tvfs != null) {
|
||||
vfs = tvfs;
|
||||
}
|
||||
} catch (java.lang.Exception e) {
|
||||
}
|
||||
} catch (java.lang.Exception e) {
|
||||
System.err.println(e);
|
||||
}
|
||||
|
@ -84,48 +29,6 @@ public class JDBCDriver implements java.sql.Driver {
|
|||
public JDBCDriver() {
|
||||
}
|
||||
|
||||
public boolean acceptsURL(String url) throws SQLException {
|
||||
return url.startsWith("sqlite:/") ||
|
||||
url.startsWith("jdbc:sqlite:/");
|
||||
}
|
||||
|
||||
public Connection connect(String url, Properties info)
|
||||
throws SQLException {
|
||||
if (!acceptsURL(url)) {
|
||||
return null;
|
||||
}
|
||||
Object args[] = new Object[5];
|
||||
args[0] = url;
|
||||
if (info != null) {
|
||||
args[1] = info.getProperty("encoding");
|
||||
args[2] = info.getProperty("password");
|
||||
args[3] = info.getProperty("daterepr");
|
||||
args[4] = info.getProperty("vfs");
|
||||
}
|
||||
if (args[1] == null) {
|
||||
args[1] = java.lang.System.getProperty("SQLite.encoding");
|
||||
}
|
||||
if (args[4] == null) {
|
||||
args[4] = vfs;
|
||||
}
|
||||
try {
|
||||
conn = (Connection) makeConn.newInstance(args);
|
||||
} catch (java.lang.reflect.InvocationTargetException ie) {
|
||||
throw new SQLException(ie.getTargetException().toString());
|
||||
} catch (java.lang.Exception e) {
|
||||
throw new SQLException(e.toString());
|
||||
}
|
||||
return conn;
|
||||
}
|
||||
|
||||
public int getMajorVersion() {
|
||||
return MAJORVERSION;
|
||||
}
|
||||
|
||||
public int getMinorVersion() {
|
||||
return Constants.drv_minor;
|
||||
}
|
||||
|
||||
public DriverPropertyInfo[] getPropertyInfo(String url, Properties info)
|
||||
throws SQLException {
|
||||
DriverPropertyInfo p[] = new DriverPropertyInfo[4];
|
||||
|
|
|
@ -1 +1 @@
|
|||
20110430
|
||||
20110817
|
||||
|
|
4
lang/sql/jdbc/config.sub
vendored
|
@ -3,7 +3,7 @@
|
|||
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
||||
# 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
|
||||
|
||||
timestamp='2003-01-03'
|
||||
timestamp='2011-08-05'
|
||||
|
||||
# This file is (in principle) common to ALL GNU software.
|
||||
# The presence of a machine in this file suggests that SOME GNU software
|
||||
|
@ -118,7 +118,7 @@ esac
|
|||
# Here we must recognize all the valid KERNEL-OS combinations.
|
||||
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
|
||||
case $maybe_os in
|
||||
nto-qnx* | linux-gnu* | freebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
|
||||
nto-qnx* | linux-gnu* | freebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova* | linux-uclibc* )
|
||||
os=-$maybe_os
|
||||
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
|
||||
;;
|
||||
|
|
8322
lang/sql/jdbc/configure
vendored
|
@ -4,7 +4,10 @@ AM_PROG_LIBTOOL
|
|||
AC_PROG_INSTALL
|
||||
CC=${CC:-cc}
|
||||
AC_SUBST(CC)
|
||||
HOSTCC=${HOSTCC:-cc}
|
||||
AC_SUBST(HOSTCC)
|
||||
AC_SUBST(CFLAGS)
|
||||
AC_SUBST(HOST_CFLAGS)
|
||||
AC_CANONICAL_TARGET
|
||||
|
||||
##########
|
||||
|
@ -482,13 +485,21 @@ if test ! -d "$JAVA_HOME" ; then
|
|||
fi
|
||||
|
||||
if test -n "$JAVA_HOME" ; then
|
||||
JAVA_RUN=$JAVA_HOME/bin/java
|
||||
if test "x$JAVA_RUN" = "x"; then
|
||||
JAVA_RUN=$JAVA_HOME/bin/java
|
||||
else
|
||||
AC_MSG_WARN([Overriding JAVA command with: $JAVA_RUN])
|
||||
fi
|
||||
JAVAC=$JAVA_HOME/bin/javac
|
||||
JAVAH="$JAVA_HOME/bin/javah -jni"
|
||||
JAR=$JAVA_HOME/bin/jar
|
||||
JAVADOC=$JAVA_HOME/bin/javadoc
|
||||
else
|
||||
JAVA_RUN=`which java`
|
||||
if test "x$JAVA_RUN" = "x"; then
|
||||
JAVA_RUN=`which java`
|
||||
else
|
||||
AC_MSG_WARN([Overriding JAVA command with: $JAVA_RUN])
|
||||
fi
|
||||
JAVAC=`which javac`
|
||||
JAVAH="`which javah` -jni"
|
||||
JAR=`which jar`
|
||||
|
@ -522,11 +533,16 @@ esac
|
|||
AC_MSG_RESULT([setting JNI include file directives: $JNIINCLUDE])
|
||||
|
||||
# Figure out JDK version
|
||||
JDBCVER=JDBC2
|
||||
$JAVA_RUN -version 2>&1 | grep 'version "1.1' >/dev/null && JDBCVER=JDBC1
|
||||
$JAVA_RUN -version 2>&1 | grep 'version "1.4' >/dev/null && JDBCVER=JDBC2x
|
||||
$JAVA_RUN -version 2>&1 | grep 'version "1.5' >/dev/null && JDBCVER=JDBC2y
|
||||
$JAVA_RUN -version 2>&1 | grep 'version "1.[[67]]' >/dev/null && JDBCVER=JDBC2z
|
||||
if test "x$JDBCVER" = "x" ; then
|
||||
JDBCVER=JDBC2
|
||||
$JAVA_RUN -version 2>&1 | grep 'version "1.1' >/dev/null && JDBCVER=JDBC1
|
||||
$JAVA_RUN -version 2>&1 | grep 'version "1.4' >/dev/null && JDBCVER=JDBC2x
|
||||
$JAVA_RUN -version 2>&1 | grep 'version "1.5' >/dev/null && JDBCVER=JDBC2y
|
||||
$JAVA_RUN -version 2>&1 | grep 'version "1.[[67]]' >/dev/null && JDBCVER=JDBC2z
|
||||
$JAVA_RUN -version 2>&1 | grep 'JSR169' >/dev/null && JDBCVER=JDBC0
|
||||
else
|
||||
AC_MSG_WARN([overriding JDBC driver: $JDBCVER])
|
||||
fi
|
||||
AC_MSG_RESULT([using JDBC driver from $JDBCVER directory])
|
||||
|
||||
if test "$JDBCVER" = "JDBC2y" ; then
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
2011-08-05
|
||||
|
||||
* Add updates so the package can work with Oracle Java Embedded Client
|
||||
|
||||
2011-04-30
|
||||
|
||||
* update to SQLite 3.7.6.2
|
||||
|
|
|
@ -2,25 +2,30 @@
|
|||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.4.2_03) on Sat Apr 30 14:01:26 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Tue Aug 23 16:11:21 PDT 2011 -->
|
||||
<TITLE>
|
||||
Authorizer (SQLite Java Wrapper)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="keywords" CONTENT="SQLite.Authorizer interface">
|
||||
<META NAME="date" CONTENT="2011-08-23">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
parent.document.title="Authorizer (SQLite Java Wrapper)";
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Authorizer (SQLite Java Wrapper)";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
|
@ -28,12 +33,12 @@ function windowTitle()
|
|||
<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">
|
||||
<TD COLSPAN=2 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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../SQLite/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>
|
||||
|
@ -49,7 +54,7 @@ function windowTitle()
|
|||
PREV CLASS
|
||||
<A HREF="../SQLite/Backup.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="../index.html?SQLite/Authorizer.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="Authorizer.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
|
@ -62,6 +67,7 @@ function windowTitle()
|
|||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
|
@ -83,7 +89,8 @@ SQLite</FONT>
|
|||
Interface Authorizer</H2>
|
||||
<HR>
|
||||
<DL>
|
||||
<DT>public interface <B>Authorizer</B></DL>
|
||||
<DT><PRE>public interface <B>Authorizer</B></DL>
|
||||
</PRE>
|
||||
|
||||
<P>
|
||||
Callback interface for SQLite's authorizer function.
|
||||
|
@ -93,31 +100,23 @@ Callback interface for SQLite's authorizer function.
|
|||
<HR>
|
||||
|
||||
<P>
|
||||
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
||||
|
||||
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
|
||||
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
|
||||
|
||||
<!-- ========== 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>
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Method Summary</B></FONT></TH>
|
||||
</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/Authorizer.html#authorize(int, java.lang.String, java.lang.String, java.lang.String, java.lang.String)">authorize</A></B>(int what,
|
||||
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> arg1,
|
||||
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> arg2,
|
||||
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> arg3,
|
||||
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> arg4)</CODE>
|
||||
java.lang.String arg1,
|
||||
java.lang.String arg2,
|
||||
java.lang.String arg3,
|
||||
java.lang.String arg4)</CODE>
|
||||
|
||||
<BR>
|
||||
Callback to authorize access.</TD>
|
||||
|
@ -126,30 +125,24 @@ Callback interface for SQLite's authorizer function.
|
|||
|
||||
<P>
|
||||
|
||||
<!-- ============ FIELD DETAIL =========== -->
|
||||
|
||||
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
|
||||
|
||||
<!-- ============ 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>
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Method Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="authorize(int, java.lang.String, java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>
|
||||
authorize</H3>
|
||||
<PRE>
|
||||
public int <B>authorize</B>(int what,
|
||||
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> arg1,
|
||||
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> arg2,
|
||||
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> arg3,
|
||||
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> arg4)</PRE>
|
||||
int <B>authorize</B>(int what,
|
||||
java.lang.String arg1,
|
||||
java.lang.String arg2,
|
||||
java.lang.String arg3,
|
||||
java.lang.String arg4)</PRE>
|
||||
<DL>
|
||||
<DD>Callback to authorize access.
|
||||
<P>
|
||||
|
@ -169,12 +162,12 @@ public int <B>authorize</B>(int what,
|
|||
<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">
|
||||
<TD COLSPAN=2 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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../SQLite/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>
|
||||
|
@ -190,7 +183,7 @@ public int <B>authorize</B>(int what,
|
|||
PREV CLASS
|
||||
<A HREF="../SQLite/Backup.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="../index.html?SQLite/Authorizer.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="Authorizer.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
|
@ -203,6 +196,7 @@ public int <B>authorize</B>(int what,
|
|||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
|
|
|
@ -2,25 +2,30 @@
|
|||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.4.2_03) on Sat Apr 30 14:01:26 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Tue Aug 23 16:11:21 PDT 2011 -->
|
||||
<TITLE>
|
||||
Backup (SQLite Java Wrapper)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="keywords" CONTENT="SQLite.Backup class">
|
||||
<META NAME="date" CONTENT="2011-08-23">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
parent.document.title="Backup (SQLite Java Wrapper)";
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Backup (SQLite Java Wrapper)";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
|
@ -28,12 +33,12 @@ function windowTitle()
|
|||
<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">
|
||||
<TD COLSPAN=2 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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../SQLite/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>
|
||||
|
@ -49,7 +54,7 @@ function windowTitle()
|
|||
<A HREF="../SQLite/Authorizer.html" title="interface in SQLite"><B>PREV CLASS</B></A>
|
||||
<A HREF="../SQLite/Blob.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="../index.html?SQLite/Backup.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="Backup.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
|
@ -62,6 +67,7 @@ function windowTitle()
|
|||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
|
@ -82,12 +88,13 @@ SQLite</FONT>
|
|||
<BR>
|
||||
Class Backup</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.Backup</B>
|
||||
java.lang.Object
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by "><B>SQLite.Backup</B>
|
||||
</PRE>
|
||||
<HR>
|
||||
<DL>
|
||||
<DT>public class <B>Backup</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>
|
||||
<DT><PRE>public class <B>Backup</B><DT>extends java.lang.Object</DL>
|
||||
</PRE>
|
||||
|
||||
<P>
|
||||
Class wrapping an SQLite backup object.
|
||||
|
@ -97,16 +104,13 @@ Class wrapping an SQLite backup object.
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Field Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
|
@ -123,8 +127,8 @@ Class wrapping an SQLite backup object.
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Constructor Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE><B><A HREF="../SQLite/Backup.html#Backup()">Backup</A></B>()</CODE>
|
||||
|
@ -139,8 +143,8 @@ Class wrapping an SQLite backup object.
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Method Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
|
@ -234,10 +238,10 @@ Class wrapping an SQLite backup object.
|
|||
<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>
|
||||
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
|
||||
</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>
|
||||
<TD><CODE>clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
|
@ -248,8 +252,8 @@ Class wrapping an SQLite backup object.
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Field Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
|
@ -269,8 +273,8 @@ protected long <B>handle</B></PRE>
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Constructor Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
|
@ -286,8 +290,8 @@ public <B>Backup</B>()</PRE>
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Method Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
|
@ -371,6 +375,9 @@ protected void <B>finalize</B>()</PRE>
|
|||
<DD>Destructor for object.
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Overrides:</B><DD><CODE>finalize</CODE> in class <CODE>java.lang.Object</CODE></DL>
|
||||
</DD>
|
||||
<DD><DL>
|
||||
</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
|
@ -461,12 +468,12 @@ public boolean <B>step</B>(int n)
|
|||
<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">
|
||||
<TD COLSPAN=2 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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../SQLite/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>
|
||||
|
@ -482,7 +489,7 @@ public boolean <B>step</B>(int n)
|
|||
<A HREF="../SQLite/Authorizer.html" title="interface in SQLite"><B>PREV CLASS</B></A>
|
||||
<A HREF="../SQLite/Blob.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="../index.html?SQLite/Backup.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="Backup.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
|
@ -495,6 +502,7 @@ public boolean <B>step</B>(int n)
|
|||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
|
|
|
@ -2,25 +2,30 @@
|
|||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.4.2_03) on Sat Apr 30 14:01:27 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Tue Aug 23 16:11:22 PDT 2011 -->
|
||||
<TITLE>
|
||||
Blob (SQLite Java Wrapper)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="keywords" CONTENT="SQLite.Blob class">
|
||||
<META NAME="date" CONTENT="2011-08-23">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
parent.document.title="Blob (SQLite Java Wrapper)";
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Blob (SQLite Java Wrapper)";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
|
@ -28,12 +33,12 @@ function windowTitle()
|
|||
<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">
|
||||
<TD COLSPAN=2 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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../SQLite/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>
|
||||
|
@ -49,7 +54,7 @@ function windowTitle()
|
|||
<A HREF="../SQLite/Backup.html" title="class in SQLite"><B>PREV CLASS</B></A>
|
||||
<A HREF="../SQLite/BlobR.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="../index.html?SQLite/Blob.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="Blob.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
|
@ -62,6 +67,7 @@ function windowTitle()
|
|||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
|
@ -82,12 +88,13 @@ SQLite</FONT>
|
|||
<BR>
|
||||
Class Blob</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.Blob</B>
|
||||
java.lang.Object
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by "><B>SQLite.Blob</B>
|
||||
</PRE>
|
||||
<HR>
|
||||
<DL>
|
||||
<DT>public class <B>Blob</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>
|
||||
<DT><PRE>public class <B>Blob</B><DT>extends java.lang.Object</DL>
|
||||
</PRE>
|
||||
|
||||
<P>
|
||||
Class to represent SQLite3 3.4.0 incremental blob I/O interface.
|
||||
|
@ -102,16 +109,13 @@ Class to represent SQLite3 3.4.0 incremental blob I/O interface.
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Field Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
|
@ -137,8 +141,8 @@ Class to represent SQLite3 3.4.0 incremental blob I/O interface.
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Constructor Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE><B><A HREF="../SQLite/Blob.html#Blob()">Blob</A></B>()</CODE>
|
||||
|
@ -153,8 +157,8 @@ Class to represent SQLite3 3.4.0 incremental blob I/O interface.
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Method Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
|
@ -174,7 +178,7 @@ Class to represent SQLite3 3.4.0 incremental blob I/O interface.
|
|||
</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/io/InputStream.html" title="class or interface in java.io">InputStream</A></CODE></FONT></TD>
|
||||
<CODE> java.io.InputStream</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../SQLite/Blob.html#getInputStream()">getInputStream</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
|
@ -182,7 +186,7 @@ Class to represent SQLite3 3.4.0 incremental blob I/O interface.
|
|||
</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/io/OutputStream.html" title="class or interface in java.io">OutputStream</A></CODE></FONT></TD>
|
||||
<CODE> java.io.OutputStream</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../SQLite/Blob.html#getOutputStream()">getOutputStream</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
|
@ -222,10 +226,10 @@ Class to represent SQLite3 3.4.0 incremental blob I/O interface.
|
|||
<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>
|
||||
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
|
||||
</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>
|
||||
<TD><CODE>clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
|
@ -236,8 +240,8 @@ Class to represent SQLite3 3.4.0 incremental blob I/O interface.
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Field Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
|
@ -270,8 +274,8 @@ protected int <B>size</B></PRE>
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Constructor Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
|
@ -287,8 +291,8 @@ public <B>Blob</B>()</PRE>
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Method Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
|
@ -313,6 +317,9 @@ protected void <B>finalize</B>()</PRE>
|
|||
<DD>Destructor for object.
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Overrides:</B><DD><CODE>finalize</CODE> in class <CODE>java.lang.Object</CODE></DL>
|
||||
</DD>
|
||||
<DD><DL>
|
||||
</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
|
@ -321,7 +328,7 @@ protected void <B>finalize</B>()</PRE>
|
|||
<A NAME="getInputStream()"><!-- --></A><H3>
|
||||
getInputStream</H3>
|
||||
<PRE>
|
||||
public <A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html" title="class or interface in java.io">InputStream</A> <B>getInputStream</B>()</PRE>
|
||||
public java.io.InputStream <B>getInputStream</B>()</PRE>
|
||||
<DL>
|
||||
<DD>Return InputStream for this blob
|
||||
<P>
|
||||
|
@ -335,7 +342,7 @@ public <A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html"
|
|||
<A NAME="getOutputStream()"><!-- --></A><H3>
|
||||
getOutputStream</H3>
|
||||
<PRE>
|
||||
public <A HREF="http://java.sun.com/javase/6/docs/api/java/io/OutputStream.html" title="class or interface in java.io">OutputStream</A> <B>getOutputStream</B>()</PRE>
|
||||
public java.io.OutputStream <B>getOutputStream</B>()</PRE>
|
||||
<DL>
|
||||
<DD>Return OutputStream for this blob
|
||||
<P>
|
||||
|
@ -366,7 +373,7 @@ int <B>read</B>(byte[] b,
|
|||
int off,
|
||||
int pos,
|
||||
int len)
|
||||
throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE>
|
||||
throws java.io.IOException</PRE>
|
||||
<DL>
|
||||
<DD>Internal blob read method.
|
||||
<P>
|
||||
|
@ -374,7 +381,7 @@ int <B>read</B>(byte[] b,
|
|||
<DT><B>Parameters:</B><DD><CODE>b</CODE> - byte array to be written<DD><CODE>off</CODE> - offset into byte array<DD><CODE>pos</CODE> - offset into blob<DD><CODE>len</CODE> - length to be written
|
||||
<DT><B>Returns:</B><DD>number of bytes written to blob
|
||||
<DT><B>Throws:</B>
|
||||
<DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE></DL>
|
||||
<DD><CODE>java.io.IOException</CODE></DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
@ -386,7 +393,7 @@ int <B>write</B>(byte[] b,
|
|||
int off,
|
||||
int pos,
|
||||
int len)
|
||||
throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE>
|
||||
throws java.io.IOException</PRE>
|
||||
<DL>
|
||||
<DD>Internal blob write method.
|
||||
<P>
|
||||
|
@ -394,7 +401,7 @@ int <B>write</B>(byte[] b,
|
|||
<DT><B>Parameters:</B><DD><CODE>b</CODE> - byte array to be written<DD><CODE>off</CODE> - offset into byte array<DD><CODE>pos</CODE> - offset into blob<DD><CODE>len</CODE> - length to be written
|
||||
<DT><B>Returns:</B><DD>number of bytes written to blob
|
||||
<DT><B>Throws:</B>
|
||||
<DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE></DL>
|
||||
<DD><CODE>java.io.IOException</CODE></DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
|
@ -406,12 +413,12 @@ int <B>write</B>(byte[] b,
|
|||
<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">
|
||||
<TD COLSPAN=2 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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../SQLite/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>
|
||||
|
@ -427,7 +434,7 @@ int <B>write</B>(byte[] b,
|
|||
<A HREF="../SQLite/Backup.html" title="class in SQLite"><B>PREV CLASS</B></A>
|
||||
<A HREF="../SQLite/BlobR.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="../index.html?SQLite/Blob.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="Blob.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
|
@ -440,6 +447,7 @@ int <B>write</B>(byte[] b,
|
|||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
|
|
|
@ -2,25 +2,30 @@
|
|||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.4.2_03) on Sat Apr 30 14:01:27 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Tue Aug 23 16:11:22 PDT 2011 -->
|
||||
<TITLE>
|
||||
BlobR (SQLite Java Wrapper)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="keywords" CONTENT="SQLite.BlobR class">
|
||||
<META NAME="date" CONTENT="2011-08-23">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
parent.document.title="BlobR (SQLite Java Wrapper)";
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="BlobR (SQLite Java Wrapper)";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
|
@ -28,12 +33,12 @@ function windowTitle()
|
|||
<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">
|
||||
<TD COLSPAN=2 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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../SQLite/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>
|
||||
|
@ -49,7 +54,7 @@ function windowTitle()
|
|||
<A HREF="../SQLite/Blob.html" title="class in SQLite"><B>PREV CLASS</B></A>
|
||||
<A HREF="../SQLite/BlobW.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="../index.html?SQLite/BlobR.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="BlobR.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
|
@ -62,6 +67,7 @@ function windowTitle()
|
|||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
|
@ -82,13 +88,17 @@ SQLite</FONT>
|
|||
<BR>
|
||||
Class BlobR</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"><A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html" title="class or interface in java.io">java.io.InputStream</A>
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by"><B>SQLite.BlobR</B>
|
||||
java.lang.Object
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by ">java.io.InputStream
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by "><B>SQLite.BlobR</B>
|
||||
</PRE>
|
||||
<DL>
|
||||
<DT><B>All Implemented Interfaces:</B> <DD>java.io.Closeable</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
<DL>
|
||||
<DT> class <B>BlobR</B><DT>extends <A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html" title="class or interface in java.io">InputStream</A></DL>
|
||||
<DT><PRE> class <B>BlobR</B><DT>extends java.io.InputStream</DL>
|
||||
</PRE>
|
||||
|
||||
<P>
|
||||
Internal class implementing java.io.InputStream on
|
||||
|
@ -99,16 +109,13 @@ Internal class implementing java.io.InputStream on
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Field Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
|
@ -127,27 +134,16 @@ Internal class implementing java.io.InputStream on
|
|||
Read position, file pointer.</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="fields_inherited_from_class_java.io.InputStream"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TD><B>Fields inherited from class java.io.<A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html" title="class or interface in java.io">InputStream</A></B></TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE></CODE></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>
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Constructor Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE>(package private)</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../SQLite/BlobR.html#BlobR(SQLite.Blob)">BlobR</A></B>(<A HREF="../SQLite/Blob.html" title="class in SQLite">Blob</A> blob)</CODE>
|
||||
|
||||
<BR>
|
||||
|
@ -160,8 +156,8 @@ Internal class implementing java.io.InputStream on
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Method Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
|
@ -241,10 +237,10 @@ Internal class implementing java.io.InputStream on
|
|||
<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>
|
||||
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
|
||||
</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#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#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>
|
||||
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
|
@ -255,8 +251,8 @@ Internal class implementing java.io.InputStream on
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Field Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
|
@ -288,8 +284,8 @@ private int <B>pos</B></PRE>
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Constructor Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
|
@ -307,8 +303,8 @@ BlobR</H3>
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Method Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
|
@ -316,15 +312,18 @@ BlobR</H3>
|
|||
available</H3>
|
||||
<PRE>
|
||||
public int <B>available</B>()
|
||||
throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE>
|
||||
throws java.io.IOException</PRE>
|
||||
<DL>
|
||||
<DD>Return number of available bytes for reading.
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Overrides:</B><DD><CODE>available</CODE> in class <CODE>java.io.InputStream</CODE></DL>
|
||||
</DD>
|
||||
<DD><DL>
|
||||
|
||||
<DT><B>Returns:</B><DD>available input bytes
|
||||
<DT><B>Throws:</B>
|
||||
<DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE></DL>
|
||||
<DD><CODE>java.io.IOException</CODE></DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
@ -333,14 +332,17 @@ public int <B>available</B>()
|
|||
close</H3>
|
||||
<PRE>
|
||||
public void <B>close</B>()
|
||||
throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE>
|
||||
throws java.io.IOException</PRE>
|
||||
<DL>
|
||||
<DD>Close this blob InputStream.
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Specified by:</B><DD><CODE>close</CODE> in interface <CODE>java.io.Closeable</CODE><DT><B>Overrides:</B><DD><CODE>close</CODE> in class <CODE>java.io.InputStream</CODE></DL>
|
||||
</DD>
|
||||
<DD><DL>
|
||||
|
||||
<DT><B>Throws:</B>
|
||||
<DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE></DL>
|
||||
<DD><CODE>java.io.IOException</CODE></DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
@ -353,6 +355,9 @@ public void <B>mark</B>(int limit)</PRE>
|
|||
<DD>Mark method; dummy to satisfy InputStream class.
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Overrides:</B><DD><CODE>mark</CODE> in class <CODE>java.io.InputStream</CODE></DL>
|
||||
</DD>
|
||||
<DD><DL>
|
||||
</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
|
@ -366,6 +371,9 @@ public boolean <B>markSupported</B>()</PRE>
|
|||
<DD>Mark support; not for this class.
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Overrides:</B><DD><CODE>markSupported</CODE> in class <CODE>java.io.InputStream</CODE></DL>
|
||||
</DD>
|
||||
<DD><DL>
|
||||
|
||||
<DT><B>Returns:</B><DD>always false</DL>
|
||||
</DD>
|
||||
|
@ -376,15 +384,18 @@ public boolean <B>markSupported</B>()</PRE>
|
|||
read</H3>
|
||||
<PRE>
|
||||
public int <B>read</B>()
|
||||
throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE>
|
||||
throws java.io.IOException</PRE>
|
||||
<DL>
|
||||
<DD>Read single byte from blob.
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Specified by:</B><DD><CODE>read</CODE> in class <CODE>java.io.InputStream</CODE></DL>
|
||||
</DD>
|
||||
<DD><DL>
|
||||
|
||||
<DT><B>Returns:</B><DD>byte read
|
||||
<DT><B>Throws:</B>
|
||||
<DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE></DL>
|
||||
<DD><CODE>java.io.IOException</CODE></DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
@ -393,15 +404,18 @@ public int <B>read</B>()
|
|||
read</H3>
|
||||
<PRE>
|
||||
public int <B>read</B>(byte[] b)
|
||||
throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE>
|
||||
throws java.io.IOException</PRE>
|
||||
<DL>
|
||||
<DD>Read byte array from blob.
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Overrides:</B><DD><CODE>read</CODE> in class <CODE>java.io.InputStream</CODE></DL>
|
||||
</DD>
|
||||
<DD><DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>b</CODE> - byte array to be filled
|
||||
<DT><B>Returns:</B><DD>number of bytes read
|
||||
<DT><B>Throws:</B>
|
||||
<DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE></DL>
|
||||
<DD><CODE>java.io.IOException</CODE></DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
@ -412,15 +426,18 @@ read</H3>
|
|||
public int <B>read</B>(byte[] b,
|
||||
int off,
|
||||
int len)
|
||||
throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE>
|
||||
throws java.io.IOException</PRE>
|
||||
<DL>
|
||||
<DD>Read slice of byte array from blob.
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Overrides:</B><DD><CODE>read</CODE> in class <CODE>java.io.InputStream</CODE></DL>
|
||||
</DD>
|
||||
<DD><DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>b</CODE> - byte array to be filled<DD><CODE>off</CODE> - offset into byte array<DD><CODE>len</CODE> - length to be read
|
||||
<DT><B>Returns:</B><DD>number of bytes read
|
||||
<DT><B>Throws:</B>
|
||||
<DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE></DL>
|
||||
<DD><CODE>java.io.IOException</CODE></DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
@ -429,14 +446,17 @@ public int <B>read</B>(byte[] b,
|
|||
reset</H3>
|
||||
<PRE>
|
||||
public void <B>reset</B>()
|
||||
throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE>
|
||||
throws java.io.IOException</PRE>
|
||||
<DL>
|
||||
<DD>Reset method; dummy to satisfy InputStream class.
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Overrides:</B><DD><CODE>reset</CODE> in class <CODE>java.io.InputStream</CODE></DL>
|
||||
</DD>
|
||||
<DD><DL>
|
||||
|
||||
<DT><B>Throws:</B>
|
||||
<DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE></DL>
|
||||
<DD><CODE>java.io.IOException</CODE></DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
@ -445,14 +465,17 @@ public void <B>reset</B>()
|
|||
skip</H3>
|
||||
<PRE>
|
||||
public long <B>skip</B>(long n)
|
||||
throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE>
|
||||
throws java.io.IOException</PRE>
|
||||
<DL>
|
||||
<DD>Skip over blob data.
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Overrides:</B><DD><CODE>skip</CODE> in class <CODE>java.io.InputStream</CODE></DL>
|
||||
</DD>
|
||||
<DD><DL>
|
||||
|
||||
<DT><B>Throws:</B>
|
||||
<DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE></DL>
|
||||
<DD><CODE>java.io.IOException</CODE></DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
|
@ -464,12 +487,12 @@ public long <B>skip</B>(long n)
|
|||
<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">
|
||||
<TD COLSPAN=2 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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../SQLite/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>
|
||||
|
@ -485,7 +508,7 @@ public long <B>skip</B>(long n)
|
|||
<A HREF="../SQLite/Blob.html" title="class in SQLite"><B>PREV CLASS</B></A>
|
||||
<A HREF="../SQLite/BlobW.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="../index.html?SQLite/BlobR.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="BlobR.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
|
@ -498,6 +521,7 @@ public long <B>skip</B>(long n)
|
|||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
|
|
|
@ -2,25 +2,30 @@
|
|||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.4.2_03) on Sat Apr 30 14:01:27 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Tue Aug 23 16:11:22 PDT 2011 -->
|
||||
<TITLE>
|
||||
BlobW (SQLite Java Wrapper)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="keywords" CONTENT="SQLite.BlobW class">
|
||||
<META NAME="date" CONTENT="2011-08-23">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
parent.document.title="BlobW (SQLite Java Wrapper)";
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="BlobW (SQLite Java Wrapper)";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
|
@ -28,12 +33,12 @@ function windowTitle()
|
|||
<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">
|
||||
<TD COLSPAN=2 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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../SQLite/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>
|
||||
|
@ -49,7 +54,7 @@ function windowTitle()
|
|||
<A HREF="../SQLite/BlobR.html" title="class in SQLite"><B>PREV CLASS</B></A>
|
||||
<A HREF="../SQLite/BusyHandler.html" title="interface 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="../index.html?SQLite/BlobW.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="BlobW.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
|
@ -62,6 +67,7 @@ function windowTitle()
|
|||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
|
@ -82,13 +88,17 @@ SQLite</FONT>
|
|||
<BR>
|
||||
Class BlobW</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"><A HREF="http://java.sun.com/javase/6/docs/api/java/io/OutputStream.html" title="class or interface in java.io">java.io.OutputStream</A>
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by"><B>SQLite.BlobW</B>
|
||||
java.lang.Object
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by ">java.io.OutputStream
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by "><B>SQLite.BlobW</B>
|
||||
</PRE>
|
||||
<DL>
|
||||
<DT><B>All Implemented Interfaces:</B> <DD>java.io.Closeable, java.io.Flushable</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
<DL>
|
||||
<DT> class <B>BlobW</B><DT>extends <A HREF="http://java.sun.com/javase/6/docs/api/java/io/OutputStream.html" title="class or interface in java.io">OutputStream</A></DL>
|
||||
<DT><PRE> class <B>BlobW</B><DT>extends java.io.OutputStream</DL>
|
||||
</PRE>
|
||||
|
||||
<P>
|
||||
Internal class implementing java.io.OutputStream on
|
||||
|
@ -99,16 +109,13 @@ Internal class implementing java.io.OutputStream on
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Field Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
|
@ -133,12 +140,10 @@ Internal class implementing java.io.OutputStream on
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Constructor Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE>(package private)</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../SQLite/BlobW.html#BlobW(SQLite.Blob)">BlobW</A></B>(<A HREF="../SQLite/Blob.html" title="class in SQLite">Blob</A> blob)</CODE>
|
||||
|
||||
<BR>
|
||||
|
@ -151,8 +156,8 @@ Internal class implementing java.io.OutputStream on
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Method Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
|
@ -200,10 +205,10 @@ Internal class implementing java.io.OutputStream on
|
|||
<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>
|
||||
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
|
||||
</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#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#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>
|
||||
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
|
@ -214,8 +219,8 @@ Internal class implementing java.io.OutputStream on
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Field Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
|
@ -247,8 +252,8 @@ private int <B>pos</B></PRE>
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Constructor Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
|
@ -266,8 +271,8 @@ BlobW</H3>
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Method Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
|
@ -275,14 +280,17 @@ BlobW</H3>
|
|||
close</H3>
|
||||
<PRE>
|
||||
public void <B>close</B>()
|
||||
throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE>
|
||||
throws java.io.IOException</PRE>
|
||||
<DL>
|
||||
<DD>Close this blob OutputStream.
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Specified by:</B><DD><CODE>close</CODE> in interface <CODE>java.io.Closeable</CODE><DT><B>Overrides:</B><DD><CODE>close</CODE> in class <CODE>java.io.OutputStream</CODE></DL>
|
||||
</DD>
|
||||
<DD><DL>
|
||||
|
||||
<DT><B>Throws:</B>
|
||||
<DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE></DL>
|
||||
<DD><CODE>java.io.IOException</CODE></DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
@ -291,14 +299,17 @@ public void <B>close</B>()
|
|||
flush</H3>
|
||||
<PRE>
|
||||
public void <B>flush</B>()
|
||||
throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE>
|
||||
throws java.io.IOException</PRE>
|
||||
<DL>
|
||||
<DD>Flush blob; dummy to satisfy OutputStream class.
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Specified by:</B><DD><CODE>flush</CODE> in interface <CODE>java.io.Flushable</CODE><DT><B>Overrides:</B><DD><CODE>flush</CODE> in class <CODE>java.io.OutputStream</CODE></DL>
|
||||
</DD>
|
||||
<DD><DL>
|
||||
|
||||
<DT><B>Throws:</B>
|
||||
<DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE></DL>
|
||||
<DD><CODE>java.io.IOException</CODE></DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
@ -307,14 +318,17 @@ public void <B>flush</B>()
|
|||
write</H3>
|
||||
<PRE>
|
||||
public void <B>write</B>(byte[] b)
|
||||
throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE>
|
||||
throws java.io.IOException</PRE>
|
||||
<DL>
|
||||
<DD>Write blob data.
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Overrides:</B><DD><CODE>write</CODE> in class <CODE>java.io.OutputStream</CODE></DL>
|
||||
</DD>
|
||||
<DD><DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>b</CODE> - byte array to be written at current position.
|
||||
<DT><B>Throws:</B>
|
||||
<DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE></DL>
|
||||
<DD><CODE>java.io.IOException</CODE></DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
@ -325,14 +339,17 @@ write</H3>
|
|||
public void <B>write</B>(byte[] b,
|
||||
int off,
|
||||
int len)
|
||||
throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE>
|
||||
throws java.io.IOException</PRE>
|
||||
<DL>
|
||||
<DD>Write blob data.
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Overrides:</B><DD><CODE>write</CODE> in class <CODE>java.io.OutputStream</CODE></DL>
|
||||
</DD>
|
||||
<DD><DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>b</CODE> - byte array to be written.<DD><CODE>off</CODE> - offset within byte array<DD><CODE>len</CODE> - length of data to be written
|
||||
<DT><B>Throws:</B>
|
||||
<DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE></DL>
|
||||
<DD><CODE>java.io.IOException</CODE></DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
@ -341,14 +358,17 @@ public void <B>write</B>(byte[] b,
|
|||
write</H3>
|
||||
<PRE>
|
||||
public void <B>write</B>(int v)
|
||||
throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE>
|
||||
throws java.io.IOException</PRE>
|
||||
<DL>
|
||||
<DD>Write blob data.
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Specified by:</B><DD><CODE>write</CODE> in class <CODE>java.io.OutputStream</CODE></DL>
|
||||
</DD>
|
||||
<DD><DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>v</CODE> - byte to be written at current position.
|
||||
<DT><B>Throws:</B>
|
||||
<DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE></DL>
|
||||
<DD><CODE>java.io.IOException</CODE></DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
|
@ -360,12 +380,12 @@ public void <B>write</B>(int v)
|
|||
<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">
|
||||
<TD COLSPAN=2 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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../SQLite/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>
|
||||
|
@ -381,7 +401,7 @@ public void <B>write</B>(int v)
|
|||
<A HREF="../SQLite/BlobR.html" title="class in SQLite"><B>PREV CLASS</B></A>
|
||||
<A HREF="../SQLite/BusyHandler.html" title="interface 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="../index.html?SQLite/BlobW.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="BlobW.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
|
@ -394,6 +414,7 @@ public void <B>write</B>(int v)
|
|||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
|
|
|
@ -2,25 +2,30 @@
|
|||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.4.2_03) on Sat Apr 30 14:01:27 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Tue Aug 23 16:11:22 PDT 2011 -->
|
||||
<TITLE>
|
||||
BusyHandler (SQLite Java Wrapper)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="keywords" CONTENT="SQLite.BusyHandler interface">
|
||||
<META NAME="date" CONTENT="2011-08-23">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
parent.document.title="BusyHandler (SQLite Java Wrapper)";
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="BusyHandler (SQLite Java Wrapper)";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
|
@ -28,12 +33,12 @@ function windowTitle()
|
|||
<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">
|
||||
<TD COLSPAN=2 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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../SQLite/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>
|
||||
|
@ -49,7 +54,7 @@ function windowTitle()
|
|||
<A HREF="../SQLite/BlobW.html" title="class in SQLite"><B>PREV CLASS</B></A>
|
||||
<A HREF="../SQLite/Callback.html" title="interface 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="../index.html?SQLite/BusyHandler.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="BusyHandler.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
|
@ -62,6 +67,7 @@ function windowTitle()
|
|||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
|
@ -83,7 +89,8 @@ SQLite</FONT>
|
|||
Interface BusyHandler</H2>
|
||||
<HR>
|
||||
<DL>
|
||||
<DT>public interface <B>BusyHandler</B></DL>
|
||||
<DT><PRE>public interface <B>BusyHandler</B></DL>
|
||||
</PRE>
|
||||
|
||||
<P>
|
||||
Callback interface for SQLite's user defined busy handler.
|
||||
|
@ -93,27 +100,19 @@ Callback interface for SQLite's user defined busy handler.
|
|||
<HR>
|
||||
|
||||
<P>
|
||||
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
||||
|
||||
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
|
||||
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
|
||||
|
||||
<!-- ========== 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>
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Method Summary</B></FONT></TH>
|
||||
</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/BusyHandler.html#busy(java.lang.String, int)">busy</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> table,
|
||||
<TD><CODE><B><A HREF="../SQLite/BusyHandler.html#busy(java.lang.String, int)">busy</A></B>(java.lang.String table,
|
||||
int count)</CODE>
|
||||
|
||||
<BR>
|
||||
|
@ -124,27 +123,21 @@ Callback interface for SQLite's user defined busy handler.
|
|||
|
||||
<P>
|
||||
|
||||
<!-- ============ FIELD DETAIL =========== -->
|
||||
|
||||
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
|
||||
|
||||
<!-- ============ 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>
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Method Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="busy(java.lang.String, int)"><!-- --></A><H3>
|
||||
busy</H3>
|
||||
<PRE>
|
||||
public boolean <B>busy</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> table,
|
||||
int count)</PRE>
|
||||
boolean <B>busy</B>(java.lang.String table,
|
||||
int count)</PRE>
|
||||
<DL>
|
||||
<DD>Invoked when a table is locked by another process
|
||||
or thread. The method should return true for waiting
|
||||
|
@ -164,12 +157,12 @@ public boolean <B>busy</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/l
|
|||
<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">
|
||||
<TD COLSPAN=2 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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../SQLite/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>
|
||||
|
@ -185,7 +178,7 @@ public boolean <B>busy</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/l
|
|||
<A HREF="../SQLite/BlobW.html" title="class in SQLite"><B>PREV CLASS</B></A>
|
||||
<A HREF="../SQLite/Callback.html" title="interface 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="../index.html?SQLite/BusyHandler.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="BusyHandler.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
|
@ -198,6 +191,7 @@ public boolean <B>busy</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/l
|
|||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
|
|
|
@ -2,25 +2,30 @@
|
|||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.4.2_03) on Sat Apr 30 14:01:27 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Tue Aug 23 16:11:22 PDT 2011 -->
|
||||
<TITLE>
|
||||
Callback (SQLite Java Wrapper)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="keywords" CONTENT="SQLite.Callback interface">
|
||||
<META NAME="date" CONTENT="2011-08-23">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
parent.document.title="Callback (SQLite Java Wrapper)";
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Callback (SQLite Java Wrapper)";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
|
@ -28,12 +33,12 @@ function windowTitle()
|
|||
<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">
|
||||
<TD COLSPAN=2 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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../SQLite/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>
|
||||
|
@ -49,7 +54,7 @@ function windowTitle()
|
|||
<A HREF="../SQLite/BusyHandler.html" title="interface in SQLite"><B>PREV CLASS</B></A>
|
||||
<A HREF="../SQLite/Constants.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="../index.html?SQLite/Callback.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="Callback.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
|
@ -62,6 +67,7 @@ function windowTitle()
|
|||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
|
@ -86,7 +92,8 @@ Interface Callback</H2>
|
|||
</DL>
|
||||
<HR>
|
||||
<DL>
|
||||
<DT>public interface <B>Callback</B></DL>
|
||||
<DT><PRE>public interface <B>Callback</B></DL>
|
||||
</PRE>
|
||||
|
||||
<P>
|
||||
Callback interface for SQLite's query results.
|
||||
|
@ -125,27 +132,19 @@ Callback interface for SQLite's query results.
|
|||
<HR>
|
||||
|
||||
<P>
|
||||
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
||||
|
||||
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
|
||||
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
|
||||
|
||||
<!-- ========== 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>
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Method Summary</B></FONT></TH>
|
||||
</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/Callback.html#columns(java.lang.String[])">columns</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[] coldata)</CODE>
|
||||
<TD><CODE><B><A HREF="../SQLite/Callback.html#columns(java.lang.String[])">columns</A></B>(java.lang.String[] coldata)</CODE>
|
||||
|
||||
<BR>
|
||||
Reports column names of the query result.</TD>
|
||||
|
@ -153,7 +152,7 @@ Callback interface for SQLite's query results.
|
|||
<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/Callback.html#newrow(java.lang.String[])">newrow</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[] rowdata)</CODE>
|
||||
<TD><CODE><B><A HREF="../SQLite/Callback.html#newrow(java.lang.String[])">newrow</A></B>(java.lang.String[] rowdata)</CODE>
|
||||
|
||||
<BR>
|
||||
Reports row data of the query result.</TD>
|
||||
|
@ -161,7 +160,7 @@ Callback interface for SQLite's query results.
|
|||
<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/Callback.html#types(java.lang.String[])">types</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[] types)</CODE>
|
||||
<TD><CODE><B><A HREF="../SQLite/Callback.html#types(java.lang.String[])">types</A></B>(java.lang.String[] types)</CODE>
|
||||
|
||||
<BR>
|
||||
Reports type names of the columns of the query result.</TD>
|
||||
|
@ -170,26 +169,20 @@ Callback interface for SQLite's query results.
|
|||
|
||||
<P>
|
||||
|
||||
<!-- ============ FIELD DETAIL =========== -->
|
||||
|
||||
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
|
||||
|
||||
<!-- ============ 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>
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Method Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="columns(java.lang.String[])"><!-- --></A><H3>
|
||||
columns</H3>
|
||||
<PRE>
|
||||
public void <B>columns</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[] coldata)</PRE>
|
||||
void <B>columns</B>(java.lang.String[] coldata)</PRE>
|
||||
<DL>
|
||||
<DD>Reports column names of the query result.
|
||||
This method is invoked first (and once) when
|
||||
|
@ -204,7 +197,7 @@ public void <B>columns</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/l
|
|||
<A NAME="newrow(java.lang.String[])"><!-- --></A><H3>
|
||||
newrow</H3>
|
||||
<PRE>
|
||||
public boolean <B>newrow</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[] rowdata)</PRE>
|
||||
boolean <B>newrow</B>(java.lang.String[] rowdata)</PRE>
|
||||
<DL>
|
||||
<DD>Reports row data of the query result.
|
||||
This method is invoked for each row of the
|
||||
|
@ -220,7 +213,7 @@ public boolean <B>newrow</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java
|
|||
<A NAME="types(java.lang.String[])"><!-- --></A><H3>
|
||||
types</H3>
|
||||
<PRE>
|
||||
public void <B>types</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[] types)</PRE>
|
||||
void <B>types</B>(java.lang.String[] types)</PRE>
|
||||
<DL>
|
||||
<DD>Reports type names of the columns of the query result.
|
||||
This is available from SQLite 2.6.0 on and needs
|
||||
|
@ -239,12 +232,12 @@ public void <B>types</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lan
|
|||
<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">
|
||||
<TD COLSPAN=2 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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../SQLite/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>
|
||||
|
@ -260,7 +253,7 @@ public void <B>types</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lan
|
|||
<A HREF="../SQLite/BusyHandler.html" title="interface in SQLite"><B>PREV CLASS</B></A>
|
||||
<A HREF="../SQLite/Constants.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="../index.html?SQLite/Callback.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="Callback.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
|
@ -273,6 +266,7 @@ public void <B>types</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lan
|
|||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
|
|
|
@ -2,25 +2,30 @@
|
|||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.4.2_03) on Sat Apr 30 14:01:27 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Tue Aug 23 16:11:22 PDT 2011 -->
|
||||
<TITLE>
|
||||
Constants (SQLite Java Wrapper)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="keywords" CONTENT="SQLite.Constants class">
|
||||
<META NAME="date" CONTENT="2011-08-23">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
parent.document.title="Constants (SQLite Java Wrapper)";
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Constants (SQLite Java Wrapper)";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
|
@ -28,12 +33,12 @@ function windowTitle()
|
|||
<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">
|
||||
<TD COLSPAN=2 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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../SQLite/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>
|
||||
|
@ -49,7 +54,7 @@ function windowTitle()
|
|||
<A HREF="../SQLite/Callback.html" title="interface in SQLite"><B>PREV CLASS</B></A>
|
||||
<A HREF="../SQLite/Database.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="../index.html?SQLite/Constants.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="Constants.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
|
@ -62,6 +67,7 @@ function windowTitle()
|
|||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
|
@ -82,12 +88,13 @@ SQLite</FONT>
|
|||
<BR>
|
||||
Class Constants</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.Constants</B>
|
||||
java.lang.Object
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by "><B>SQLite.Constants</B>
|
||||
</PRE>
|
||||
<HR>
|
||||
<DL>
|
||||
<DT>public final class <B>Constants</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>
|
||||
<DT><PRE>public final class <B>Constants</B><DT>extends java.lang.Object</DL>
|
||||
</PRE>
|
||||
|
||||
<P>
|
||||
Container for SQLite constants.
|
||||
|
@ -97,16 +104,13 @@ Container for SQLite constants.
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Field Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
|
@ -803,8 +807,8 @@ Container for SQLite constants.
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Constructor Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE><B><A HREF="../SQLite/Constants.html#Constants()">Constants</A></B>()</CODE>
|
||||
|
@ -816,13 +820,20 @@ Container for SQLite constants.
|
|||
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
|
||||
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
||||
<A NAME="method_summary"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Method Summary</B></FONT></TH>
|
||||
</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>
|
||||
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
|
||||
</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#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#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>
|
||||
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
|
@ -833,8 +844,8 @@ Container for SQLite constants.
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Field Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
|
@ -1702,8 +1713,8 @@ public static final int <B>SQLITE3_TEXT</B></PRE>
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Constructor Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
|
@ -1713,9 +1724,6 @@ Constants</H3>
|
|||
public <B>Constants</B>()</PRE>
|
||||
<DL>
|
||||
</DL>
|
||||
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<HR>
|
||||
|
||||
|
@ -1725,12 +1733,12 @@ public <B>Constants</B>()</PRE>
|
|||
<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">
|
||||
<TD COLSPAN=2 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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../SQLite/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>
|
||||
|
@ -1746,7 +1754,7 @@ public <B>Constants</B>()</PRE>
|
|||
<A HREF="../SQLite/Callback.html" title="interface in SQLite"><B>PREV CLASS</B></A>
|
||||
<A HREF="../SQLite/Database.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="../index.html?SQLite/Constants.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="Constants.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
|
@ -1759,6 +1767,7 @@ public <B>Constants</B>()</PRE>
|
|||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
|
|
|
@ -2,25 +2,30 @@
|
|||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.4.2_03) on Sat Apr 30 14:01:27 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Tue Aug 23 16:11:22 PDT 2011 -->
|
||||
<TITLE>
|
||||
Database (SQLite Java Wrapper)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="keywords" CONTENT="SQLite.Database class">
|
||||
<META NAME="date" CONTENT="2011-08-23">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
parent.document.title="Database (SQLite Java Wrapper)";
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Database (SQLite Java Wrapper)";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
|
@ -28,12 +33,12 @@ function windowTitle()
|
|||
<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">
|
||||
<TD COLSPAN=2 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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../SQLite/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>
|
||||
|
@ -49,7 +54,7 @@ function windowTitle()
|
|||
<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="../index.html?SQLite/Database.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="Database.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
|
@ -62,6 +67,7 @@ function windowTitle()
|
|||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
|
@ -82,12 +88,13 @@ 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>
|
||||
java.lang.Object
|
||||
<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>
|
||||
<DT><PRE>public class <B>Database</B><DT>extends java.lang.Object</DL>
|
||||
</PRE>
|
||||
|
||||
<P>
|
||||
Main class wrapping an SQLite database.
|
||||
|
@ -97,16 +104,13 @@ Main class wrapping an SQLite database.
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Field Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
|
@ -131,8 +135,8 @@ Main class wrapping an SQLite database.
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Constructor Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE><B><A HREF="../SQLite/Database.html#Database()">Database</A></B>()</CODE>
|
||||
|
@ -147,17 +151,17 @@ Main class wrapping an SQLite database.
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Method Summary</B></FONT></TH>
|
||||
</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,
|
||||
java.lang.String 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>
|
||||
java.lang.String srcName)</CODE>
|
||||
|
||||
<BR>
|
||||
</TD>
|
||||
|
@ -197,7 +201,7 @@ Main class wrapping an SQLite database.
|
|||
<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>
|
||||
<TD><CODE><B><A HREF="../SQLite/Database.html#_complete(java.lang.String)">_complete</A></B>(java.lang.String sql)</CODE>
|
||||
|
||||
<BR>
|
||||
</TD>
|
||||
|
@ -205,7 +209,7 @@ Main class wrapping an SQLite database.
|
|||
<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,
|
||||
<TD><CODE><B><A HREF="../SQLite/Database.html#_create_aggregate(java.lang.String, int, SQLite.Function)">_create_aggregate</A></B>(java.lang.String name,
|
||||
int nargs,
|
||||
<A HREF="../SQLite/Function.html" title="interface in SQLite">Function</A> f)</CODE>
|
||||
|
||||
|
@ -215,7 +219,7 @@ Main class wrapping an SQLite database.
|
|||
<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,
|
||||
<TD><CODE><B><A HREF="../SQLite/Database.html#_create_function(java.lang.String, int, SQLite.Function)">_create_function</A></B>(java.lang.String name,
|
||||
int nargs,
|
||||
<A HREF="../SQLite/Function.html" title="interface in SQLite">Function</A> f)</CODE>
|
||||
|
||||
|
@ -242,7 +246,7 @@ Main class wrapping an SQLite database.
|
|||
</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>
|
||||
<CODE>private java.lang.String</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../SQLite/Database.html#_errmsg()">_errmsg</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
|
@ -251,7 +255,7 @@ Main class wrapping an SQLite database.
|
|||
<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,
|
||||
<TD><CODE><B><A HREF="../SQLite/Database.html#_exec(java.lang.String, SQLite.Callback)">_exec</A></B>(java.lang.String sql,
|
||||
<A HREF="../SQLite/Callback.html" title="interface in SQLite">Callback</A> cb)</CODE>
|
||||
|
||||
<BR>
|
||||
|
@ -260,9 +264,9 @@ Main class wrapping an SQLite database.
|
|||
<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,
|
||||
<TD><CODE><B><A HREF="../SQLite/Database.html#_exec(java.lang.String, SQLite.Callback, java.lang.String[])">_exec</A></B>(java.lang.String 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>
|
||||
java.lang.String[] args)</CODE>
|
||||
|
||||
<BR>
|
||||
</TD>
|
||||
|
@ -278,7 +282,7 @@ Main class wrapping an SQLite database.
|
|||
<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,
|
||||
<TD><CODE><B><A HREF="../SQLite/Database.html#_function_type(java.lang.String, int)">_function_type</A></B>(java.lang.String name,
|
||||
int type)</CODE>
|
||||
|
||||
<BR>
|
||||
|
@ -311,7 +315,7 @@ Main class wrapping an SQLite database.
|
|||
<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>
|
||||
<TD><CODE><B><A HREF="../SQLite/Database.html#_open_aux_file(java.lang.String)">_open_aux_file</A></B>(java.lang.String filename)</CODE>
|
||||
|
||||
<BR>
|
||||
</TD>
|
||||
|
@ -319,9 +323,9 @@ Main class wrapping an SQLite database.
|
|||
<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,
|
||||
<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>(java.lang.String db,
|
||||
java.lang.String table,
|
||||
java.lang.String column,
|
||||
long row,
|
||||
boolean rw,
|
||||
<A HREF="../SQLite/Blob.html" title="class in SQLite">Blob</A> blob)</CODE>
|
||||
|
@ -332,7 +336,7 @@ Main class wrapping an SQLite database.
|
|||
<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,
|
||||
<TD><CODE><B><A HREF="../SQLite/Database.html#_open(java.lang.String, int)">_open</A></B>(java.lang.String filename,
|
||||
int mode)</CODE>
|
||||
|
||||
<BR>
|
||||
|
@ -341,9 +345,9 @@ Main class wrapping an SQLite database.
|
|||
<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,
|
||||
<TD><CODE><B><A HREF="../SQLite/Database.html#_open4(java.lang.String, int, java.lang.String, boolean)">_open4</A></B>(java.lang.String 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,
|
||||
java.lang.String vfs,
|
||||
boolean ver2)</CODE>
|
||||
|
||||
<BR>
|
||||
|
@ -385,7 +389,7 @@ Main class wrapping an SQLite database.
|
|||
<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>
|
||||
<TD><CODE><B><A HREF="../SQLite/Database.html#_set_encoding(java.lang.String)">_set_encoding</A></B>(java.lang.String enc)</CODE>
|
||||
|
||||
<BR>
|
||||
</TD>
|
||||
|
@ -412,8 +416,8 @@ Main class wrapping an SQLite database.
|
|||
<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>
|
||||
java.lang.String destName,
|
||||
java.lang.String srcName)</CODE>
|
||||
|
||||
<BR>
|
||||
Initiate a database backup, SQLite 3.x only.</TD>
|
||||
|
@ -455,7 +459,7 @@ Main class wrapping an SQLite database.
|
|||
<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>
|
||||
<TD><CODE><B><A HREF="../SQLite/Database.html#compile(java.lang.String)">compile</A></B>(java.lang.String sql)</CODE>
|
||||
|
||||
<BR>
|
||||
Compile and return SQLite VM for SQL statement.</TD>
|
||||
|
@ -463,8 +467,8 @@ Main class wrapping an SQLite database.
|
|||
<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>
|
||||
<TD><CODE><B><A HREF="../SQLite/Database.html#compile(java.lang.String, java.lang.String[])">compile</A></B>(java.lang.String sql,
|
||||
java.lang.String[] args)</CODE>
|
||||
|
||||
<BR>
|
||||
Compile and return SQLite VM for SQL statement.</TD>
|
||||
|
@ -472,7 +476,7 @@ Main class wrapping an SQLite database.
|
|||
<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>
|
||||
<TD><CODE><B><A HREF="../SQLite/Database.html#complete(java.lang.String)">complete</A></B>(java.lang.String sql)</CODE>
|
||||
|
||||
<BR>
|
||||
See if an SQL statement is complete.</TD>
|
||||
|
@ -480,7 +484,7 @@ Main class wrapping an SQLite database.
|
|||
<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,
|
||||
<TD><CODE><B><A HREF="../SQLite/Database.html#create_aggregate(java.lang.String, int, SQLite.Function)">create_aggregate</A></B>(java.lang.String name,
|
||||
int nargs,
|
||||
<A HREF="../SQLite/Function.html" title="interface in SQLite">Function</A> f)</CODE>
|
||||
|
||||
|
@ -490,7 +494,7 @@ Main class wrapping an SQLite database.
|
|||
<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,
|
||||
<TD><CODE><B><A HREF="../SQLite/Database.html#create_function(java.lang.String, int, SQLite.Function)">create_function</A></B>(java.lang.String name,
|
||||
int nargs,
|
||||
<A HREF="../SQLite/Function.html" title="interface in SQLite">Function</A> f)</CODE>
|
||||
|
||||
|
@ -509,7 +513,7 @@ Main class wrapping an SQLite database.
|
|||
</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>
|
||||
<CODE> java.lang.String</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../SQLite/Database.html#dbversion()">dbversion</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
|
@ -517,7 +521,7 @@ Main class wrapping an SQLite database.
|
|||
</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>
|
||||
<CODE> java.lang.String</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../SQLite/Database.html#error_message()">error_message</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
|
@ -525,7 +529,7 @@ Main class wrapping an SQLite database.
|
|||
</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>
|
||||
<CODE>static java.lang.String</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../SQLite/Database.html#error_string(int)">error_string</A></B>(int error_code)</CODE>
|
||||
|
||||
<BR>
|
||||
|
@ -534,7 +538,7 @@ Main class wrapping an SQLite database.
|
|||
<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,
|
||||
<TD><CODE><B><A HREF="../SQLite/Database.html#exec(java.lang.String, SQLite.Callback)">exec</A></B>(java.lang.String sql,
|
||||
<A HREF="../SQLite/Callback.html" title="interface in SQLite">Callback</A> cb)</CODE>
|
||||
|
||||
<BR>
|
||||
|
@ -544,9 +548,9 @@ Main class wrapping an SQLite database.
|
|||
<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,
|
||||
<TD><CODE><B><A HREF="../SQLite/Database.html#exec(java.lang.String, SQLite.Callback, java.lang.String[])">exec</A></B>(java.lang.String 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>
|
||||
java.lang.String[] args)</CODE>
|
||||
|
||||
<BR>
|
||||
Execute an SQL statement and invoke callback methods
|
||||
|
@ -563,7 +567,7 @@ Main class wrapping an SQLite database.
|
|||
<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,
|
||||
<TD><CODE><B><A HREF="../SQLite/Database.html#function_type(java.lang.String, int)">function_type</A></B>(java.lang.String name,
|
||||
int type)</CODE>
|
||||
|
||||
<BR>
|
||||
|
@ -572,7 +576,7 @@ Main class wrapping an SQLite database.
|
|||
<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>
|
||||
<TD><CODE><B><A HREF="../SQLite/Database.html#get_table(java.lang.String)">get_table</A></B>(java.lang.String sql)</CODE>
|
||||
|
||||
<BR>
|
||||
Convenience method to retrieve an entire result
|
||||
|
@ -581,7 +585,7 @@ Main class wrapping an SQLite database.
|
|||
<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,
|
||||
<TD><CODE><B><A HREF="../SQLite/Database.html#get_table(java.lang.String, int)">get_table</A></B>(java.lang.String sql,
|
||||
int maxrows)</CODE>
|
||||
|
||||
<BR>
|
||||
|
@ -591,9 +595,9 @@ Main class wrapping an SQLite database.
|
|||
<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,
|
||||
<TD><CODE><B><A HREF="../SQLite/Database.html#get_table(java.lang.String, int, java.lang.String[])">get_table</A></B>(java.lang.String 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>
|
||||
java.lang.String[] args)</CODE>
|
||||
|
||||
<BR>
|
||||
Convenience method to retrieve an entire result
|
||||
|
@ -602,8 +606,8 @@ Main class wrapping an SQLite database.
|
|||
<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>
|
||||
<TD><CODE><B><A HREF="../SQLite/Database.html#get_table(java.lang.String, java.lang.String[])">get_table</A></B>(java.lang.String sql,
|
||||
java.lang.String[] args)</CODE>
|
||||
|
||||
<BR>
|
||||
Convenience method to retrieve an entire result
|
||||
|
@ -612,8 +616,8 @@ Main class wrapping an SQLite database.
|
|||
<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,
|
||||
<TD><CODE><B><A HREF="../SQLite/Database.html#get_table(java.lang.String, java.lang.String[], SQLite.TableResult)">get_table</A></B>(java.lang.String sql,
|
||||
java.lang.String[] args,
|
||||
<A HREF="../SQLite/TableResult.html" title="class in SQLite">TableResult</A> tbl)</CODE>
|
||||
|
||||
<BR>
|
||||
|
@ -663,7 +667,7 @@ Main class wrapping an SQLite database.
|
|||
<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>
|
||||
<TD><CODE><B><A HREF="../SQLite/Database.html#key(java.lang.String)">key</A></B>(java.lang.String skey)</CODE>
|
||||
|
||||
<BR>
|
||||
Specify key for encrypted database.</TD>
|
||||
|
@ -697,7 +701,7 @@ Main class wrapping an SQLite database.
|
|||
<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>
|
||||
<TD><CODE><B><A HREF="../SQLite/Database.html#long_from_julian(java.lang.String)">long_from_julian</A></B>(java.lang.String s)</CODE>
|
||||
|
||||
<BR>
|
||||
Make long value from julian date for java.lang.Date</TD>
|
||||
|
@ -705,7 +709,7 @@ Main class wrapping an SQLite database.
|
|||
<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>
|
||||
<TD><CODE><B><A HREF="../SQLite/Database.html#open_aux_file(java.lang.String)">open_aux_file</A></B>(java.lang.String filename)</CODE>
|
||||
|
||||
<BR>
|
||||
Open SQLite auxiliary database file for temporary
|
||||
|
@ -714,9 +718,9 @@ Main class wrapping an SQLite database.
|
|||
<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,
|
||||
<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>(java.lang.String db,
|
||||
java.lang.String table,
|
||||
java.lang.String column,
|
||||
long row,
|
||||
boolean rw)</CODE>
|
||||
|
||||
|
@ -726,7 +730,7 @@ Main class wrapping an SQLite database.
|
|||
<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,
|
||||
<TD><CODE><B><A HREF="../SQLite/Database.html#open(java.lang.String, int)">open</A></B>(java.lang.String filename,
|
||||
int mode)</CODE>
|
||||
|
||||
<BR>
|
||||
|
@ -735,9 +739,9 @@ Main class wrapping an SQLite database.
|
|||
<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,
|
||||
<TD><CODE><B><A HREF="../SQLite/Database.html#open(java.lang.String, int, java.lang.String)">open</A></B>(java.lang.String 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>
|
||||
java.lang.String vfs)</CODE>
|
||||
|
||||
<BR>
|
||||
Open an SQLite database file.</TD>
|
||||
|
@ -745,9 +749,9 @@ Main class wrapping an SQLite database.
|
|||
<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,
|
||||
<TD><CODE><B><A HREF="../SQLite/Database.html#open(java.lang.String, int, java.lang.String, boolean)">open</A></B>(java.lang.String 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,
|
||||
java.lang.String vfs,
|
||||
boolean ver2)</CODE>
|
||||
|
||||
<BR>
|
||||
|
@ -756,7 +760,7 @@ Main class wrapping an SQLite database.
|
|||
<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>
|
||||
<TD><CODE><B><A HREF="../SQLite/Database.html#prepare(java.lang.String)">prepare</A></B>(java.lang.String sql)</CODE>
|
||||
|
||||
<BR>
|
||||
Prepare and return SQLite3 statement for SQL.</TD>
|
||||
|
@ -790,7 +794,7 @@ Main class wrapping an SQLite database.
|
|||
<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>
|
||||
<TD><CODE><B><A HREF="../SQLite/Database.html#rekey(java.lang.String)">rekey</A></B>(java.lang.String skey)</CODE>
|
||||
|
||||
<BR>
|
||||
Change the key of a encrypted database.</TD>
|
||||
|
@ -806,7 +810,7 @@ Main class wrapping an SQLite database.
|
|||
<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>
|
||||
<TD><CODE><B><A HREF="../SQLite/Database.html#set_encoding(java.lang.String)">set_encoding</A></B>(java.lang.String enc)</CODE>
|
||||
|
||||
<BR>
|
||||
Set character encoding.</TD>
|
||||
|
@ -832,7 +836,7 @@ Main class wrapping an SQLite database.
|
|||
<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,
|
||||
<TD><CODE><B><A HREF="../SQLite/Database.html#stmt_prepare(java.lang.String, SQLite.Stmt)">stmt_prepare</A></B>(java.lang.String sql,
|
||||
<A HREF="../SQLite/Stmt.html" title="class in SQLite">Stmt</A> stmt)</CODE>
|
||||
|
||||
<BR>
|
||||
|
@ -848,7 +852,7 @@ Main class wrapping an SQLite database.
|
|||
</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>
|
||||
<CODE>static java.lang.String</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../SQLite/Database.html#version()">version</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
|
@ -857,9 +861,9 @@ Main class wrapping an SQLite database.
|
|||
<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,
|
||||
<TD><CODE><B><A HREF="../SQLite/Database.html#vm_compile_args(java.lang.String, SQLite.Vm, java.lang.String[])">vm_compile_args</A></B>(java.lang.String 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>
|
||||
java.lang.String[] args)</CODE>
|
||||
|
||||
<BR>
|
||||
Internal compile method, SQLite 3.0 only.</TD>
|
||||
|
@ -867,7 +871,7 @@ Main class wrapping an SQLite database.
|
|||
<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,
|
||||
<TD><CODE><B><A HREF="../SQLite/Database.html#vm_compile(java.lang.String, SQLite.Vm)">vm_compile</A></B>(java.lang.String sql,
|
||||
<A HREF="../SQLite/Vm.html" title="class in SQLite">Vm</A> vm)</CODE>
|
||||
|
||||
<BR>
|
||||
|
@ -877,10 +881,10 @@ Main class wrapping an SQLite database.
|
|||
<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>
|
||||
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
|
||||
</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>
|
||||
<TD><CODE>clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
|
@ -891,8 +895,8 @@ Main class wrapping an SQLite database.
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Field Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
|
@ -924,8 +928,8 @@ protected long <B>handle</B></PRE>
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Constructor Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
|
@ -941,8 +945,8 @@ public <B>Database</B>()</PRE>
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Method Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
|
@ -951,9 +955,9 @@ _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,
|
||||
java.lang.String 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)
|
||||
java.lang.String srcName)
|
||||
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
||||
<DL>
|
||||
<DD><DL>
|
||||
|
@ -1014,7 +1018,7 @@ private void <B>_close</B>()
|
|||
<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>
|
||||
private static boolean <B>_complete</B>(java.lang.String sql)</PRE>
|
||||
<DL>
|
||||
<DD><DL>
|
||||
</DL>
|
||||
|
@ -1025,7 +1029,7 @@ private static boolean <B>_complete</B>(<A HREF="http://java.sun.com/javase/6/do
|
|||
<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,
|
||||
private void <B>_create_aggregate</B>(java.lang.String name,
|
||||
int nargs,
|
||||
<A HREF="../SQLite/Function.html" title="interface in SQLite">Function</A> f)</PRE>
|
||||
<DL>
|
||||
|
@ -1038,7 +1042,7 @@ private void <B>_create_aggregate</B>(<A HREF="http://java.sun.com/javase/6/docs
|
|||
<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,
|
||||
private void <B>_create_function</B>(java.lang.String name,
|
||||
int nargs,
|
||||
<A HREF="../SQLite/Function.html" title="interface in SQLite">Function</A> f)</PRE>
|
||||
<DL>
|
||||
|
@ -1078,7 +1082,7 @@ protected static boolean <B>_enable_shared_cache</B>(boolean onoff)</PRE>
|
|||
<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>
|
||||
private java.lang.String <B>_errmsg</B>()</PRE>
|
||||
<DL>
|
||||
<DD><DL>
|
||||
</DL>
|
||||
|
@ -1089,7 +1093,7 @@ private <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" ti
|
|||
<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,
|
||||
private void <B>_exec</B>(java.lang.String 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>
|
||||
|
@ -1104,9 +1108,9 @@ private void <B>_exec</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/la
|
|||
<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,
|
||||
private void <B>_exec</B>(java.lang.String 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)
|
||||
java.lang.String[] args)
|
||||
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
||||
<DL>
|
||||
<DD><DL>
|
||||
|
@ -1131,7 +1135,7 @@ private void <B>_finalize</B>()</PRE>
|
|||
<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,
|
||||
private void <B>_function_type</B>(java.lang.String name,
|
||||
int type)</PRE>
|
||||
<DL>
|
||||
<DD><DL>
|
||||
|
@ -1176,7 +1180,7 @@ private long <B>_last_insert_rowid</B>()</PRE>
|
|||
<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)
|
||||
private void <B>_open_aux_file</B>(java.lang.String filename)
|
||||
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
||||
<DL>
|
||||
<DD><DL>
|
||||
|
@ -1190,9 +1194,9 @@ private void <B>_open_aux_file</B>(<A HREF="http://java.sun.com/javase/6/docs/ap
|
|||
<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,
|
||||
private void <B>_open_blob</B>(java.lang.String db,
|
||||
java.lang.String table,
|
||||
java.lang.String column,
|
||||
long row,
|
||||
boolean rw,
|
||||
<A HREF="../SQLite/Blob.html" title="class in SQLite">Blob</A> blob)
|
||||
|
@ -1211,7 +1215,7 @@ private void <B>_open_blob</B>(<A HREF="http://java.sun.com/javase/6/docs/api/ja
|
|||
<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,
|
||||
private void <B>_open</B>(java.lang.String filename,
|
||||
int mode)
|
||||
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
||||
<DL>
|
||||
|
@ -1226,9 +1230,9 @@ private void <B>_open</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/la
|
|||
<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,
|
||||
private void <B>_open4</B>(java.lang.String 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,
|
||||
java.lang.String vfs,
|
||||
boolean ver2)
|
||||
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
||||
<DL>
|
||||
|
@ -1288,7 +1292,7 @@ private void <B>_set_authorizer</B>(<A HREF="../SQLite/Authorizer.html" title="i
|
|||
<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)
|
||||
private void <B>_set_encoding</B>(java.lang.String enc)
|
||||
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
||||
<DL>
|
||||
<DD><DL>
|
||||
|
@ -1327,8 +1331,8 @@ private void <B>_trace</B>(<A HREF="../SQLite/Trace.html" title="interface in SQ
|
|||
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)
|
||||
java.lang.String destName,
|
||||
java.lang.String srcName)
|
||||
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
||||
<DL>
|
||||
<DD>Initiate a database backup, SQLite 3.x only.
|
||||
|
@ -1402,7 +1406,7 @@ public void <B>close</B>()
|
|||
<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)
|
||||
public <A HREF="../SQLite/Vm.html" title="class in SQLite">Vm</A> <B>compile</B>(java.lang.String 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
|
||||
|
@ -1420,8 +1424,8 @@ public <A HREF="../SQLite/Vm.html" title="class in SQLite">Vm</A> <B>compile</B>
|
|||
<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)
|
||||
public <A HREF="../SQLite/Vm.html" title="class in SQLite">Vm</A> <B>compile</B>(java.lang.String sql,
|
||||
java.lang.String[] 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
|
||||
|
@ -1439,7 +1443,7 @@ public <A HREF="../SQLite/Vm.html" title="class in SQLite">Vm</A> <B>compile</B>
|
|||
<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>
|
||||
public static boolean <B>complete</B>(java.lang.String sql)</PRE>
|
||||
<DL>
|
||||
<DD>See if an SQL statement is complete.
|
||||
Returns true if the input string comprises
|
||||
|
@ -1454,7 +1458,7 @@ public static boolean <B>complete</B>(<A HREF="http://java.sun.com/javase/6/docs
|
|||
<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,
|
||||
public void <B>create_aggregate</B>(java.lang.String name,
|
||||
int nargs,
|
||||
<A HREF="../SQLite/Function.html" title="interface in SQLite">Function</A> f)</PRE>
|
||||
<DL>
|
||||
|
@ -1469,7 +1473,7 @@ public void <B>create_aggregate</B>(<A HREF="http://java.sun.com/javase/6/docs/a
|
|||
<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,
|
||||
public void <B>create_function</B>(java.lang.String name,
|
||||
int nargs,
|
||||
<A HREF="../SQLite/Function.html" title="interface in SQLite">Function</A> f)</PRE>
|
||||
<DL>
|
||||
|
@ -1503,7 +1507,7 @@ public int <B>db_status</B>(int op,
|
|||
<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>
|
||||
public java.lang.String <B>dbversion</B>()</PRE>
|
||||
<DL>
|
||||
<DD>Return SQLite version number as string.
|
||||
If the database is not open, <tt>unknown</tt> is returned.
|
||||
|
@ -1517,7 +1521,7 @@ public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" tit
|
|||
<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>
|
||||
public java.lang.String <B>error_message</B>()</PRE>
|
||||
<DL>
|
||||
<DD>Return last error message of SQLite3 engine.
|
||||
<P>
|
||||
|
@ -1531,7 +1535,7 @@ public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" tit
|
|||
<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>
|
||||
public static java.lang.String <B>error_string</B>(int error_code)</PRE>
|
||||
<DL>
|
||||
<DD>Return error string given SQLite error code (SQLite2).
|
||||
<P>
|
||||
|
@ -1545,7 +1549,7 @@ public static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.ht
|
|||
<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,
|
||||
public void <B>exec</B>(java.lang.String 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>
|
||||
|
@ -1567,9 +1571,9 @@ public void <B>exec</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang
|
|||
<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,
|
||||
public void <B>exec</B>(java.lang.String 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)
|
||||
java.lang.String[] args)
|
||||
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
||||
<DL>
|
||||
<DD>Execute an SQL statement and invoke callback methods
|
||||
|
@ -1605,6 +1609,9 @@ protected void <B>finalize</B>()</PRE>
|
|||
<DD>Destructor for object.
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Overrides:</B><DD><CODE>finalize</CODE> in class <CODE>java.lang.Object</CODE></DL>
|
||||
</DD>
|
||||
<DD><DL>
|
||||
</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
|
@ -1613,7 +1620,7 @@ protected void <B>finalize</B>()</PRE>
|
|||
<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,
|
||||
public void <B>function_type</B>(java.lang.String name,
|
||||
int type)</PRE>
|
||||
<DL>
|
||||
<DD>Set function return type. Only available in SQLite 2.6.0 and
|
||||
|
@ -1628,7 +1635,7 @@ public void <B>function_type</B>(<A HREF="http://java.sun.com/javase/6/docs/api/
|
|||
<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)
|
||||
public <A HREF="../SQLite/TableResult.html" title="class in SQLite">TableResult</A> <B>get_table</B>(java.lang.String sql)
|
||||
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
||||
<DL>
|
||||
<DD>Convenience method to retrieve an entire result
|
||||
|
@ -1646,7 +1653,7 @@ public <A HREF="../SQLite/TableResult.html" title="class in SQLite">TableResult<
|
|||
<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,
|
||||
public <A HREF="../SQLite/TableResult.html" title="class in SQLite">TableResult</A> <B>get_table</B>(java.lang.String sql,
|
||||
int maxrows)
|
||||
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
||||
<DL>
|
||||
|
@ -1665,9 +1672,9 @@ public <A HREF="../SQLite/TableResult.html" title="class in SQLite">TableResult<
|
|||
<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,
|
||||
public <A HREF="../SQLite/TableResult.html" title="class in SQLite">TableResult</A> <B>get_table</B>(java.lang.String 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)
|
||||
java.lang.String[] args)
|
||||
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
||||
<DL>
|
||||
<DD>Convenience method to retrieve an entire result
|
||||
|
@ -1685,8 +1692,8 @@ public <A HREF="../SQLite/TableResult.html" title="class in SQLite">TableResult<
|
|||
<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)
|
||||
public <A HREF="../SQLite/TableResult.html" title="class in SQLite">TableResult</A> <B>get_table</B>(java.lang.String sql,
|
||||
java.lang.String[] args)
|
||||
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
||||
<DL>
|
||||
<DD>Convenience method to retrieve an entire result
|
||||
|
@ -1704,8 +1711,8 @@ public <A HREF="../SQLite/TableResult.html" title="class in SQLite">TableResult<
|
|||
<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,
|
||||
public void <B>get_table</B>(java.lang.String sql,
|
||||
java.lang.String[] 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>
|
||||
|
@ -1795,7 +1802,7 @@ public void <B>key</B>(byte[] ekey)
|
|||
<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)
|
||||
public void <B>key</B>(java.lang.String skey)
|
||||
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
||||
<DL>
|
||||
<DD>Specify key for encrypted database. To be called
|
||||
|
@ -1859,7 +1866,7 @@ public static long <B>long_from_julian</B>(double d)</PRE>
|
|||
<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)
|
||||
public static long <B>long_from_julian</B>(java.lang.String 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
|
||||
|
@ -1876,7 +1883,7 @@ public static long <B>long_from_julian</B>(<A HREF="http://java.sun.com/javase/6
|
|||
<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)
|
||||
public void <B>open_aux_file</B>(java.lang.String filename)
|
||||
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
||||
<DL>
|
||||
<DD>Open SQLite auxiliary database file for temporary
|
||||
|
@ -1893,9 +1900,9 @@ public void <B>open_aux_file</B>(<A HREF="http://java.sun.com/javase/6/docs/api/
|
|||
<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,
|
||||
public <A HREF="../SQLite/Blob.html" title="class in SQLite">Blob</A> <B>open_blob</B>(java.lang.String db,
|
||||
java.lang.String table,
|
||||
java.lang.String column,
|
||||
long row,
|
||||
boolean rw)
|
||||
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
||||
|
@ -1914,7 +1921,7 @@ public <A HREF="../SQLite/Blob.html" title="class in SQLite">Blob</A> <B>open_bl
|
|||
<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,
|
||||
public void <B>open</B>(java.lang.String filename,
|
||||
int mode)
|
||||
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
||||
<DL>
|
||||
|
@ -1931,9 +1938,9 @@ public void <B>open</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang
|
|||
<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,
|
||||
public void <B>open</B>(java.lang.String 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)
|
||||
java.lang.String vfs)
|
||||
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
||||
<DL>
|
||||
<DD>Open an SQLite database file.
|
||||
|
@ -1949,9 +1956,9 @@ public void <B>open</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang
|
|||
<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,
|
||||
public void <B>open</B>(java.lang.String 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,
|
||||
java.lang.String vfs,
|
||||
boolean ver2)
|
||||
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
||||
<DL>
|
||||
|
@ -1968,7 +1975,7 @@ public void <B>open</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang
|
|||
<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)
|
||||
public <A HREF="../SQLite/Stmt.html" title="class in SQLite">Stmt</A> <B>prepare</B>(java.lang.String 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
|
||||
|
@ -2033,7 +2040,7 @@ public void <B>rekey</B>(byte[] ekey)
|
|||
<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)
|
||||
public void <B>rekey</B>(java.lang.String skey)
|
||||
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
||||
<DL>
|
||||
<DD>Change the key of a encrypted database. The
|
||||
|
@ -2065,7 +2072,7 @@ public void <B>set_authorizer</B>(<A HREF="../SQLite/Authorizer.html" title="int
|
|||
<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)
|
||||
public void <B>set_encoding</B>(java.lang.String enc)
|
||||
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
||||
<DL>
|
||||
<DD>Set character encoding.
|
||||
|
@ -2113,7 +2120,7 @@ public static int <B>status</B>(int op,
|
|||
<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,
|
||||
private void <B>stmt_prepare</B>(java.lang.String 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>
|
||||
|
@ -2144,7 +2151,7 @@ public void <B>trace</B>(<A HREF="../SQLite/Trace.html" title="interface in SQLi
|
|||
<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>
|
||||
public static java.lang.String <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
|
||||
|
@ -2159,9 +2166,9 @@ public static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.ht
|
|||
<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,
|
||||
private void <B>vm_compile_args</B>(java.lang.String 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)
|
||||
java.lang.String[] args)
|
||||
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
||||
<DL>
|
||||
<DD>Internal compile method, SQLite 3.0 only.
|
||||
|
@ -2177,7 +2184,7 @@ private void <B>vm_compile_args</B>(<A HREF="http://java.sun.com/javase/6/docs/a
|
|||
<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,
|
||||
private void <B>vm_compile</B>(java.lang.String 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>
|
||||
|
@ -2198,12 +2205,12 @@ private void <B>vm_compile</B>(<A HREF="http://java.sun.com/javase/6/docs/api/ja
|
|||
<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">
|
||||
<TD COLSPAN=2 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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../SQLite/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>
|
||||
|
@ -2219,7 +2226,7 @@ private void <B>vm_compile</B>(<A HREF="http://java.sun.com/javase/6/docs/api/ja
|
|||
<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="../index.html?SQLite/Database.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="Database.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
|
@ -2232,6 +2239,7 @@ private void <B>vm_compile</B>(<A HREF="http://java.sun.com/javase/6/docs/api/ja
|
|||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
|
|
|
@ -2,25 +2,30 @@
|
|||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.4.2_03) on Sat Apr 30 14:01:27 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Tue Aug 23 16:11:22 PDT 2011 -->
|
||||
<TITLE>
|
||||
Exception (SQLite Java Wrapper)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="keywords" CONTENT="SQLite.Exception class">
|
||||
<META NAME="date" CONTENT="2011-08-23">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
parent.document.title="Exception (SQLite Java Wrapper)";
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Exception (SQLite Java Wrapper)";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
|
@ -28,12 +33,12 @@ function windowTitle()
|
|||
<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">
|
||||
<TD COLSPAN=2 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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../SQLite/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>
|
||||
|
@ -49,7 +54,7 @@ function windowTitle()
|
|||
<A HREF="../SQLite/Database.html" title="class in SQLite"><B>PREV CLASS</B></A>
|
||||
<A HREF="../SQLite/Function.html" title="interface 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="../index.html?SQLite/Exception.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="Exception.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
|
@ -62,11 +67,12 @@ function windowTitle()
|
|||
<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="#fields_inherited_from_class_java.lang.Exception">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#methods_inherited_from_class_java.lang.Throwable">METHOD</A></FONT></TD>
|
||||
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#methods_inherited_from_class_java.lang.Throwable">METHOD</A></FONT></TD>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | METHOD</FONT></TD>
|
||||
</TR>
|
||||
|
@ -82,17 +88,18 @@ SQLite</FONT>
|
|||
<BR>
|
||||
Class Exception</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"><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Throwable.html" title="class or interface in java.lang">java.lang.Throwable</A>
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by"><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Exception.html" title="class or interface in java.lang">java.lang.Exception</A>
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by"><B>SQLite.Exception</B>
|
||||
java.lang.Object
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by ">java.lang.Throwable
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by ">java.lang.Exception
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by "><B>SQLite.Exception</B>
|
||||
</PRE>
|
||||
<DL>
|
||||
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/javase/6/docs/api/java/io/Serializable.html" title="class or interface in java.io">Serializable</A></DD>
|
||||
<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
<DL>
|
||||
<DT>public class <B>Exception</B><DT>extends <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Exception.html" title="class or interface in java.lang">Exception</A></DL>
|
||||
<DT><PRE>public class <B>Exception</B><DT>extends java.lang.Exception</DL>
|
||||
</PRE>
|
||||
|
||||
<P>
|
||||
Class for SQLite related exceptions.
|
||||
|
@ -104,47 +111,17 @@ Class for SQLite related exceptions.
|
|||
<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>
|
||||
</TABLE>
|
||||
<A NAME="fields_inherited_from_class_java.lang.Exception"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TD><B>Fields inherited from class java.lang.<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Exception.html" title="class or interface in java.lang">Exception</A></B></TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE></CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="fields_inherited_from_class_java.lang.Throwable"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TD><B>Fields inherited from class java.lang.<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Throwable.html" title="class or interface in java.lang">Throwable</A></B></TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE></CODE></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>
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Constructor Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE><B><A HREF="../SQLite/Exception.html#Exception(java.lang.String)">Exception</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> string)</CODE>
|
||||
<TD><CODE><B><A HREF="../SQLite/Exception.html#Exception(java.lang.String)">Exception</A></B>(java.lang.String string)</CODE>
|
||||
|
||||
<BR>
|
||||
Construct a new SQLite exception.</TD>
|
||||
|
@ -153,51 +130,54 @@ Class for SQLite related exceptions.
|
|||
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
|
||||
<A NAME="methods_inherited_from_class_java.lang.Throwable"><!-- --></A>
|
||||
<A NAME="method_summary"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Method Summary</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="methods_inherited_from_class_java.lang.Throwable"><!-- --></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/Throwable.html" title="class or interface in java.lang">Throwable</A></B></TD>
|
||||
<TH ALIGN="left"><B>Methods inherited from class java.lang.Throwable</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Throwable.html#fillInStackTrace()" title="class or interface in java.lang">fillInStackTrace</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Throwable.html#getCause()" title="class or interface in java.lang">getCause</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Throwable.html#getLocalizedMessage()" title="class or interface in java.lang">getLocalizedMessage</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Throwable.html#getMessage()" title="class or interface in java.lang">getMessage</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Throwable.html#getStackTrace()" title="class or interface in java.lang">getStackTrace</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Throwable.html#initCause(java.lang.Throwable)" title="class or interface in java.lang">initCause</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Throwable.html#printStackTrace()" title="class or interface in java.lang">printStackTrace</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Throwable.html#printStackTrace(java.io.PrintStream)" title="class or interface in java.lang">printStackTrace</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Throwable.html#printStackTrace(java.io.PrintWriter)" title="class or interface in java.lang">printStackTrace</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Throwable.html#setStackTrace(java.lang.StackTraceElement[])" title="class or interface in java.lang">setStackTrace</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Throwable.html#toString()" title="class or interface in java.lang">toString</A></CODE></TD>
|
||||
<TD><CODE>fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString</CODE></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>
|
||||
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
|
||||
</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#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
|
||||
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
|
||||
<!-- ============ FIELD DETAIL =========== -->
|
||||
|
||||
|
||||
<!-- ========= 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>
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Constructor Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="Exception(java.lang.String)"><!-- --></A><H3>
|
||||
Exception</H3>
|
||||
<PRE>
|
||||
public <B>Exception</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> string)</PRE>
|
||||
public <B>Exception</B>(java.lang.String string)</PRE>
|
||||
<DL>
|
||||
<DD>Construct a new SQLite exception.
|
||||
<P>
|
||||
<DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>string</CODE> - error message</DL>
|
||||
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
|
||||
</DL>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<HR>
|
||||
|
||||
|
@ -207,12 +187,12 @@ public <B>Exception</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang
|
|||
<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">
|
||||
<TD COLSPAN=2 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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../SQLite/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>
|
||||
|
@ -228,7 +208,7 @@ public <B>Exception</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang
|
|||
<A HREF="../SQLite/Database.html" title="class in SQLite"><B>PREV CLASS</B></A>
|
||||
<A HREF="../SQLite/Function.html" title="interface 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="../index.html?SQLite/Exception.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="Exception.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
|
@ -241,11 +221,12 @@ public <B>Exception</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang
|
|||
<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="#fields_inherited_from_class_java.lang.Exception">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#methods_inherited_from_class_java.lang.Throwable">METHOD</A></FONT></TD>
|
||||
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#methods_inherited_from_class_java.lang.Throwable">METHOD</A></FONT></TD>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | METHOD</FONT></TD>
|
||||
</TR>
|
||||
|
|
|
@ -2,25 +2,30 @@
|
|||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.4.2_03) on Sat Apr 30 14:01:27 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Tue Aug 23 16:11:22 PDT 2011 -->
|
||||
<TITLE>
|
||||
Function (SQLite Java Wrapper)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="keywords" CONTENT="SQLite.Function interface">
|
||||
<META NAME="date" CONTENT="2011-08-23">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
parent.document.title="Function (SQLite Java Wrapper)";
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Function (SQLite Java Wrapper)";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
|
@ -28,12 +33,12 @@ function windowTitle()
|
|||
<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">
|
||||
<TD COLSPAN=2 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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../SQLite/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>
|
||||
|
@ -49,7 +54,7 @@ function windowTitle()
|
|||
<A HREF="../SQLite/Exception.html" title="class in SQLite"><B>PREV CLASS</B></A>
|
||||
<A HREF="../SQLite/FunctionContext.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="../index.html?SQLite/Function.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="Function.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
|
@ -62,6 +67,7 @@ function windowTitle()
|
|||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
|
@ -83,7 +89,8 @@ SQLite</FONT>
|
|||
Interface Function</H2>
|
||||
<HR>
|
||||
<DL>
|
||||
<DT>public interface <B>Function</B></DL>
|
||||
<DT><PRE>public interface <B>Function</B></DL>
|
||||
</PRE>
|
||||
|
||||
<P>
|
||||
Callback interface for SQLite's user defined functions.
|
||||
|
@ -117,28 +124,20 @@ Callback interface for SQLite's user defined functions.
|
|||
<HR>
|
||||
|
||||
<P>
|
||||
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
||||
|
||||
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
|
||||
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
|
||||
|
||||
<!-- ========== 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>
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Method Summary</B></FONT></TH>
|
||||
</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/Function.html#function(SQLite.FunctionContext, java.lang.String[])">function</A></B>(<A HREF="../SQLite/FunctionContext.html" title="class in SQLite">FunctionContext</A> fc,
|
||||
<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>
|
||||
java.lang.String[] args)</CODE>
|
||||
|
||||
<BR>
|
||||
Callback for regular function.</TD>
|
||||
|
@ -155,7 +154,7 @@ Callback interface for SQLite's user defined functions.
|
|||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> void</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../SQLite/Function.html#step(SQLite.FunctionContext, java.lang.String[])">step</A></B>(<A HREF="../SQLite/FunctionContext.html" title="class in SQLite">FunctionContext</A> fc,
|
||||
<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>
|
||||
java.lang.String[] args)</CODE>
|
||||
|
||||
<BR>
|
||||
Callback for one step in aggregate function.</TD>
|
||||
|
@ -164,27 +163,21 @@ Callback interface for SQLite's user defined functions.
|
|||
|
||||
<P>
|
||||
|
||||
<!-- ============ FIELD DETAIL =========== -->
|
||||
|
||||
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
|
||||
|
||||
<!-- ============ 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>
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Method Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="function(SQLite.FunctionContext, java.lang.String[])"><!-- --></A><H3>
|
||||
function</H3>
|
||||
<PRE>
|
||||
public void <B>function</B>(<A HREF="../SQLite/FunctionContext.html" title="class in SQLite">FunctionContext</A> fc,
|
||||
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[] args)</PRE>
|
||||
void <B>function</B>(<A HREF="../SQLite/FunctionContext.html" title="class in SQLite">FunctionContext</A> fc,
|
||||
java.lang.String[] args)</PRE>
|
||||
<DL>
|
||||
<DD>Callback for regular function.
|
||||
<P>
|
||||
|
@ -197,7 +190,7 @@ public void <B>function</B>(<A HREF="../SQLite/FunctionContext.html" title="clas
|
|||
<A NAME="last_step(SQLite.FunctionContext)"><!-- --></A><H3>
|
||||
last_step</H3>
|
||||
<PRE>
|
||||
public void <B>last_step</B>(<A HREF="../SQLite/FunctionContext.html" title="class in SQLite">FunctionContext</A> fc)</PRE>
|
||||
void <B>last_step</B>(<A HREF="../SQLite/FunctionContext.html" title="class in SQLite">FunctionContext</A> fc)</PRE>
|
||||
<DL>
|
||||
<DD>Callback for final step in aggregate function.
|
||||
<P>
|
||||
|
@ -210,8 +203,8 @@ public void <B>last_step</B>(<A HREF="../SQLite/FunctionContext.html" title="cla
|
|||
<A NAME="step(SQLite.FunctionContext, java.lang.String[])"><!-- --></A><H3>
|
||||
step</H3>
|
||||
<PRE>
|
||||
public void <B>step</B>(<A HREF="../SQLite/FunctionContext.html" title="class in SQLite">FunctionContext</A> fc,
|
||||
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[] args)</PRE>
|
||||
void <B>step</B>(<A HREF="../SQLite/FunctionContext.html" title="class in SQLite">FunctionContext</A> fc,
|
||||
java.lang.String[] args)</PRE>
|
||||
<DL>
|
||||
<DD>Callback for one step in aggregate function.
|
||||
<P>
|
||||
|
@ -228,12 +221,12 @@ public void <B>step</B>(<A HREF="../SQLite/FunctionContext.html" title="class in
|
|||
<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">
|
||||
<TD COLSPAN=2 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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../SQLite/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>
|
||||
|
@ -249,7 +242,7 @@ public void <B>step</B>(<A HREF="../SQLite/FunctionContext.html" title="class in
|
|||
<A HREF="../SQLite/Exception.html" title="class in SQLite"><B>PREV CLASS</B></A>
|
||||
<A HREF="../SQLite/FunctionContext.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="../index.html?SQLite/Function.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="Function.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
|
@ -262,6 +255,7 @@ public void <B>step</B>(<A HREF="../SQLite/FunctionContext.html" title="class in
|
|||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
|
|
|
@ -2,25 +2,30 @@
|
|||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.4.2_03) on Sat Apr 30 14:01:27 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Tue Aug 23 16:11:22 PDT 2011 -->
|
||||
<TITLE>
|
||||
FunctionContext (SQLite Java Wrapper)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="keywords" CONTENT="SQLite.FunctionContext class">
|
||||
<META NAME="date" CONTENT="2011-08-23">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
parent.document.title="FunctionContext (SQLite Java Wrapper)";
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="FunctionContext (SQLite Java Wrapper)";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
|
@ -28,12 +33,12 @@ function windowTitle()
|
|||
<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">
|
||||
<TD COLSPAN=2 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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../SQLite/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>
|
||||
|
@ -49,7 +54,7 @@ function windowTitle()
|
|||
<A HREF="../SQLite/Function.html" title="interface in SQLite"><B>PREV CLASS</B></A>
|
||||
<A HREF="../SQLite/Profile.html" title="interface 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="../index.html?SQLite/FunctionContext.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="FunctionContext.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
|
@ -62,6 +67,7 @@ function windowTitle()
|
|||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
|
@ -82,12 +88,13 @@ SQLite</FONT>
|
|||
<BR>
|
||||
Class FunctionContext</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.FunctionContext</B>
|
||||
java.lang.Object
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by "><B>SQLite.FunctionContext</B>
|
||||
</PRE>
|
||||
<HR>
|
||||
<DL>
|
||||
<DT>public class <B>FunctionContext</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>
|
||||
<DT><PRE>public class <B>FunctionContext</B><DT>extends java.lang.Object</DL>
|
||||
</PRE>
|
||||
|
||||
<P>
|
||||
Context for execution of SQLite's user defined functions.
|
||||
|
@ -99,16 +106,13 @@ Context for execution of SQLite's user defined functions.
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Field Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
|
@ -125,8 +129,8 @@ Context for execution of SQLite's user defined functions.
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Constructor Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE><B><A HREF="../SQLite/FunctionContext.html#FunctionContext()">FunctionContext</A></B>()</CODE>
|
||||
|
@ -141,8 +145,8 @@ Context for execution of SQLite's user defined functions.
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Method Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
|
@ -163,7 +167,7 @@ Context for execution of SQLite's user defined functions.
|
|||
<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/FunctionContext.html#set_error(java.lang.String)">set_error</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> r)</CODE>
|
||||
<TD><CODE><B><A HREF="../SQLite/FunctionContext.html#set_error(java.lang.String)">set_error</A></B>(java.lang.String r)</CODE>
|
||||
|
||||
<BR>
|
||||
Set function result from error message.</TD>
|
||||
|
@ -203,7 +207,7 @@ Context for execution of SQLite's user defined functions.
|
|||
<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/FunctionContext.html#set_result(java.lang.String)">set_result</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> r)</CODE>
|
||||
<TD><CODE><B><A HREF="../SQLite/FunctionContext.html#set_result(java.lang.String)">set_result</A></B>(java.lang.String r)</CODE>
|
||||
|
||||
<BR>
|
||||
Set function result from string.</TD>
|
||||
|
@ -212,10 +216,10 @@ Context for execution of SQLite's user defined functions.
|
|||
<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>
|
||||
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
|
||||
</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#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#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>
|
||||
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
|
@ -226,8 +230,8 @@ Context for execution of SQLite's user defined functions.
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Field Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
|
@ -247,8 +251,8 @@ private long <B>handle</B></PRE>
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Constructor Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
|
@ -264,8 +268,8 @@ public <B>FunctionContext</B>()</PRE>
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Method Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
|
@ -298,7 +302,7 @@ private static void <B>internal_init</B>()</PRE>
|
|||
<A NAME="set_error(java.lang.String)"><!-- --></A><H3>
|
||||
set_error</H3>
|
||||
<PRE>
|
||||
public void <B>set_error</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> r)</PRE>
|
||||
public void <B>set_error</B>(java.lang.String r)</PRE>
|
||||
<DL>
|
||||
<DD>Set function result from error message.
|
||||
<P>
|
||||
|
@ -365,7 +369,7 @@ public void <B>set_result</B>(int r)</PRE>
|
|||
<A NAME="set_result(java.lang.String)"><!-- --></A><H3>
|
||||
set_result</H3>
|
||||
<PRE>
|
||||
public void <B>set_result</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> r)</PRE>
|
||||
public void <B>set_result</B>(java.lang.String r)</PRE>
|
||||
<DL>
|
||||
<DD>Set function result from string.
|
||||
<P>
|
||||
|
@ -382,12 +386,12 @@ public void <B>set_result</B>(<A HREF="http://java.sun.com/javase/6/docs/api/jav
|
|||
<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">
|
||||
<TD COLSPAN=2 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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../SQLite/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>
|
||||
|
@ -403,7 +407,7 @@ public void <B>set_result</B>(<A HREF="http://java.sun.com/javase/6/docs/api/jav
|
|||
<A HREF="../SQLite/Function.html" title="interface in SQLite"><B>PREV CLASS</B></A>
|
||||
<A HREF="../SQLite/Profile.html" title="interface 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="../index.html?SQLite/FunctionContext.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="FunctionContext.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
|
@ -416,6 +420,7 @@ public void <B>set_result</B>(<A HREF="http://java.sun.com/javase/6/docs/api/jav
|
|||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
|
|
|
@ -2,25 +2,30 @@
|
|||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.4.2_03) on Sat Apr 30 14:01:27 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Tue Aug 23 16:11:22 PDT 2011 -->
|
||||
<TITLE>
|
||||
Profile (SQLite Java Wrapper)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="keywords" CONTENT="SQLite.Profile interface">
|
||||
<META NAME="date" CONTENT="2011-08-23">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
parent.document.title="Profile (SQLite Java Wrapper)";
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Profile (SQLite Java Wrapper)";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
|
@ -28,12 +33,12 @@ function windowTitle()
|
|||
<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">
|
||||
<TD COLSPAN=2 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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../SQLite/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>
|
||||
|
@ -49,7 +54,7 @@ function windowTitle()
|
|||
<A HREF="../SQLite/FunctionContext.html" title="class in SQLite"><B>PREV CLASS</B></A>
|
||||
<A HREF="../SQLite/ProgressHandler.html" title="interface 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="../index.html?SQLite/Profile.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="Profile.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
|
@ -62,6 +67,7 @@ function windowTitle()
|
|||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
|
@ -83,7 +89,8 @@ SQLite</FONT>
|
|||
Interface Profile</H2>
|
||||
<HR>
|
||||
<DL>
|
||||
<DT>public interface <B>Profile</B></DL>
|
||||
<DT><PRE>public interface <B>Profile</B></DL>
|
||||
</PRE>
|
||||
|
||||
<P>
|
||||
Callback interface for SQLite's profile function.
|
||||
|
@ -93,27 +100,19 @@ Callback interface for SQLite's profile function.
|
|||
<HR>
|
||||
|
||||
<P>
|
||||
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
||||
|
||||
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
|
||||
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
|
||||
|
||||
<!-- ========== 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>
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Method Summary</B></FONT></TH>
|
||||
</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/Profile.html#profile(java.lang.String, long)">profile</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> stmt,
|
||||
<TD><CODE><B><A HREF="../SQLite/Profile.html#profile(java.lang.String, long)">profile</A></B>(java.lang.String stmt,
|
||||
long est)</CODE>
|
||||
|
||||
<BR>
|
||||
|
@ -124,27 +123,21 @@ Callback interface for SQLite's profile function.
|
|||
|
||||
<P>
|
||||
|
||||
<!-- ============ FIELD DETAIL =========== -->
|
||||
|
||||
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
|
||||
|
||||
<!-- ============ 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>
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Method Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="profile(java.lang.String, long)"><!-- --></A><H3>
|
||||
profile</H3>
|
||||
<PRE>
|
||||
public void <B>profile</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> stmt,
|
||||
long est)</PRE>
|
||||
void <B>profile</B>(java.lang.String stmt,
|
||||
long est)</PRE>
|
||||
<DL>
|
||||
<DD>Callback to profile (ie log) one SQL statement
|
||||
with its estimated execution time.
|
||||
|
@ -162,12 +155,12 @@ public void <B>profile</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/l
|
|||
<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">
|
||||
<TD COLSPAN=2 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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../SQLite/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>
|
||||
|
@ -183,7 +176,7 @@ public void <B>profile</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/l
|
|||
<A HREF="../SQLite/FunctionContext.html" title="class in SQLite"><B>PREV CLASS</B></A>
|
||||
<A HREF="../SQLite/ProgressHandler.html" title="interface 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="../index.html?SQLite/Profile.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="Profile.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
|
@ -196,6 +189,7 @@ public void <B>profile</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/l
|
|||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
|
|
|
@ -2,25 +2,30 @@
|
|||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.4.2_03) on Sat Apr 30 14:01:27 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Tue Aug 23 16:11:22 PDT 2011 -->
|
||||
<TITLE>
|
||||
ProgressHandler (SQLite Java Wrapper)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="keywords" CONTENT="SQLite.ProgressHandler interface">
|
||||
<META NAME="date" CONTENT="2011-08-23">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
parent.document.title="ProgressHandler (SQLite Java Wrapper)";
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="ProgressHandler (SQLite Java Wrapper)";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
|
@ -28,12 +33,12 @@ function windowTitle()
|
|||
<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">
|
||||
<TD COLSPAN=2 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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../SQLite/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>
|
||||
|
@ -49,7 +54,7 @@ function windowTitle()
|
|||
<A HREF="../SQLite/Profile.html" title="interface in SQLite"><B>PREV CLASS</B></A>
|
||||
<A HREF="../SQLite/Stmt.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="../index.html?SQLite/ProgressHandler.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="ProgressHandler.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
|
@ -62,6 +67,7 @@ function windowTitle()
|
|||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
|
@ -83,7 +89,8 @@ SQLite</FONT>
|
|||
Interface ProgressHandler</H2>
|
||||
<HR>
|
||||
<DL>
|
||||
<DT>public interface <B>ProgressHandler</B></DL>
|
||||
<DT><PRE>public interface <B>ProgressHandler</B></DL>
|
||||
</PRE>
|
||||
|
||||
<P>
|
||||
Callback interface for SQLite's user defined progress handler.
|
||||
|
@ -93,22 +100,14 @@ Callback interface for SQLite's user defined progress handler.
|
|||
<HR>
|
||||
|
||||
<P>
|
||||
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
||||
|
||||
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
|
||||
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
|
||||
|
||||
<!-- ========== 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>
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Method Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
|
@ -122,26 +121,20 @@ Callback interface for SQLite's user defined progress handler.
|
|||
|
||||
<P>
|
||||
|
||||
<!-- ============ FIELD DETAIL =========== -->
|
||||
|
||||
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
|
||||
|
||||
<!-- ============ 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>
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Method Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="progress()"><!-- --></A><H3>
|
||||
progress</H3>
|
||||
<PRE>
|
||||
public boolean <B>progress</B>()</PRE>
|
||||
boolean <B>progress</B>()</PRE>
|
||||
<DL>
|
||||
<DD>Invoked for N SQLite VM opcodes.
|
||||
The method should return true to continue the
|
||||
|
@ -161,12 +154,12 @@ public boolean <B>progress</B>()</PRE>
|
|||
<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">
|
||||
<TD COLSPAN=2 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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../SQLite/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>
|
||||
|
@ -182,7 +175,7 @@ public boolean <B>progress</B>()</PRE>
|
|||
<A HREF="../SQLite/Profile.html" title="interface in SQLite"><B>PREV CLASS</B></A>
|
||||
<A HREF="../SQLite/Stmt.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="../index.html?SQLite/ProgressHandler.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="ProgressHandler.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
|
@ -195,6 +188,7 @@ public boolean <B>progress</B>()</PRE>
|
|||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
|
|
|
@ -2,25 +2,30 @@
|
|||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.4.2_03) on Sat Apr 30 14:01:27 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Tue Aug 23 16:11:22 PDT 2011 -->
|
||||
<TITLE>
|
||||
Stmt (SQLite Java Wrapper)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="keywords" CONTENT="SQLite.Stmt class">
|
||||
<META NAME="date" CONTENT="2011-08-23">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
parent.document.title="Stmt (SQLite Java Wrapper)";
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Stmt (SQLite Java Wrapper)";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
|
@ -28,12 +33,12 @@ function windowTitle()
|
|||
<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">
|
||||
<TD COLSPAN=2 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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../SQLite/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>
|
||||
|
@ -49,7 +54,7 @@ function windowTitle()
|
|||
<A HREF="../SQLite/ProgressHandler.html" title="interface in SQLite"><B>PREV CLASS</B></A>
|
||||
<A HREF="../SQLite/StringEncoder.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="../index.html?SQLite/Stmt.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="Stmt.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
|
@ -62,6 +67,7 @@ function windowTitle()
|
|||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
|
@ -82,12 +88,13 @@ SQLite</FONT>
|
|||
<BR>
|
||||
Class Stmt</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.Stmt</B>
|
||||
java.lang.Object
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by "><B>SQLite.Stmt</B>
|
||||
</PRE>
|
||||
<HR>
|
||||
<DL>
|
||||
<DT>public class <B>Stmt</B><DT>extends <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></DL>
|
||||
<DT><PRE>public class <B>Stmt</B><DT>extends java.lang.Object</DL>
|
||||
</PRE>
|
||||
|
||||
<P>
|
||||
Class to represent compiled SQLite3 statement.
|
||||
|
@ -102,16 +109,13 @@ Class to represent compiled SQLite3 statement.
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Field Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
|
@ -136,8 +140,8 @@ Class to represent compiled SQLite3 statement.
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Constructor Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE><B><A HREF="../SQLite/Stmt.html#Stmt()">Stmt</A></B>()</CODE>
|
||||
|
@ -152,8 +156,8 @@ Class to represent compiled SQLite3 statement.
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Method Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
|
@ -166,14 +170,14 @@ Class to represent compiled SQLite3 statement.
|
|||
<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/Stmt.html#bind_parameter_index(java.lang.String)">bind_parameter_index</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name)</CODE>
|
||||
<TD><CODE><B><A HREF="../SQLite/Stmt.html#bind_parameter_index(java.lang.String)">bind_parameter_index</A></B>(java.lang.String name)</CODE>
|
||||
|
||||
<BR>
|
||||
Return index of named parameter in compiled SQLite3 statement.</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>
|
||||
<CODE> java.lang.String</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../SQLite/Stmt.html#bind_parameter_name(int)">bind_parameter_name</A></B>(int pos)</CODE>
|
||||
|
||||
<BR>
|
||||
|
@ -236,7 +240,7 @@ Class to represent compiled SQLite3 statement.
|
|||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> void</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../SQLite/Stmt.html#bind(int, java.lang.String)">bind</A></B>(int pos,
|
||||
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> value)</CODE>
|
||||
java.lang.String value)</CODE>
|
||||
|
||||
<BR>
|
||||
Bind positional String to compiled SQLite3 statement.</TD>
|
||||
|
@ -275,7 +279,7 @@ Class to represent compiled SQLite3 statement.
|
|||
</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>
|
||||
<CODE> java.lang.String</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../SQLite/Stmt.html#column_database_name(int)">column_database_name</A></B>(int col)</CODE>
|
||||
|
||||
<BR>
|
||||
|
@ -283,7 +287,7 @@ Class to represent compiled SQLite3 statement.
|
|||
</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>
|
||||
<CODE> java.lang.String</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../SQLite/Stmt.html#column_decltype(int)">column_decltype</A></B>(int col)</CODE>
|
||||
|
||||
<BR>
|
||||
|
@ -315,7 +319,7 @@ Class to represent compiled SQLite3 statement.
|
|||
</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>
|
||||
<CODE> java.lang.String</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../SQLite/Stmt.html#column_origin_name(int)">column_origin_name</A></B>(int col)</CODE>
|
||||
|
||||
<BR>
|
||||
|
@ -323,7 +327,7 @@ Class to represent compiled SQLite3 statement.
|
|||
</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>
|
||||
<CODE> java.lang.String</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../SQLite/Stmt.html#column_string(int)">column_string</A></B>(int col)</CODE>
|
||||
|
||||
<BR>
|
||||
|
@ -331,7 +335,7 @@ Class to represent compiled SQLite3 statement.
|
|||
</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>
|
||||
<CODE> java.lang.String</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../SQLite/Stmt.html#column_table_name(int)">column_table_name</A></B>(int col)</CODE>
|
||||
|
||||
<BR>
|
||||
|
@ -347,7 +351,7 @@ Class to represent compiled SQLite3 statement.
|
|||
</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/Object.html" title="class or interface in java.lang">Object</A></CODE></FONT></TD>
|
||||
<CODE> java.lang.Object</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../SQLite/Stmt.html#column(int)">column</A></B>(int col)</CODE>
|
||||
|
||||
<BR>
|
||||
|
@ -407,10 +411,10 @@ Class to represent compiled SQLite3 statement.
|
|||
<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>
|
||||
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
|
||||
</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>
|
||||
<TD><CODE>clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
|
@ -421,8 +425,8 @@ Class to represent compiled SQLite3 statement.
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Field Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
|
@ -454,8 +458,8 @@ private long <B>handle</B></PRE>
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Constructor Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
|
@ -471,8 +475,8 @@ public <B>Stmt</B>()</PRE>
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Method Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
|
@ -496,7 +500,7 @@ public int <B>bind_parameter_count</B>()
|
|||
<A NAME="bind_parameter_index(java.lang.String)"><!-- --></A><H3>
|
||||
bind_parameter_index</H3>
|
||||
<PRE>
|
||||
public int <B>bind_parameter_index</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name)
|
||||
public int <B>bind_parameter_index</B>(java.lang.String name)
|
||||
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
||||
<DL>
|
||||
<DD>Return index of named parameter in compiled SQLite3 statement.
|
||||
|
@ -513,8 +517,8 @@ public int <B>bind_parameter_index</B>(<A HREF="http://java.sun.com/javase/6/doc
|
|||
<A NAME="bind_parameter_name(int)"><!-- --></A><H3>
|
||||
bind_parameter_name</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>bind_parameter_name</B>(int pos)
|
||||
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
||||
public java.lang.String <B>bind_parameter_name</B>(int pos)
|
||||
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
||||
<DL>
|
||||
<DD>Return name of parameter in compiled SQLite3 statement.
|
||||
<P>
|
||||
|
@ -632,7 +636,7 @@ public void <B>bind</B>(int pos,
|
|||
bind</H3>
|
||||
<PRE>
|
||||
public void <B>bind</B>(int pos,
|
||||
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> value)
|
||||
java.lang.String value)
|
||||
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
||||
<DL>
|
||||
<DD>Bind positional String to compiled SQLite3 statement.
|
||||
|
@ -714,8 +718,8 @@ public int <B>column_count</B>()
|
|||
<A NAME="column_database_name(int)"><!-- --></A><H3>
|
||||
column_database_name</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>column_database_name</B>(int col)
|
||||
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
||||
public java.lang.String <B>column_database_name</B>(int col)
|
||||
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
||||
<DL>
|
||||
<DD>Return database name of column of SQLite3 statement.
|
||||
<P>
|
||||
|
@ -731,8 +735,8 @@ public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" tit
|
|||
<A NAME="column_decltype(int)"><!-- --></A><H3>
|
||||
column_decltype</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>column_decltype</B>(int col)
|
||||
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
||||
public java.lang.String <B>column_decltype</B>(int col)
|
||||
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
||||
<DL>
|
||||
<DD>Return declared column type of SQLite3 statement.
|
||||
<P>
|
||||
|
@ -799,8 +803,8 @@ public long <B>column_long</B>(int col)
|
|||
<A NAME="column_origin_name(int)"><!-- --></A><H3>
|
||||
column_origin_name</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>column_origin_name</B>(int col)
|
||||
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
||||
public java.lang.String <B>column_origin_name</B>(int col)
|
||||
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
||||
<DL>
|
||||
<DD>Return origin column name of column of SQLite3 statement.
|
||||
<P>
|
||||
|
@ -816,8 +820,8 @@ public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" tit
|
|||
<A NAME="column_string(int)"><!-- --></A><H3>
|
||||
column_string</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>column_string</B>(int col)
|
||||
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
||||
public java.lang.String <B>column_string</B>(int col)
|
||||
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
||||
<DL>
|
||||
<DD>Retrieve string column from exec'ed SQLite3 statement.
|
||||
<P>
|
||||
|
@ -833,8 +837,8 @@ public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" tit
|
|||
<A NAME="column_table_name(int)"><!-- --></A><H3>
|
||||
column_table_name</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>column_table_name</B>(int col)
|
||||
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
||||
public java.lang.String <B>column_table_name</B>(int col)
|
||||
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
||||
<DL>
|
||||
<DD>Return table name of column of SQLite3 statement.
|
||||
<P>
|
||||
|
@ -867,8 +871,8 @@ public int <B>column_type</B>(int col)
|
|||
<A NAME="column(int)"><!-- --></A><H3>
|
||||
column</H3>
|
||||
<PRE>
|
||||
public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> <B>column</B>(int col)
|
||||
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
||||
public java.lang.Object <B>column</B>(int col)
|
||||
throws <A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></PRE>
|
||||
<DL>
|
||||
<DD>Retrieve column data as object from exec'ed SQLite3 statement.
|
||||
<P>
|
||||
|
@ -889,6 +893,9 @@ protected void <B>finalize</B>()</PRE>
|
|||
<DD>Destructor for object.
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Overrides:</B><DD><CODE>finalize</CODE> in class <CODE>java.lang.Object</CODE></DL>
|
||||
</DD>
|
||||
<DD><DL>
|
||||
</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
|
@ -1010,12 +1017,12 @@ public boolean <B>step</B>()
|
|||
<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">
|
||||
<TD COLSPAN=2 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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../SQLite/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>
|
||||
|
@ -1031,7 +1038,7 @@ public boolean <B>step</B>()
|
|||
<A HREF="../SQLite/ProgressHandler.html" title="interface in SQLite"><B>PREV CLASS</B></A>
|
||||
<A HREF="../SQLite/StringEncoder.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="../index.html?SQLite/Stmt.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="Stmt.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
|
@ -1044,6 +1051,7 @@ public boolean <B>step</B>()
|
|||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
|
|
|
@ -2,25 +2,30 @@
|
|||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.4.2_03) on Sat Apr 30 14:01:27 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Tue Aug 23 16:11:22 PDT 2011 -->
|
||||
<TITLE>
|
||||
StringEncoder (SQLite Java Wrapper)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="keywords" CONTENT="SQLite.StringEncoder class">
|
||||
<META NAME="date" CONTENT="2011-08-23">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
parent.document.title="StringEncoder (SQLite Java Wrapper)";
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="StringEncoder (SQLite Java Wrapper)";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
|
@ -28,12 +33,12 @@ function windowTitle()
|
|||
<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">
|
||||
<TD COLSPAN=2 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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../SQLite/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>
|
||||
|
@ -49,7 +54,7 @@ function windowTitle()
|
|||
<A HREF="../SQLite/Stmt.html" title="class in SQLite"><B>PREV CLASS</B></A>
|
||||
<A HREF="../SQLite/TableResult.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="../index.html?SQLite/StringEncoder.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="StringEncoder.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
|
@ -62,6 +67,7 @@ function windowTitle()
|
|||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
|
@ -82,12 +88,13 @@ SQLite</FONT>
|
|||
<BR>
|
||||
Class StringEncoder</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.StringEncoder</B>
|
||||
java.lang.Object
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by "><B>SQLite.StringEncoder</B>
|
||||
</PRE>
|
||||
<HR>
|
||||
<DL>
|
||||
<DT>public class <B>StringEncoder</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>
|
||||
<DT><PRE>public class <B>StringEncoder</B><DT>extends java.lang.Object</DL>
|
||||
</PRE>
|
||||
|
||||
<P>
|
||||
String encoder/decoder for SQLite.
|
||||
|
@ -110,16 +117,13 @@ String encoder/decoder for SQLite.
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Field Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
|
@ -136,8 +140,8 @@ String encoder/decoder for SQLite.
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Constructor Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE><B><A HREF="../SQLite/StringEncoder.html#StringEncoder()">StringEncoder</A></B>()</CODE>
|
||||
|
@ -152,8 +156,8 @@ String encoder/decoder for SQLite.
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Method Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
|
@ -170,7 +174,7 @@ String encoder/decoder for SQLite.
|
|||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE>static byte[]</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../SQLite/StringEncoder.html#decode(java.lang.String)">decode</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>
|
||||
<TD><CODE><B><A HREF="../SQLite/StringEncoder.html#decode(java.lang.String)">decode</A></B>(java.lang.String s)</CODE>
|
||||
|
||||
<BR>
|
||||
Decodes the given string that is assumed to be a valid encoding
|
||||
|
@ -178,7 +182,7 @@ String encoder/decoder for SQLite.
|
|||
</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>
|
||||
<CODE>static java.lang.String</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../SQLite/StringEncoder.html#encode(byte[])">encode</A></B>(byte[] a)</CODE>
|
||||
|
||||
<BR>
|
||||
|
@ -187,7 +191,7 @@ String encoder/decoder for SQLite.
|
|||
</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>
|
||||
<CODE>static java.lang.String</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../SQLite/StringEncoder.html#encodeX(byte[])">encodeX</A></B>(byte[] a)</CODE>
|
||||
|
||||
<BR>
|
||||
|
@ -197,10 +201,10 @@ String encoder/decoder for SQLite.
|
|||
<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>
|
||||
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
|
||||
</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#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#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>
|
||||
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
|
@ -211,8 +215,8 @@ String encoder/decoder for SQLite.
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Field Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
|
@ -230,8 +234,8 @@ static final char[] <B>xdigits</B></PRE>
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Constructor Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
|
@ -247,8 +251,8 @@ public <B>StringEncoder</B>()</PRE>
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Method Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
|
@ -273,7 +277,7 @@ private static byte[] <B>byteCopy</B>(byte[] source,
|
|||
<A NAME="decode(java.lang.String)"><!-- --></A><H3>
|
||||
decode</H3>
|
||||
<PRE>
|
||||
public static byte[] <B>decode</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)</PRE>
|
||||
public static byte[] <B>decode</B>(java.lang.String s)</PRE>
|
||||
<DL>
|
||||
<DD>Decodes the given string that is assumed to be a valid encoding
|
||||
of a byte array. Typically the given string is generated by
|
||||
|
@ -283,7 +287,7 @@ public static byte[] <B>decode</B>(<A HREF="http://java.sun.com/javase/6/docs/ap
|
|||
<DT><B>Parameters:</B><DD><CODE>s</CODE> - the given string encoding.
|
||||
<DT><B>Returns:</B><DD>the byte array obtained from the decoding.
|
||||
<DT><B>Throws:</B>
|
||||
<DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - when the string given is not
|
||||
<DD><CODE>java.lang.IllegalArgumentException</CODE> - when the string given is not
|
||||
a valid encoded string for this encoder.</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
|
@ -292,7 +296,7 @@ public static byte[] <B>decode</B>(<A HREF="http://java.sun.com/javase/6/docs/ap
|
|||
<A NAME="encode(byte[])"><!-- --></A><H3>
|
||||
encode</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>encode</B>(byte[] a)</PRE>
|
||||
public static java.lang.String <B>encode</B>(byte[] a)</PRE>
|
||||
<DL>
|
||||
<DD>Encodes the given byte array into a string that can be used by
|
||||
the SQLite database. The database cannot handle null (0x00) and
|
||||
|
@ -319,7 +323,7 @@ public static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.ht
|
|||
<A NAME="encodeX(byte[])"><!-- --></A><H3>
|
||||
encodeX</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>encodeX</B>(byte[] a)</PRE>
|
||||
public static java.lang.String <B>encodeX</B>(byte[] a)</PRE>
|
||||
<DL>
|
||||
<DD>Encodes the given byte array into SQLite3 blob notation, ie X'..'
|
||||
<P>
|
||||
|
@ -338,12 +342,12 @@ public static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.ht
|
|||
<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">
|
||||
<TD COLSPAN=2 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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../SQLite/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>
|
||||
|
@ -359,7 +363,7 @@ public static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.ht
|
|||
<A HREF="../SQLite/Stmt.html" title="class in SQLite"><B>PREV CLASS</B></A>
|
||||
<A HREF="../SQLite/TableResult.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="../index.html?SQLite/StringEncoder.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="StringEncoder.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
|
@ -372,6 +376,7 @@ public static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.ht
|
|||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
|
|
|
@ -2,25 +2,30 @@
|
|||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.4.2_03) on Sat Apr 30 14:01:27 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Tue Aug 23 16:11:22 PDT 2011 -->
|
||||
<TITLE>
|
||||
TableResult (SQLite Java Wrapper)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="keywords" CONTENT="SQLite.TableResult class">
|
||||
<META NAME="date" CONTENT="2011-08-23">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
parent.document.title="TableResult (SQLite Java Wrapper)";
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="TableResult (SQLite Java Wrapper)";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
|
@ -28,12 +33,12 @@ function windowTitle()
|
|||
<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">
|
||||
<TD COLSPAN=2 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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../SQLite/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>
|
||||
|
@ -49,7 +54,7 @@ function windowTitle()
|
|||
<A HREF="../SQLite/StringEncoder.html" title="class in SQLite"><B>PREV CLASS</B></A>
|
||||
<A HREF="../SQLite/Trace.html" title="interface 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="../index.html?SQLite/TableResult.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="TableResult.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
|
@ -62,6 +67,7 @@ function windowTitle()
|
|||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
|
@ -82,15 +88,16 @@ SQLite</FONT>
|
|||
<BR>
|
||||
Class TableResult</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.TableResult</B>
|
||||
java.lang.Object
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by "><B>SQLite.TableResult</B>
|
||||
</PRE>
|
||||
<DL>
|
||||
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../SQLite/Callback.html" title="interface in SQLite">Callback</A></DD>
|
||||
</DL>
|
||||
<HR>
|
||||
<DL>
|
||||
<DT>public class <B>TableResult</B><DT>extends <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A><DT>implements <A HREF="../SQLite/Callback.html" title="interface in SQLite">Callback</A></DL>
|
||||
<DT><PRE>public class <B>TableResult</B><DT>extends java.lang.Object<DT>implements <A HREF="../SQLite/Callback.html" title="interface in SQLite">Callback</A></DL>
|
||||
</PRE>
|
||||
|
||||
<P>
|
||||
Class representing an SQLite result set as
|
||||
|
@ -121,16 +128,13 @@ Class representing an SQLite result set as
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Field Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
|
@ -142,7 +146,7 @@ Class representing an SQLite result set as
|
|||
</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>
|
||||
<CODE> java.lang.String[]</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../SQLite/TableResult.html#column">column</A></B></CODE>
|
||||
|
||||
<BR>
|
||||
|
@ -174,7 +178,7 @@ Class representing an SQLite result set as
|
|||
</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/util/Vector.html" title="class or interface in java.util">Vector</A></CODE></FONT></TD>
|
||||
<CODE> java.util.Vector</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../SQLite/TableResult.html#rows">rows</A></B></CODE>
|
||||
|
||||
<BR>
|
||||
|
@ -182,7 +186,7 @@ Class representing an SQLite result set as
|
|||
</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>
|
||||
<CODE> java.lang.String[]</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../SQLite/TableResult.html#types">types</A></B></CODE>
|
||||
|
||||
<BR>
|
||||
|
@ -195,8 +199,8 @@ Class representing an SQLite result set as
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Constructor Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE><B><A HREF="../SQLite/TableResult.html#TableResult()">TableResult</A></B>()</CODE>
|
||||
|
@ -217,8 +221,8 @@ Class representing an SQLite result set as
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Method Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
|
@ -231,7 +235,7 @@ Class representing an SQLite result set as
|
|||
<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/TableResult.html#columns(java.lang.String[])">columns</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[] coldata)</CODE>
|
||||
<TD><CODE><B><A HREF="../SQLite/TableResult.html#columns(java.lang.String[])">columns</A></B>(java.lang.String[] coldata)</CODE>
|
||||
|
||||
<BR>
|
||||
Callback method used while the query is executed.</TD>
|
||||
|
@ -239,14 +243,14 @@ Class representing an SQLite result set as
|
|||
<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/TableResult.html#newrow(java.lang.String[])">newrow</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[] rowdata)</CODE>
|
||||
<TD><CODE><B><A HREF="../SQLite/TableResult.html#newrow(java.lang.String[])">newrow</A></B>(java.lang.String[] rowdata)</CODE>
|
||||
|
||||
<BR>
|
||||
Callback method used while the query is executed.</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>
|
||||
<CODE> java.lang.String</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../SQLite/TableResult.html#toString()">toString</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
|
@ -255,7 +259,7 @@ Class representing an SQLite result set as
|
|||
<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/TableResult.html#types(java.lang.String[])">types</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[] types)</CODE>
|
||||
<TD><CODE><B><A HREF="../SQLite/TableResult.html#types(java.lang.String[])">types</A></B>(java.lang.String[] types)</CODE>
|
||||
|
||||
<BR>
|
||||
Callback method used while the query is executed.</TD>
|
||||
|
@ -264,10 +268,10 @@ Class representing an SQLite result set as
|
|||
<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>
|
||||
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
|
||||
</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#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
|
||||
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
|
@ -278,8 +282,8 @@ Class representing an SQLite result set as
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Field Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
|
@ -298,7 +302,7 @@ public boolean <B>atmaxrows</B></PRE>
|
|||
<A NAME="column"><!-- --></A><H3>
|
||||
column</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>column</B></PRE>
|
||||
public java.lang.String[] <B>column</B></PRE>
|
||||
<DL>
|
||||
<DD>Column names of the result set.
|
||||
<P>
|
||||
|
@ -346,7 +350,7 @@ public int <B>nrows</B></PRE>
|
|||
<A NAME="rows"><!-- --></A><H3>
|
||||
rows</H3>
|
||||
<PRE>
|
||||
public <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Vector.html" title="class or interface in java.util">Vector</A> <B>rows</B></PRE>
|
||||
public java.util.Vector <B>rows</B></PRE>
|
||||
<DL>
|
||||
<DD>Rows of the result set. Each row is stored as a String array.
|
||||
<P>
|
||||
|
@ -358,7 +362,7 @@ public <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Vector.html" tit
|
|||
<A NAME="types"><!-- --></A><H3>
|
||||
types</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>types</B></PRE>
|
||||
public java.lang.String[] <B>types</B></PRE>
|
||||
<DL>
|
||||
<DD>Types of columns of the result set or null.
|
||||
<P>
|
||||
|
@ -371,8 +375,8 @@ public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" tit
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Constructor Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
|
@ -400,8 +404,8 @@ public <B>TableResult</B>(int maxrows)</PRE>
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Method Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
|
@ -424,7 +428,7 @@ public void <B>clear</B>()</PRE>
|
|||
<A NAME="columns(java.lang.String[])"><!-- --></A><H3>
|
||||
columns</H3>
|
||||
<PRE>
|
||||
public void <B>columns</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[] coldata)</PRE>
|
||||
public void <B>columns</B>(java.lang.String[] coldata)</PRE>
|
||||
<DL>
|
||||
<DD>Callback method used while the query is executed.
|
||||
<P>
|
||||
|
@ -440,7 +444,7 @@ public void <B>columns</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/l
|
|||
<A NAME="newrow(java.lang.String[])"><!-- --></A><H3>
|
||||
newrow</H3>
|
||||
<PRE>
|
||||
public boolean <B>newrow</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[] rowdata)</PRE>
|
||||
public boolean <B>newrow</B>(java.lang.String[] rowdata)</PRE>
|
||||
<DL>
|
||||
<DD>Callback method used while the query is executed.
|
||||
<P>
|
||||
|
@ -456,12 +460,12 @@ public boolean <B>newrow</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java
|
|||
<A NAME="toString()"><!-- --></A><H3>
|
||||
toString</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>toString</B>()</PRE>
|
||||
public java.lang.String <B>toString</B>()</PRE>
|
||||
<DL>
|
||||
<DD>Make String representation of result set.
|
||||
<P>
|
||||
<DD><DL>
|
||||
</DL>
|
||||
<DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL>
|
||||
</DD>
|
||||
<DD><DL>
|
||||
</DL>
|
||||
|
@ -472,7 +476,7 @@ public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" tit
|
|||
<A NAME="types(java.lang.String[])"><!-- --></A><H3>
|
||||
types</H3>
|
||||
<PRE>
|
||||
public void <B>types</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[] types)</PRE>
|
||||
public void <B>types</B>(java.lang.String[] types)</PRE>
|
||||
<DL>
|
||||
<DD>Callback method used while the query is executed.
|
||||
<P>
|
||||
|
@ -492,12 +496,12 @@ public void <B>types</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lan
|
|||
<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">
|
||||
<TD COLSPAN=2 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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../SQLite/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>
|
||||
|
@ -513,7 +517,7 @@ public void <B>types</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lan
|
|||
<A HREF="../SQLite/StringEncoder.html" title="class in SQLite"><B>PREV CLASS</B></A>
|
||||
<A HREF="../SQLite/Trace.html" title="interface 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="../index.html?SQLite/TableResult.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="TableResult.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
|
@ -526,6 +530,7 @@ public void <B>types</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lan
|
|||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
|
|
|
@ -2,25 +2,30 @@
|
|||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.4.2_03) on Sat Apr 30 14:01:27 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Tue Aug 23 16:11:22 PDT 2011 -->
|
||||
<TITLE>
|
||||
Trace (SQLite Java Wrapper)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="keywords" CONTENT="SQLite.Trace interface">
|
||||
<META NAME="date" CONTENT="2011-08-23">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
parent.document.title="Trace (SQLite Java Wrapper)";
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Trace (SQLite Java Wrapper)";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
|
@ -28,12 +33,12 @@ function windowTitle()
|
|||
<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">
|
||||
<TD COLSPAN=2 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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../SQLite/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>
|
||||
|
@ -49,7 +54,7 @@ function windowTitle()
|
|||
<A HREF="../SQLite/TableResult.html" title="class in SQLite"><B>PREV CLASS</B></A>
|
||||
<A HREF="../SQLite/Vm.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="../index.html?SQLite/Trace.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="Trace.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
|
@ -62,6 +67,7 @@ function windowTitle()
|
|||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
|
@ -83,7 +89,8 @@ SQLite</FONT>
|
|||
Interface Trace</H2>
|
||||
<HR>
|
||||
<DL>
|
||||
<DT>public interface <B>Trace</B></DL>
|
||||
<DT><PRE>public interface <B>Trace</B></DL>
|
||||
</PRE>
|
||||
|
||||
<P>
|
||||
Callback interface for SQLite's trace function.
|
||||
|
@ -93,27 +100,19 @@ Callback interface for SQLite's trace function.
|
|||
<HR>
|
||||
|
||||
<P>
|
||||
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
||||
|
||||
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
|
||||
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
|
||||
|
||||
<!-- ========== 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>
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Method Summary</B></FONT></TH>
|
||||
</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/Trace.html#trace(java.lang.String)">trace</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> stmt)</CODE>
|
||||
<TD><CODE><B><A HREF="../SQLite/Trace.html#trace(java.lang.String)">trace</A></B>(java.lang.String stmt)</CODE>
|
||||
|
||||
<BR>
|
||||
Callback to trace (ie log) one SQL statement.</TD>
|
||||
|
@ -122,26 +121,20 @@ Callback interface for SQLite's trace function.
|
|||
|
||||
<P>
|
||||
|
||||
<!-- ============ FIELD DETAIL =========== -->
|
||||
|
||||
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
|
||||
|
||||
<!-- ============ 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>
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Method Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="trace(java.lang.String)"><!-- --></A><H3>
|
||||
trace</H3>
|
||||
<PRE>
|
||||
public void <B>trace</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> stmt)</PRE>
|
||||
void <B>trace</B>(java.lang.String stmt)</PRE>
|
||||
<DL>
|
||||
<DD>Callback to trace (ie log) one SQL statement.
|
||||
<P>
|
||||
|
@ -158,12 +151,12 @@ public void <B>trace</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lan
|
|||
<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">
|
||||
<TD COLSPAN=2 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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../SQLite/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>
|
||||
|
@ -179,7 +172,7 @@ public void <B>trace</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lan
|
|||
<A HREF="../SQLite/TableResult.html" title="class in SQLite"><B>PREV CLASS</B></A>
|
||||
<A HREF="../SQLite/Vm.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="../index.html?SQLite/Trace.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="Trace.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
|
@ -192,6 +185,7 @@ public void <B>trace</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lan
|
|||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
|
|
|
@ -2,25 +2,30 @@
|
|||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.4.2_03) on Sat Apr 30 14:01:28 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Tue Aug 23 16:11:22 PDT 2011 -->
|
||||
<TITLE>
|
||||
Vm (SQLite Java Wrapper)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="keywords" CONTENT="SQLite.Vm class">
|
||||
<META NAME="date" CONTENT="2011-08-23">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
parent.document.title="Vm (SQLite Java Wrapper)";
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Vm (SQLite Java Wrapper)";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
|
@ -28,12 +33,12 @@ function windowTitle()
|
|||
<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">
|
||||
<TD COLSPAN=2 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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../SQLite/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>
|
||||
|
@ -49,7 +54,7 @@ function windowTitle()
|
|||
<A HREF="../SQLite/Trace.html" title="interface in SQLite"><B>PREV CLASS</B></A>
|
||||
NEXT CLASS</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="../index.html?SQLite/Vm.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="Vm.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
|
@ -62,6 +67,7 @@ function windowTitle()
|
|||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
|
@ -82,12 +88,13 @@ SQLite</FONT>
|
|||
<BR>
|
||||
Class Vm</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.Vm</B>
|
||||
java.lang.Object
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by "><B>SQLite.Vm</B>
|
||||
</PRE>
|
||||
<HR>
|
||||
<DL>
|
||||
<DT>public class <B>Vm</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>
|
||||
<DT><PRE>public class <B>Vm</B><DT>extends java.lang.Object</DL>
|
||||
</PRE>
|
||||
|
||||
<P>
|
||||
Class to represent compiled SQLite VM.
|
||||
|
@ -97,16 +104,13 @@ Class to represent compiled SQLite VM.
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Field Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
|
@ -131,8 +135,8 @@ Class to represent compiled SQLite VM.
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Constructor Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE><B><A HREF="../SQLite/Vm.html#Vm()">Vm</A></B>()</CODE>
|
||||
|
@ -147,8 +151,8 @@ Class to represent compiled SQLite VM.
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Method Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
|
@ -194,10 +198,10 @@ Class to represent compiled SQLite VM.
|
|||
<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>
|
||||
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
|
||||
</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>
|
||||
<TD><CODE>clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
|
@ -208,8 +212,8 @@ Class to represent compiled SQLite VM.
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Field Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
|
@ -241,8 +245,8 @@ private long <B>handle</B></PRE>
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Constructor Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
|
@ -258,8 +262,8 @@ public <B>Vm</B>()</PRE>
|
|||
<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>
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Method Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
|
@ -289,6 +293,9 @@ protected void <B>finalize</B>()</PRE>
|
|||
<DD>Destructor for object.
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Overrides:</B><DD><CODE>finalize</CODE> in class <CODE>java.lang.Object</CODE></DL>
|
||||
</DD>
|
||||
<DD><DL>
|
||||
</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
|
@ -366,12 +373,12 @@ public void <B>stop</B>()
|
|||
<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">
|
||||
<TD COLSPAN=2 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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../SQLite/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>
|
||||
|
@ -387,7 +394,7 @@ public void <B>stop</B>()
|
|||
<A HREF="../SQLite/Trace.html" title="interface in SQLite"><B>PREV CLASS</B></A>
|
||||
NEXT CLASS</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="../index.html?SQLite/Vm.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="Vm.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
|
@ -400,6 +407,7 @@ public void <B>stop</B>()
|
|||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.4.2_03) on Sat Apr 30 14:01:26 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Tue Aug 23 16:11:22 PDT 2011 -->
|
||||
<TITLE>
|
||||
SQLite (SQLite Java Wrapper)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="keywords" CONTENT="SQLite package">
|
||||
<META NAME="date" CONTENT="2011-08-23">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
||||
|
||||
|
|
|
@ -2,25 +2,30 @@
|
|||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.4.2_03) on Sat Apr 30 14:01:26 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Tue Aug 23 16:11:22 PDT 2011 -->
|
||||
<TITLE>
|
||||
SQLite (SQLite Java Wrapper)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="keywords" CONTENT="SQLite package">
|
||||
<META NAME="date" CONTENT="2011-08-23">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
parent.document.title="SQLite (SQLite Java Wrapper)";
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="SQLite (SQLite Java Wrapper)";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
|
@ -28,12 +33,12 @@ function windowTitle()
|
|||
<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">
|
||||
<TD COLSPAN=2 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="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../SQLite/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
</TR>
|
||||
|
@ -49,7 +54,7 @@ function windowTitle()
|
|||
PREV PACKAGE
|
||||
NEXT PACKAGE</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="../index.html?SQLite/package-summary.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
|
@ -62,6 +67,7 @@ function windowTitle()
|
|||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
@ -75,8 +81,8 @@ Package SQLite
|
|||
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TD COLSPAN=2><FONT SIZE="+2">
|
||||
<B>Interface Summary</B></FONT></TD>
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Interface Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD WIDTH="15%"><B><A HREF="../SQLite/Authorizer.html" title="interface in SQLite">Authorizer</A></B></TD>
|
||||
|
@ -113,8 +119,8 @@ Package SQLite
|
|||
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TD COLSPAN=2><FONT SIZE="+2">
|
||||
<B>Class Summary</B></FONT></TD>
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Class Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD WIDTH="15%"><B><A HREF="../SQLite/Backup.html" title="class in SQLite">Backup</A></B></TD>
|
||||
|
@ -158,7 +164,7 @@ Package SQLite
|
|||
<TD WIDTH="15%"><B><A HREF="../SQLite/TableResult.html" title="class in SQLite">TableResult</A></B></TD>
|
||||
<TD>Class representing an SQLite result set as
|
||||
returned by the
|
||||
<A HREF="../SQLite/Database.html#get_table(java.lang.String)">Database.get_table</A>
|
||||
<A HREF="Database.html#get_table(java.lang.String)">Database.get_table</A>
|
||||
convenience method.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
|
@ -172,8 +178,8 @@ Package SQLite
|
|||
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TD COLSPAN=2><FONT SIZE="+2">
|
||||
<B>Exception Summary</B></FONT></TD>
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Exception Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD WIDTH="15%"><B><A HREF="../SQLite/Exception.html" title="class in SQLite">Exception</A></B></TD>
|
||||
|
@ -183,6 +189,8 @@ Package SQLite
|
|||
|
||||
|
||||
<P>
|
||||
<DL>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
|
||||
|
@ -191,12 +199,12 @@ Package SQLite
|
|||
<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">
|
||||
<TD COLSPAN=2 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="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../SQLite/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
</TR>
|
||||
|
@ -212,7 +220,7 @@ Package SQLite
|
|||
PREV PACKAGE
|
||||
NEXT PACKAGE</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="../index.html?SQLite/package-summary.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
|
@ -225,6 +233,7 @@ Package SQLite
|
|||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
|
|
@ -2,24 +2,30 @@
|
|||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.4.2_03) on Sat Apr 30 14:01:26 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Tue Aug 23 16:11:22 PDT 2011 -->
|
||||
<TITLE>
|
||||
SQLite Class Hierarchy (SQLite Java Wrapper)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-08-23">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
parent.document.title="SQLite Class Hierarchy (SQLite Java Wrapper)";
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="SQLite Class Hierarchy (SQLite Java Wrapper)";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
|
@ -27,12 +33,12 @@ function windowTitle()
|
|||
<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">
|
||||
<TD COLSPAN=2 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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../SQLite/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Tree</B></FONT> </TD>
|
||||
</TR>
|
||||
|
@ -48,7 +54,7 @@ function windowTitle()
|
|||
PREV
|
||||
NEXT</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="../index.html?SQLite/package-tree.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="package-tree.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
|
@ -61,6 +67,7 @@ function windowTitle()
|
|||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
@ -77,24 +84,26 @@ Hierarchy For Package SQLite
|
|||
Class Hierarchy
|
||||
</H2>
|
||||
<UL>
|
||||
<LI TYPE="circle">class java.lang.<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang"><B>Object</B></A><UL>
|
||||
<LI TYPE="circle">class SQLite.<A HREF="../SQLite/Backup.html" title="class in SQLite"><B>Backup</B></A><LI TYPE="circle">class SQLite.<A HREF="../SQLite/Blob.html" title="class in SQLite"><B>Blob</B></A><LI TYPE="circle">class SQLite.<A HREF="../SQLite/Constants.html" title="class in SQLite"><B>Constants</B></A><LI TYPE="circle">class SQLite.<A HREF="../SQLite/Database.html" title="class in SQLite"><B>Database</B></A><LI TYPE="circle">class SQLite.<A HREF="../SQLite/FunctionContext.html" title="class in SQLite"><B>FunctionContext</B></A><LI TYPE="circle">class java.io.<A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html" title="class or interface in java.io"><B>InputStream</B></A><UL>
|
||||
<LI TYPE="circle">class SQLite.<A HREF="../SQLite/BlobR.html" title="class in SQLite"><B>BlobR</B></A></UL>
|
||||
<LI TYPE="circle">class java.io.<A HREF="http://java.sun.com/javase/6/docs/api/java/io/OutputStream.html" title="class or interface in java.io"><B>OutputStream</B></A><UL>
|
||||
<LI TYPE="circle">class SQLite.<A HREF="../SQLite/BlobW.html" title="class in SQLite"><B>BlobW</B></A></UL>
|
||||
<LI TYPE="circle">class SQLite.<A HREF="../SQLite/Stmt.html" title="class in SQLite"><B>Stmt</B></A><LI TYPE="circle">class SQLite.<A HREF="../SQLite/StringEncoder.html" title="class in SQLite"><B>StringEncoder</B></A><LI TYPE="circle">class SQLite.<A HREF="../SQLite/TableResult.html" title="class in SQLite"><B>TableResult</B></A> (implements SQLite.<A HREF="../SQLite/Callback.html" title="interface in SQLite">Callback</A>)
|
||||
<LI TYPE="circle">class java.lang.<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Throwable.html" title="class or interface in java.lang"><B>Throwable</B></A> (implements java.io.<A HREF="http://java.sun.com/javase/6/docs/api/java/io/Serializable.html" title="class or interface in java.io">Serializable</A>)
|
||||
<LI TYPE="circle">java.lang.Object<UL>
|
||||
<LI TYPE="circle">SQLite.<A HREF="../SQLite/Backup.html" title="class in SQLite"><B>Backup</B></A><LI TYPE="circle">SQLite.<A HREF="../SQLite/Blob.html" title="class in SQLite"><B>Blob</B></A><LI TYPE="circle">SQLite.<A HREF="../SQLite/Constants.html" title="class in SQLite"><B>Constants</B></A><LI TYPE="circle">SQLite.<A HREF="../SQLite/Database.html" title="class in SQLite"><B>Database</B></A><LI TYPE="circle">SQLite.<A HREF="../SQLite/FunctionContext.html" title="class in SQLite"><B>FunctionContext</B></A><LI TYPE="circle">java.io.InputStream (implements java.io.Closeable)
|
||||
<UL>
|
||||
<LI TYPE="circle">class java.lang.<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Exception.html" title="class or interface in java.lang"><B>Exception</B></A><UL>
|
||||
<LI TYPE="circle">class SQLite.<A HREF="../SQLite/Exception.html" title="class in SQLite"><B>Exception</B></A></UL>
|
||||
<LI TYPE="circle">SQLite.<A HREF="../SQLite/BlobR.html" title="class in SQLite"><B>BlobR</B></A></UL>
|
||||
<LI TYPE="circle">java.io.OutputStream (implements java.io.Closeable, java.io.Flushable)
|
||||
<UL>
|
||||
<LI TYPE="circle">SQLite.<A HREF="../SQLite/BlobW.html" title="class in SQLite"><B>BlobW</B></A></UL>
|
||||
<LI TYPE="circle">SQLite.<A HREF="../SQLite/Stmt.html" title="class in SQLite"><B>Stmt</B></A><LI TYPE="circle">SQLite.<A HREF="../SQLite/StringEncoder.html" title="class in SQLite"><B>StringEncoder</B></A><LI TYPE="circle">SQLite.<A HREF="../SQLite/TableResult.html" title="class in SQLite"><B>TableResult</B></A> (implements SQLite.<A HREF="../SQLite/Callback.html" title="interface in SQLite">Callback</A>)
|
||||
<LI TYPE="circle">java.lang.Throwable (implements java.io.Serializable)
|
||||
<UL>
|
||||
<LI TYPE="circle">java.lang.Exception<UL>
|
||||
<LI TYPE="circle">SQLite.<A HREF="../SQLite/Exception.html" title="class in SQLite"><B>Exception</B></A></UL>
|
||||
</UL>
|
||||
<LI TYPE="circle">class SQLite.<A HREF="../SQLite/Vm.html" title="class in SQLite"><B>Vm</B></A></UL>
|
||||
<LI TYPE="circle">SQLite.<A HREF="../SQLite/Vm.html" title="class in SQLite"><B>Vm</B></A></UL>
|
||||
</UL>
|
||||
<H2>
|
||||
Interface Hierarchy
|
||||
</H2>
|
||||
<UL>
|
||||
<LI TYPE="circle">interface SQLite.<A HREF="../SQLite/Authorizer.html" title="interface in SQLite"><B>Authorizer</B></A><LI TYPE="circle">interface SQLite.<A HREF="../SQLite/BusyHandler.html" title="interface in SQLite"><B>BusyHandler</B></A><LI TYPE="circle">interface SQLite.<A HREF="../SQLite/Callback.html" title="interface in SQLite"><B>Callback</B></A><LI TYPE="circle">interface SQLite.<A HREF="../SQLite/Function.html" title="interface in SQLite"><B>Function</B></A><LI TYPE="circle">interface SQLite.<A HREF="../SQLite/Profile.html" title="interface in SQLite"><B>Profile</B></A><LI TYPE="circle">interface SQLite.<A HREF="../SQLite/ProgressHandler.html" title="interface in SQLite"><B>ProgressHandler</B></A><LI TYPE="circle">interface SQLite.<A HREF="../SQLite/Trace.html" title="interface in SQLite"><B>Trace</B></A></UL>
|
||||
<LI TYPE="circle">SQLite.<A HREF="../SQLite/Authorizer.html" title="interface in SQLite"><B>Authorizer</B></A><LI TYPE="circle">SQLite.<A HREF="../SQLite/BusyHandler.html" title="interface in SQLite"><B>BusyHandler</B></A><LI TYPE="circle">SQLite.<A HREF="../SQLite/Callback.html" title="interface in SQLite"><B>Callback</B></A><LI TYPE="circle">SQLite.<A HREF="../SQLite/Function.html" title="interface in SQLite"><B>Function</B></A><LI TYPE="circle">SQLite.<A HREF="../SQLite/Profile.html" title="interface in SQLite"><B>Profile</B></A><LI TYPE="circle">SQLite.<A HREF="../SQLite/ProgressHandler.html" title="interface in SQLite"><B>ProgressHandler</B></A><LI TYPE="circle">SQLite.<A HREF="../SQLite/Trace.html" title="interface in SQLite"><B>Trace</B></A></UL>
|
||||
<HR>
|
||||
|
||||
|
||||
|
@ -103,12 +112,12 @@ Interface Hierarchy
|
|||
<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">
|
||||
<TD COLSPAN=2 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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../SQLite/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Tree</B></FONT> </TD>
|
||||
</TR>
|
||||
|
@ -124,7 +133,7 @@ Interface Hierarchy
|
|||
PREV
|
||||
NEXT</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="../index.html?SQLite/package-tree.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="package-tree.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
|
@ -137,6 +146,7 @@ Interface Hierarchy
|
|||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
|
|
@ -2,11 +2,12 @@
|
|||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.4.2_03) on Sat Apr 30 14:01:26 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Tue Aug 23 16:11:22 PDT 2011 -->
|
||||
<TITLE>
|
||||
All Classes (SQLite Java Wrapper)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-08-23">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
|
||||
|
||||
|
|
|
@ -2,11 +2,12 @@
|
|||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.4.2_03) on Sat Apr 30 14:01:26 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Tue Aug 23 16:11:22 PDT 2011 -->
|
||||
<TITLE>
|
||||
All Classes (SQLite Java Wrapper)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-08-23">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
|
||||
|
||||
|
|
|
@ -2,24 +2,30 @@
|
|||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.4.2_03) on Sat Apr 30 14:01:26 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Tue Aug 23 16:11:22 PDT 2011 -->
|
||||
<TITLE>
|
||||
Constant Field Values (SQLite Java Wrapper)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-08-23">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
parent.document.title="Constant Field Values (SQLite Java Wrapper)";
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Constant Field Values (SQLite Java Wrapper)";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
|
@ -27,12 +33,12 @@ function windowTitle()
|
|||
<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">
|
||||
<TD COLSPAN=2 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"> <FONT CLASS="NavBarFont1">Package</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="SQLite/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
</TR>
|
||||
|
@ -48,7 +54,7 @@ function windowTitle()
|
|||
PREV
|
||||
NEXT</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="index.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="index.html?constant-values.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="constant-values.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
|
@ -61,6 +67,7 @@ function windowTitle()
|
|||
<A HREF="allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
@ -80,22 +87,22 @@ Constant Field Values</H1>
|
|||
<A NAME="SQLite"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TD ALIGN="left"><FONT SIZE="+2">
|
||||
<B>SQLite.*</B></FONT></TD>
|
||||
<TH ALIGN="left"><FONT SIZE="+2">
|
||||
SQLite.*</FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
|
||||
<TABLE BORDER="0" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TD COLSPAN=3><B>SQLite.<A HREF="SQLite/Constants.html" title="class in SQLite">Constants</A></B></TD>
|
||||
<TH ALIGN="left" COLSPAN="3">SQLite.<A HREF="SQLite/Constants.html" title="class in SQLite">Constants</A></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<A NAME="SQLite.Constants.drv_minor"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
|
||||
<CODE>public static final int</CODE></FONT></TD>
|
||||
<TD ALIGN="left"><CODE><A HREF="SQLite/Constants.html#drv_minor">drv_minor</A></CODE></TD>
|
||||
<TD ALIGN="right"><CODE>20100727</CODE></TD>
|
||||
<TD ALIGN="right"><CODE>20110817</CODE></TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<A NAME="SQLite.Constants.SQLITE_ABORT"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
|
||||
|
@ -209,7 +216,7 @@ Constant Field Values</H1>
|
|||
<A NAME="SQLite.Constants.SQLITE_DBSTATUS_CACHE_USED"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
|
||||
<CODE>public static final int</CODE></FONT></TD>
|
||||
<TD ALIGN="left"><CODE><A HREF="SQLite/Constants.html#SQLITE_DBSTATUS_CACHE_USED">SQLITE_DBSTATUS_CACHE_USED</A></CODE></TD>
|
||||
<TD ALIGN="right"><CODE>1</CODE></TD>
|
||||
<TD ALIGN="right"><CODE>0</CODE></TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<A NAME="SQLite.Constants.SQLITE_DBSTATUS_LOOKASIDE_USED"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
|
||||
|
@ -419,31 +426,31 @@ Constant Field Values</H1>
|
|||
<A NAME="SQLite.Constants.SQLITE_OPEN_CREATE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
|
||||
<CODE>public static final int</CODE></FONT></TD>
|
||||
<TD ALIGN="left"><CODE><A HREF="SQLite/Constants.html#SQLITE_OPEN_CREATE">SQLITE_OPEN_CREATE</A></CODE></TD>
|
||||
<TD ALIGN="right"><CODE>4</CODE></TD>
|
||||
<TD ALIGN="right"><CODE>0</CODE></TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<A NAME="SQLite.Constants.SQLITE_OPEN_FULLMUTEX"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
|
||||
<CODE>public static final int</CODE></FONT></TD>
|
||||
<TD ALIGN="left"><CODE><A HREF="SQLite/Constants.html#SQLITE_OPEN_FULLMUTEX">SQLITE_OPEN_FULLMUTEX</A></CODE></TD>
|
||||
<TD ALIGN="right"><CODE>65536</CODE></TD>
|
||||
<TD ALIGN="right"><CODE>0</CODE></TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<A NAME="SQLite.Constants.SQLITE_OPEN_NOMUTEX"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
|
||||
<CODE>public static final int</CODE></FONT></TD>
|
||||
<TD ALIGN="left"><CODE><A HREF="SQLite/Constants.html#SQLITE_OPEN_NOMUTEX">SQLITE_OPEN_NOMUTEX</A></CODE></TD>
|
||||
<TD ALIGN="right"><CODE>32768</CODE></TD>
|
||||
<TD ALIGN="right"><CODE>0</CODE></TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<A NAME="SQLite.Constants.SQLITE_OPEN_READONLY"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
|
||||
<CODE>public static final int</CODE></FONT></TD>
|
||||
<TD ALIGN="left"><CODE><A HREF="SQLite/Constants.html#SQLITE_OPEN_READONLY">SQLITE_OPEN_READONLY</A></CODE></TD>
|
||||
<TD ALIGN="right"><CODE>1</CODE></TD>
|
||||
<TD ALIGN="right"><CODE>0</CODE></TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<A NAME="SQLite.Constants.SQLITE_OPEN_READWRITE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
|
||||
<CODE>public static final int</CODE></FONT></TD>
|
||||
<TD ALIGN="left"><CODE><A HREF="SQLite/Constants.html#SQLITE_OPEN_READWRITE">SQLITE_OPEN_READWRITE</A></CODE></TD>
|
||||
<TD ALIGN="right"><CODE>2</CODE></TD>
|
||||
<TD ALIGN="right"><CODE>0</CODE></TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<A NAME="SQLite.Constants.SQLITE_PERM"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
|
||||
|
@ -503,7 +510,7 @@ Constant Field Values</H1>
|
|||
<A NAME="SQLite.Constants.SQLITE_STATUS_MALLOC_SIZE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
|
||||
<CODE>public static final int</CODE></FONT></TD>
|
||||
<TD ALIGN="left"><CODE><A HREF="SQLite/Constants.html#SQLITE_STATUS_MALLOC_SIZE">SQLITE_STATUS_MALLOC_SIZE</A></CODE></TD>
|
||||
<TD ALIGN="right"><CODE>5</CODE></TD>
|
||||
<TD ALIGN="right"><CODE>0</CODE></TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<A NAME="SQLite.Constants.SQLITE_STATUS_MEMORY_USED"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
|
||||
|
@ -515,61 +522,61 @@ Constant Field Values</H1>
|
|||
<A NAME="SQLite.Constants.SQLITE_STATUS_PAGECACHE_OVERFLOW"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
|
||||
<CODE>public static final int</CODE></FONT></TD>
|
||||
<TD ALIGN="left"><CODE><A HREF="SQLite/Constants.html#SQLITE_STATUS_PAGECACHE_OVERFLOW">SQLITE_STATUS_PAGECACHE_OVERFLOW</A></CODE></TD>
|
||||
<TD ALIGN="right"><CODE>2</CODE></TD>
|
||||
<TD ALIGN="right"><CODE>0</CODE></TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<A NAME="SQLite.Constants.SQLITE_STATUS_PAGECACHE_SIZE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
|
||||
<CODE>public static final int</CODE></FONT></TD>
|
||||
<TD ALIGN="left"><CODE><A HREF="SQLite/Constants.html#SQLITE_STATUS_PAGECACHE_SIZE">SQLITE_STATUS_PAGECACHE_SIZE</A></CODE></TD>
|
||||
<TD ALIGN="right"><CODE>7</CODE></TD>
|
||||
<TD ALIGN="right"><CODE>0</CODE></TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<A NAME="SQLite.Constants.SQLITE_STATUS_PAGECACHE_USED"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
|
||||
<CODE>public static final int</CODE></FONT></TD>
|
||||
<TD ALIGN="left"><CODE><A HREF="SQLite/Constants.html#SQLITE_STATUS_PAGECACHE_USED">SQLITE_STATUS_PAGECACHE_USED</A></CODE></TD>
|
||||
<TD ALIGN="right"><CODE>1</CODE></TD>
|
||||
<TD ALIGN="right"><CODE>0</CODE></TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<A NAME="SQLite.Constants.SQLITE_STATUS_PARSER_STACK"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
|
||||
<CODE>public static final int</CODE></FONT></TD>
|
||||
<TD ALIGN="left"><CODE><A HREF="SQLite/Constants.html#SQLITE_STATUS_PARSER_STACK">SQLITE_STATUS_PARSER_STACK</A></CODE></TD>
|
||||
<TD ALIGN="right"><CODE>6</CODE></TD>
|
||||
<TD ALIGN="right"><CODE>0</CODE></TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<A NAME="SQLite.Constants.SQLITE_STATUS_SCRATCH_OVERFLOW"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
|
||||
<CODE>public static final int</CODE></FONT></TD>
|
||||
<TD ALIGN="left"><CODE><A HREF="SQLite/Constants.html#SQLITE_STATUS_SCRATCH_OVERFLOW">SQLITE_STATUS_SCRATCH_OVERFLOW</A></CODE></TD>
|
||||
<TD ALIGN="right"><CODE>4</CODE></TD>
|
||||
<TD ALIGN="right"><CODE>0</CODE></TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<A NAME="SQLite.Constants.SQLITE_STATUS_SCRATCH_SIZE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
|
||||
<CODE>public static final int</CODE></FONT></TD>
|
||||
<TD ALIGN="left"><CODE><A HREF="SQLite/Constants.html#SQLITE_STATUS_SCRATCH_SIZE">SQLITE_STATUS_SCRATCH_SIZE</A></CODE></TD>
|
||||
<TD ALIGN="right"><CODE>8</CODE></TD>
|
||||
<TD ALIGN="right"><CODE>0</CODE></TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<A NAME="SQLite.Constants.SQLITE_STATUS_SCRATCH_USED"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
|
||||
<CODE>public static final int</CODE></FONT></TD>
|
||||
<TD ALIGN="left"><CODE><A HREF="SQLite/Constants.html#SQLITE_STATUS_SCRATCH_USED">SQLITE_STATUS_SCRATCH_USED</A></CODE></TD>
|
||||
<TD ALIGN="right"><CODE>3</CODE></TD>
|
||||
<TD ALIGN="right"><CODE>0</CODE></TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<A NAME="SQLite.Constants.SQLITE_STMTSTATUS_AUTOINDEX"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
|
||||
<CODE>public static final int</CODE></FONT></TD>
|
||||
<TD ALIGN="left"><CODE><A HREF="SQLite/Constants.html#SQLITE_STMTSTATUS_AUTOINDEX">SQLITE_STMTSTATUS_AUTOINDEX</A></CODE></TD>
|
||||
<TD ALIGN="right"><CODE>3</CODE></TD>
|
||||
<TD ALIGN="right"><CODE>0</CODE></TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<A NAME="SQLite.Constants.SQLITE_STMTSTATUS_FULLSCAN_STEP"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
|
||||
<CODE>public static final int</CODE></FONT></TD>
|
||||
<TD ALIGN="left"><CODE><A HREF="SQLite/Constants.html#SQLITE_STMTSTATUS_FULLSCAN_STEP">SQLITE_STMTSTATUS_FULLSCAN_STEP</A></CODE></TD>
|
||||
<TD ALIGN="right"><CODE>1</CODE></TD>
|
||||
<TD ALIGN="right"><CODE>0</CODE></TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<A NAME="SQLite.Constants.SQLITE_STMTSTATUS_SORT"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
|
||||
<CODE>public static final int</CODE></FONT></TD>
|
||||
<TD ALIGN="left"><CODE><A HREF="SQLite/Constants.html#SQLITE_STMTSTATUS_SORT">SQLITE_STMTSTATUS_SORT</A></CODE></TD>
|
||||
<TD ALIGN="right"><CODE>2</CODE></TD>
|
||||
<TD ALIGN="right"><CODE>0</CODE></TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<A NAME="SQLite.Constants.SQLITE_TEXT"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
|
||||
|
@ -622,12 +629,12 @@ Constant Field Values</H1>
|
|||
<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">
|
||||
<TD COLSPAN=2 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"> <FONT CLASS="NavBarFont1">Package</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="SQLite/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
</TR>
|
||||
|
@ -643,7 +650,7 @@ Constant Field Values</H1>
|
|||
PREV
|
||||
NEXT</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="index.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="index.html?constant-values.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="constant-values.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
|
@ -656,6 +663,7 @@ Constant Field Values</H1>
|
|||
<A HREF="allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
|
|
@ -2,14 +2,27 @@
|
|||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc on Sat Apr 30 14:01:26 CEST 2011-->
|
||||
<!-- Generated by javadoc on Tue Aug 23 16:11:22 PDT 2011-->
|
||||
<TITLE>
|
||||
SQLite Java Wrapper
|
||||
</TITLE>
|
||||
<SCRIPT type="text/javascript">
|
||||
targetPage = "" + window.location.search;
|
||||
if (targetPage != "" && targetPage != "undefined")
|
||||
targetPage = targetPage.substring(1);
|
||||
if (targetPage.indexOf(":") != -1)
|
||||
targetPage = "undefined";
|
||||
function loadFrames() {
|
||||
if (targetPage != "" && targetPage != "undefined")
|
||||
top.classFrame.location = top.targetPage;
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
</HEAD>
|
||||
<FRAMESET cols="20%,80%">
|
||||
<FRAMESET cols="20%,80%" title="" onLoad="top.loadFrames()">
|
||||
<FRAME src="allclasses-frame.html" name="packageFrame" title="All classes and interfaces (except non-static nested types)">
|
||||
<FRAME src="overview-summary.html" name="classFrame" title="Package, class and interface descriptions">
|
||||
<FRAME src="overview-summary.html" name="classFrame" title="Package, class and interface descriptions" scrolling="yes">
|
||||
<NOFRAMES>
|
||||
<H2>
|
||||
Frame Alert</H2>
|
||||
|
|
|
@ -2,28 +2,30 @@
|
|||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.4.2_03) on Sat Apr 30 14:01:26 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Tue Aug 23 16:11:22 PDT 2011 -->
|
||||
<TITLE>
|
||||
Overview (SQLite Java Wrapper)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="keywords" CONTENT="Overview, SQLite Java Wrapper/JDBC Driver
|
||||
<br><small>
|
||||
2011-04-30
|
||||
</small>">
|
||||
<META NAME="date" CONTENT="2011-08-23">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
parent.document.title="Overview (SQLite Java Wrapper)";
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Overview (SQLite Java Wrapper)";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
|
@ -31,12 +33,12 @@ function windowTitle()
|
|||
<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">
|
||||
<TD COLSPAN=2 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="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Overview</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="SQLite/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
</TR>
|
||||
|
@ -52,7 +54,7 @@ function windowTitle()
|
|||
PREV
|
||||
NEXT</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="index.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="index.html?overview-summary.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="overview-summary.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
|
@ -65,6 +67,7 @@ function windowTitle()
|
|||
<A HREF="allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
@ -92,8 +95,8 @@ SQLite 2/3 database engine</A>.
|
|||
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TD COLSPAN=2><FONT SIZE="+2">
|
||||
<B>Packages</B></FONT></TD>
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Packages</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD WIDTH="20%"><B><A HREF="SQLite/package-summary.html">SQLite</A></B></TD>
|
||||
|
@ -114,10 +117,9 @@ SQLite.Database</A> class.
|
|||
Since June, 2002, it includes a small <A HREF="#jdbc_driver">JDBC driver</A>,
|
||||
which allows the most basic things to be carried out using the
|
||||
<TT>java.sql</TT> package.
|
||||
Since September, 2004, SQLite3 (minimum 3.0.7) is supported which
|
||||
is rather experimental. The JNI part can be generated to include support
|
||||
for both SQLite 2.x and 3.x and detects at runtime the type of the
|
||||
database.
|
||||
Since September, 2004, SQLite3 (minimum 3.0.7) is supported. The JNI part can
|
||||
be generated to include support for both SQLite 2.x and 3.x and detects at
|
||||
runtime the type of the database.
|
||||
<P>
|
||||
The current source tarball can be downloaded from
|
||||
<A HREF="http://www.ch-werner.de/javasqlite/javasqlite-20110430.tar.gz">
|
||||
|
@ -261,9 +263,13 @@ databases with JDK >= 1.3 and the
|
|||
tool.
|
||||
<P>
|
||||
A JDBC based benchmark program is built into <TT>sqlite.jar</TT>.
|
||||
It can be invoked by
|
||||
If using a non OJEC version of Java it can be invoked by
|
||||
<PRE>
|
||||
$ java -cp sqlite.jar SQLite.Benchmark ...
|
||||
$ java -cp sqlite.jar SQLite.BenchmarkDriver ...
|
||||
</PRE>
|
||||
If using an OJEC version of Java it can be invoked by
|
||||
<PRE>
|
||||
$ java -cp sqlite.jar SQLite.BenchmarkDataSource ...
|
||||
</PRE>
|
||||
For further details see the usage information when invoked without
|
||||
arguments and consult the source code.
|
||||
|
@ -343,12 +349,12 @@ MODIFICATIONS.
|
|||
<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">
|
||||
<TD COLSPAN=2 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="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Overview</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="SQLite/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
</TR>
|
||||
|
@ -364,7 +370,7 @@ MODIFICATIONS.
|
|||
PREV
|
||||
NEXT</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="index.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="index.html?overview-summary.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="overview-summary.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
|
@ -377,6 +383,7 @@ MODIFICATIONS.
|
|||
<A HREF="allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
|
|
@ -2,24 +2,30 @@
|
|||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.4.2_03) on Sat Apr 30 14:01:26 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Tue Aug 23 16:11:22 PDT 2011 -->
|
||||
<TITLE>
|
||||
Class Hierarchy (SQLite Java Wrapper)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-08-23">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
parent.document.title="Class Hierarchy (SQLite Java Wrapper)";
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Class Hierarchy (SQLite Java Wrapper)";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
|
@ -27,12 +33,12 @@ function windowTitle()
|
|||
<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">
|
||||
<TD COLSPAN=2 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"> <FONT CLASS="NavBarFont1">Package</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="SQLite/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Tree</B></FONT> </TD>
|
||||
</TR>
|
||||
|
@ -48,7 +54,7 @@ function windowTitle()
|
|||
PREV
|
||||
NEXT</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="index.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="index.html?overview-tree.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="overview-tree.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
|
@ -61,6 +67,7 @@ function windowTitle()
|
|||
<A HREF="allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
@ -79,24 +86,26 @@ Hierarchy For All Packages</H2>
|
|||
Class Hierarchy
|
||||
</H2>
|
||||
<UL>
|
||||
<LI TYPE="circle">class java.lang.<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang"><B>Object</B></A><UL>
|
||||
<LI TYPE="circle">class SQLite.<A HREF="SQLite/Backup.html" title="class in SQLite"><B>Backup</B></A><LI TYPE="circle">class SQLite.<A HREF="SQLite/Blob.html" title="class in SQLite"><B>Blob</B></A><LI TYPE="circle">class SQLite.<A HREF="SQLite/Constants.html" title="class in SQLite"><B>Constants</B></A><LI TYPE="circle">class SQLite.<A HREF="SQLite/Database.html" title="class in SQLite"><B>Database</B></A><LI TYPE="circle">class SQLite.<A HREF="SQLite/FunctionContext.html" title="class in SQLite"><B>FunctionContext</B></A><LI TYPE="circle">class java.io.<A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html" title="class or interface in java.io"><B>InputStream</B></A><UL>
|
||||
<LI TYPE="circle">class SQLite.<A HREF="SQLite/BlobR.html" title="class in SQLite"><B>BlobR</B></A></UL>
|
||||
<LI TYPE="circle">class java.io.<A HREF="http://java.sun.com/javase/6/docs/api/java/io/OutputStream.html" title="class or interface in java.io"><B>OutputStream</B></A><UL>
|
||||
<LI TYPE="circle">class SQLite.<A HREF="SQLite/BlobW.html" title="class in SQLite"><B>BlobW</B></A></UL>
|
||||
<LI TYPE="circle">class SQLite.<A HREF="SQLite/Stmt.html" title="class in SQLite"><B>Stmt</B></A><LI TYPE="circle">class SQLite.<A HREF="SQLite/StringEncoder.html" title="class in SQLite"><B>StringEncoder</B></A><LI TYPE="circle">class SQLite.<A HREF="SQLite/TableResult.html" title="class in SQLite"><B>TableResult</B></A> (implements SQLite.<A HREF="SQLite/Callback.html" title="interface in SQLite">Callback</A>)
|
||||
<LI TYPE="circle">class java.lang.<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Throwable.html" title="class or interface in java.lang"><B>Throwable</B></A> (implements java.io.<A HREF="http://java.sun.com/javase/6/docs/api/java/io/Serializable.html" title="class or interface in java.io">Serializable</A>)
|
||||
<LI TYPE="circle">java.lang.Object<UL>
|
||||
<LI TYPE="circle">SQLite.<A HREF="SQLite/Backup.html" title="class in SQLite"><B>Backup</B></A><LI TYPE="circle">SQLite.<A HREF="SQLite/Blob.html" title="class in SQLite"><B>Blob</B></A><LI TYPE="circle">SQLite.<A HREF="SQLite/Constants.html" title="class in SQLite"><B>Constants</B></A><LI TYPE="circle">SQLite.<A HREF="SQLite/Database.html" title="class in SQLite"><B>Database</B></A><LI TYPE="circle">SQLite.<A HREF="SQLite/FunctionContext.html" title="class in SQLite"><B>FunctionContext</B></A><LI TYPE="circle">java.io.InputStream (implements java.io.Closeable)
|
||||
<UL>
|
||||
<LI TYPE="circle">class java.lang.<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Exception.html" title="class or interface in java.lang"><B>Exception</B></A><UL>
|
||||
<LI TYPE="circle">class SQLite.<A HREF="SQLite/Exception.html" title="class in SQLite"><B>Exception</B></A></UL>
|
||||
<LI TYPE="circle">SQLite.<A HREF="SQLite/BlobR.html" title="class in SQLite"><B>BlobR</B></A></UL>
|
||||
<LI TYPE="circle">java.io.OutputStream (implements java.io.Closeable, java.io.Flushable)
|
||||
<UL>
|
||||
<LI TYPE="circle">SQLite.<A HREF="SQLite/BlobW.html" title="class in SQLite"><B>BlobW</B></A></UL>
|
||||
<LI TYPE="circle">SQLite.<A HREF="SQLite/Stmt.html" title="class in SQLite"><B>Stmt</B></A><LI TYPE="circle">SQLite.<A HREF="SQLite/StringEncoder.html" title="class in SQLite"><B>StringEncoder</B></A><LI TYPE="circle">SQLite.<A HREF="SQLite/TableResult.html" title="class in SQLite"><B>TableResult</B></A> (implements SQLite.<A HREF="SQLite/Callback.html" title="interface in SQLite">Callback</A>)
|
||||
<LI TYPE="circle">java.lang.Throwable (implements java.io.Serializable)
|
||||
<UL>
|
||||
<LI TYPE="circle">java.lang.Exception<UL>
|
||||
<LI TYPE="circle">SQLite.<A HREF="SQLite/Exception.html" title="class in SQLite"><B>Exception</B></A></UL>
|
||||
</UL>
|
||||
<LI TYPE="circle">class SQLite.<A HREF="SQLite/Vm.html" title="class in SQLite"><B>Vm</B></A></UL>
|
||||
<LI TYPE="circle">SQLite.<A HREF="SQLite/Vm.html" title="class in SQLite"><B>Vm</B></A></UL>
|
||||
</UL>
|
||||
<H2>
|
||||
Interface Hierarchy
|
||||
</H2>
|
||||
<UL>
|
||||
<LI TYPE="circle">interface SQLite.<A HREF="SQLite/Authorizer.html" title="interface in SQLite"><B>Authorizer</B></A><LI TYPE="circle">interface SQLite.<A HREF="SQLite/BusyHandler.html" title="interface in SQLite"><B>BusyHandler</B></A><LI TYPE="circle">interface SQLite.<A HREF="SQLite/Callback.html" title="interface in SQLite"><B>Callback</B></A><LI TYPE="circle">interface SQLite.<A HREF="SQLite/Function.html" title="interface in SQLite"><B>Function</B></A><LI TYPE="circle">interface SQLite.<A HREF="SQLite/Profile.html" title="interface in SQLite"><B>Profile</B></A><LI TYPE="circle">interface SQLite.<A HREF="SQLite/ProgressHandler.html" title="interface in SQLite"><B>ProgressHandler</B></A><LI TYPE="circle">interface SQLite.<A HREF="SQLite/Trace.html" title="interface in SQLite"><B>Trace</B></A></UL>
|
||||
<LI TYPE="circle">SQLite.<A HREF="SQLite/Authorizer.html" title="interface in SQLite"><B>Authorizer</B></A><LI TYPE="circle">SQLite.<A HREF="SQLite/BusyHandler.html" title="interface in SQLite"><B>BusyHandler</B></A><LI TYPE="circle">SQLite.<A HREF="SQLite/Callback.html" title="interface in SQLite"><B>Callback</B></A><LI TYPE="circle">SQLite.<A HREF="SQLite/Function.html" title="interface in SQLite"><B>Function</B></A><LI TYPE="circle">SQLite.<A HREF="SQLite/Profile.html" title="interface in SQLite"><B>Profile</B></A><LI TYPE="circle">SQLite.<A HREF="SQLite/ProgressHandler.html" title="interface in SQLite"><B>ProgressHandler</B></A><LI TYPE="circle">SQLite.<A HREF="SQLite/Trace.html" title="interface in SQLite"><B>Trace</B></A></UL>
|
||||
<HR>
|
||||
|
||||
|
||||
|
@ -105,12 +114,12 @@ Interface Hierarchy
|
|||
<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">
|
||||
<TD COLSPAN=2 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"> <FONT CLASS="NavBarFont1">Package</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="SQLite/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Tree</B></FONT> </TD>
|
||||
</TR>
|
||||
|
@ -126,7 +135,7 @@ Interface Hierarchy
|
|||
PREV
|
||||
NEXT</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="index.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="index.html?overview-tree.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="overview-tree.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
|
@ -139,6 +148,7 @@ Interface Hierarchy
|
|||
<A HREF="allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
|
|
@ -20,10 +20,9 @@ SQLite.Database</A> class.
|
|||
Since June, 2002, it includes a small <A HREF="#jdbc_driver">JDBC driver</A>,
|
||||
which allows the most basic things to be carried out using the
|
||||
<TT>java.sql</TT> package.
|
||||
Since September, 2004, SQLite3 (minimum 3.0.7) is supported which
|
||||
is rather experimental. The JNI part can be generated to include support
|
||||
for both SQLite 2.x and 3.x and detects at runtime the type of the
|
||||
database.
|
||||
Since September, 2004, SQLite3 (minimum 3.0.7) is supported. The JNI part can
|
||||
be generated to include support for both SQLite 2.x and 3.x and detects at
|
||||
runtime the type of the database.
|
||||
<P>
|
||||
The current source tarball can be downloaded from
|
||||
<A HREF="http://www.ch-werner.de/javasqlite/javasqlite-20110430.tar.gz">
|
||||
|
@ -167,9 +166,13 @@ databases with JDK >= 1.3 and the
|
|||
tool.
|
||||
<P>
|
||||
A JDBC based benchmark program is built into <TT>sqlite.jar</TT>.
|
||||
It can be invoked by
|
||||
If using a non OJEC version of Java it can be invoked by
|
||||
<PRE>
|
||||
$ java -cp sqlite.jar SQLite.Benchmark ...
|
||||
$ java -cp sqlite.jar SQLite.BenchmarkDriver ...
|
||||
</PRE>
|
||||
If using an OJEC version of Java it can be invoked by
|
||||
<PRE>
|
||||
$ java -cp sqlite.jar SQLite.BenchmarkDataSource ...
|
||||
</PRE>
|
||||
For further details see the usage information when invoked without
|
||||
arguments and consult the source code.
|
||||
|
|
|
@ -2,24 +2,30 @@
|
|||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.4.2_03) on Sat Apr 30 14:01:28 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Tue Aug 23 16:11:22 PDT 2011 -->
|
||||
<TITLE>
|
||||
Serialized Form (SQLite Java Wrapper)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-08-23">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
parent.document.title="Serialized Form (SQLite Java Wrapper)";
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Serialized Form (SQLite Java Wrapper)";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
|
@ -27,12 +33,12 @@ function windowTitle()
|
|||
<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">
|
||||
<TD COLSPAN=2 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"> <FONT CLASS="NavBarFont1">Package</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="SQLite/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
</TR>
|
||||
|
@ -48,7 +54,7 @@ function windowTitle()
|
|||
PREV
|
||||
NEXT</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="index.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="index.html?serialized-form.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="serialized-form.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
|
@ -61,6 +67,7 @@ function windowTitle()
|
|||
<A HREF="allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
@ -72,11 +79,21 @@ function windowTitle()
|
|||
<H1>
|
||||
Serialized Form</H1>
|
||||
</CENTER>
|
||||
<HR SIZE="4" NOSHADE>
|
||||
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="center"><FONT SIZE="+2">
|
||||
<B>Package</B> <B>SQLite</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
<A NAME="SQLite.Exception"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
|
||||
<TD COLSPAN=2><FONT SIZE="+2">
|
||||
<B>Class <A HREF="SQLite/Exception.html" title="class in SQLite">SQLite.Exception</A> extends <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Exception.html" title="class or interface in java.lang">Exception</A> implements Serializable</B></FONT></TD>
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Class <A HREF="SQLite/Exception.html" title="class in SQLite">SQLite.Exception</A> extends java.lang.Exception implements Serializable</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
|
@ -91,12 +108,12 @@ Serialized Form</H1>
|
|||
<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">
|
||||
<TD COLSPAN=2 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"> <FONT CLASS="NavBarFont1">Package</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="SQLite/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
</TR>
|
||||
|
@ -112,7 +129,7 @@ Serialized Form</H1>
|
|||
PREV
|
||||
NEXT</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="index.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="index.html?serialized-form.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="serialized-form.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
|
@ -125,6 +142,7 @@ Serialized Form</H1>
|
|||
<A HREF="allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
|
|
@ -3,27 +3,27 @@
|
|||
/* Define colors, fonts and other style attributes here to override the defaults */
|
||||
|
||||
/* Page background color */
|
||||
body { background-color: #FFFFFF }
|
||||
body { background-color: #FFFFFF; color:#000000 }
|
||||
|
||||
/* Headings */
|
||||
h1 { font-size: 145% }
|
||||
|
||||
/* Table colors */
|
||||
.TableHeadingColor { background: #CCCCFF } /* Dark mauve */
|
||||
.TableSubHeadingColor { background: #EEEEFF } /* Light mauve */
|
||||
.TableRowColor { background: #FFFFFF } /* White */
|
||||
.TableHeadingColor { background: #CCCCFF; color:#000000 } /* Dark mauve */
|
||||
.TableSubHeadingColor { background: #EEEEFF; color:#000000 } /* Light mauve */
|
||||
.TableRowColor { background: #FFFFFF; color:#000000 } /* White */
|
||||
|
||||
/* Font used in left-hand frame lists */
|
||||
.FrameTitleFont { font-size: 100%; font-family: Helvetica, Arial, sans-serif }
|
||||
.FrameHeadingFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif }
|
||||
.FrameItemFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif }
|
||||
.FrameTitleFont { font-size: 100%; font-family: Helvetica, Arial, sans-serif; color:#000000 }
|
||||
.FrameHeadingFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 }
|
||||
.FrameItemFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 }
|
||||
|
||||
/* Navigation bar fonts and colors */
|
||||
.NavBarCell1 { background-color:#EEEEFF;} /* Light mauve */
|
||||
.NavBarCell1Rev { background-color:#00008B;} /* Dark Blue */
|
||||
.NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;}
|
||||
.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;}
|
||||
.NavBarCell1 { background-color:#EEEEFF; color:#000000} /* Light mauve */
|
||||
.NavBarCell1Rev { background-color:#00008B; color:#FFFFFF} /* Dark Blue */
|
||||
.NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;color:#000000;}
|
||||
.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;color:#FFFFFF;}
|
||||
|
||||
.NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;}
|
||||
.NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;}
|
||||
.NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000}
|
||||
.NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000}
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
|
|||
|
||||
# ### BEGIN LIBTOOL CONFIG
|
||||
|
||||
# Libtool was configured on host fl18server.nodomain:
|
||||
# Libtool was configured on host adc2190113:
|
||||
|
||||
# Shell to use when invoking shell scripts.
|
||||
SHELL="/bin/sh"
|
||||
|
@ -57,7 +57,7 @@ fast_install=yes
|
|||
|
||||
# The host system.
|
||||
host_alias=
|
||||
host=i686-pc-linux-gnu
|
||||
host=x86_64-unknown-linux-gnu
|
||||
|
||||
# An echo program that does not interpret backslashes.
|
||||
echo="echo"
|
||||
|
@ -147,7 +147,7 @@ dlopen_self_static=unknown
|
|||
link_static_flag="-static"
|
||||
|
||||
# Compiler flag to turn off builtin functions.
|
||||
no_builtin_flag=" -fno-builtin -fno-rtti -fno-exceptions"
|
||||
no_builtin_flag=" -fno-builtin"
|
||||
|
||||
# Compiler flag to allow reflexive dlopens.
|
||||
export_dynamic_flag_spec="\${wl}--export-dynamic"
|
||||
|
@ -262,10 +262,10 @@ variables_saved_for_relink="PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX COM
|
|||
link_all_deplibs=unknown
|
||||
|
||||
# Compile-time system search path for libraries
|
||||
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
|
||||
sys_lib_search_path_spec="/lib64 /usr/lib64 /usr/local/lib64"
|
||||
|
||||
# Run-time system search path for libraries
|
||||
sys_lib_dlsearch_path_spec="/lib /usr/lib"
|
||||
sys_lib_dlsearch_path_spec="/lib64 /usr/lib64"
|
||||
|
||||
# Fix the shell variable $srcfile for the compiler.
|
||||
fix_srcfile_path=""
|
||||
|
|
|
@ -13,6 +13,8 @@
|
|||
#include <sqlite3.h>
|
||||
#include <bfile.h>
|
||||
|
||||
typedef sqlite3_int64 bfile_handle;
|
||||
|
||||
int exec(sqlite3 *db, char *sql)
|
||||
{
|
||||
int rc;
|
||||
|
@ -63,7 +65,8 @@ static int query_bfile(sqlite3* db) {
|
|||
sqlite3_stmt *pStmt, *pBfileStmt;
|
||||
char *photo;
|
||||
off_t offset;
|
||||
int row, id, bHdl, len, i;
|
||||
int row, id, len, i;
|
||||
bfile_handle bHdl;
|
||||
const char *sql_bfile_open =
|
||||
"SELECT id, BFILE_OPEN(photo) FROM test_bfile;";
|
||||
const char *sql_bfile_read = "SELECT BFILE_READ(?, ?, ?);";
|
||||
|
@ -85,7 +88,7 @@ static int query_bfile(sqlite3* db) {
|
|||
printf("-------------row%d------------\n", ++row);
|
||||
|
||||
id = sqlite3_column_int(pStmt, 0);
|
||||
bHdl = sqlite3_column_int(pStmt, 1);
|
||||
bHdl = sqlite3_column_int64(pStmt, 1);
|
||||
|
||||
printf("id:\n%d\nphoto:\n", id);
|
||||
|
||||
|
@ -101,7 +104,7 @@ static int query_bfile(sqlite3* db) {
|
|||
cleanup_if_error(rc2, cleanup_read);
|
||||
|
||||
while (1) {
|
||||
rc2 = sqlite3_bind_int(pBfileStmt, 1, bHdl);
|
||||
rc2 = sqlite3_bind_int64(pBfileStmt, 1, bHdl);
|
||||
cleanup_if_error(rc2, cleanup_read);
|
||||
|
||||
rc2 = sqlite3_bind_int(pBfileStmt, 2, amount);
|
||||
|
@ -145,7 +148,7 @@ cleanup_read:
|
|||
rc2 = sqlite3_prepare(db, sql_bfile_close, -1, &pBfileStmt, 0);
|
||||
cleanup_if_error(rc2, cleanup_close);
|
||||
|
||||
rc2 = sqlite3_bind_int(pBfileStmt, 1, bHdl);
|
||||
rc2 = sqlite3_bind_int64(pBfileStmt, 1, bHdl);
|
||||
cleanup_if_error(rc2, cleanup_close);
|
||||
|
||||
rc2 = sqlite3_step(pBfileStmt);
|
||||
|
|
|
@ -716,7 +716,7 @@ static void BFileOpenFunc(
|
|||
memset(pHdl, 0, sizeof(BfileHdl));
|
||||
pHdl->full_path = full_path;
|
||||
pHdl->fd = fd;
|
||||
sqlite3_result_int(context, (int)pHdl);
|
||||
sqlite3_result_int64(context, (sqlite3_int64)pHdl);
|
||||
return;
|
||||
|
||||
err:
|
||||
|
@ -747,7 +747,7 @@ static void BFileCloseFunc(
|
|||
|
||||
assert(context != NULL && argc == 1 && argv != NULL);
|
||||
|
||||
pHdl = (BfileHdl*)sqlite3_value_int(argv[0]);
|
||||
pHdl = (BfileHdl*)sqlite3_value_int64(argv[0]);
|
||||
if (pHdl != NULL) {
|
||||
if (pHdl->fd >= 0)
|
||||
close(pHdl->fd);
|
||||
|
@ -797,7 +797,7 @@ static void BFileReadFunc(
|
|||
|
||||
assert(context != NULL && argc == 3 && argv != NULL);
|
||||
|
||||
pHdl = (BfileHdl*)sqlite3_value_int(argv[0]);
|
||||
pHdl = (BfileHdl*)sqlite3_value_int64(argv[0]);
|
||||
if (pHdl == NULL || pHdl->full_path == NULL || pHdl->fd < 0) {
|
||||
sqlite3_result_error(context, "invalid bfile handle", -1);
|
||||
return;
|
||||
|
@ -855,7 +855,8 @@ static void BFileSizeFunc(
|
|||
{
|
||||
int rc;
|
||||
sqlite3 *db;
|
||||
int loc_size, size;
|
||||
int loc_size;
|
||||
off_t size;
|
||||
char *pLoc, *full_path;
|
||||
|
||||
assert(context != NULL && argc == 1 && argv != NULL);
|
||||
|
@ -883,7 +884,7 @@ static void BFileSizeFunc(
|
|||
/* check existence, if not exits at at set size as -1 */
|
||||
if (access(full_path, F_OK))
|
||||
sqlite3_result_int(context, -1);
|
||||
else if (__bfile_get_size(full_path, (off_t*)&size) == SQLITE_OK)
|
||||
else if (__bfile_get_size(full_path, &size) == SQLITE_OK)
|
||||
sqlite3_result_int(context, size);
|
||||
else
|
||||
sqlite3_result_error(context, "internal error", -1);
|
||||
|
|
|
@ -19,6 +19,8 @@
|
|||
#include <sqlite3.h>
|
||||
#include <bfile.h>
|
||||
|
||||
typedef sqlite3_int64 bfile_handle;
|
||||
|
||||
#define CHECK_ERR \
|
||||
if (rc != SQLITE_OK) { \
|
||||
printf(" SQL error: %s\n", zErrMsg); \
|
||||
|
@ -163,7 +165,8 @@ static void test_BfileSize(sqlite3* db) {
|
|||
}
|
||||
|
||||
static void test_BfileOpenReadClose(sqlite3* db) {
|
||||
int rc, rc2, rc3, len, row, bHdl;
|
||||
int rc, rc2, rc3, len, row;
|
||||
bfile_handle bHdl;
|
||||
sqlite3_stmt *pStmt, *pBfileStmt;
|
||||
off_t amount, offset;
|
||||
char *sql[] = {"SELECT BFILE_OPEN(photo) FROM address_book",
|
||||
|
@ -191,7 +194,7 @@ static void test_BfileOpenReadClose(sqlite3* db) {
|
|||
row++;
|
||||
printf("-----------------row %d--------------------", row);
|
||||
|
||||
bHdl = sqlite3_column_int(pStmt, 0);
|
||||
bHdl = sqlite3_column_int64(pStmt, 0);
|
||||
if ((void*)bHdl == NULL) {
|
||||
printf("\t[OK]\n");
|
||||
continue;
|
||||
|
@ -208,7 +211,7 @@ static void test_BfileOpenReadClose(sqlite3* db) {
|
|||
}
|
||||
|
||||
while (1) {
|
||||
rc2 = sqlite3_bind_int(pBfileStmt, 1, bHdl);
|
||||
rc2 = sqlite3_bind_int64(pBfileStmt, 1, bHdl);
|
||||
if (rc2) {
|
||||
printf("\t[Failed]\tBFILE_READ: bind error\n");
|
||||
break;
|
||||
|
@ -262,7 +265,7 @@ static void test_BfileOpenReadClose(sqlite3* db) {
|
|||
continue;
|
||||
}
|
||||
|
||||
rc2 = sqlite3_bind_int(pBfileStmt, 1, bHdl);
|
||||
rc2 = sqlite3_bind_int64(pBfileStmt, 1, bHdl);
|
||||
if (rc2)
|
||||
printf("\t[Failed]\tBFILE_CLOSE: bind error\n");
|
||||
else {
|
||||
|
|
|
@ -914,9 +914,12 @@ __bam_vrfy_itemorder(dbp, vdp, ip, h, pgno, nentries, ovflok, hasdups, flags)
|
|||
BKEYDATA *bk;
|
||||
BOVERFLOW *bo;
|
||||
BTREE *bt;
|
||||
DB_MPOOLFILE *mpf;
|
||||
DBC *dbc;
|
||||
DBT dbta, dbtb, dup_1, dup_2, *p1, *p2, *tmp;
|
||||
ENV *env;
|
||||
PAGE *child;
|
||||
db_pgno_t cpgno;
|
||||
VRFY_PAGEINFO *pip;
|
||||
db_indx_t i, *inp;
|
||||
int adj, cmp, freedup_1, freedup_2, isbad, ret, t_ret;
|
||||
|
@ -957,7 +960,38 @@ __bam_vrfy_itemorder(dbp, vdp, ip, h, pgno, nentries, ovflok, hasdups, flags)
|
|||
func = __bam_defcmp;
|
||||
if (dbp->bt_internal != NULL) {
|
||||
bt = (BTREE *)dbp->bt_internal;
|
||||
if (bt->bt_compare != NULL)
|
||||
if (TYPE(h) == P_IBTREE && (bt->bt_compare != NULL ||
|
||||
dupfunc != __bam_defcmp)) {
|
||||
/*
|
||||
* The problem here is that we cannot
|
||||
* tell the difference between an off
|
||||
* page duplicate internal page and
|
||||
* a main database internal page.
|
||||
* Walk down the tree to figure it out.
|
||||
*/
|
||||
mpf = dbp->mpf;
|
||||
child = h;
|
||||
while (TYPE(child) == P_IBTREE) {
|
||||
bi = GET_BINTERNAL(dbp, child, 0);
|
||||
cpgno = bi->pgno;
|
||||
if (child != h &&
|
||||
(ret = __memp_fput(mpf,
|
||||
vdp->thread_info, child,
|
||||
DB_PRIORITY_UNCHANGED)) != 0)
|
||||
goto err;
|
||||
if ((ret = __memp_fget(mpf,
|
||||
&cpgno, vdp->thread_info,
|
||||
NULL, 0, &child)) != 0)
|
||||
goto err;
|
||||
}
|
||||
if (TYPE(child) == P_LDUP)
|
||||
func = dupfunc;
|
||||
else if (bt->bt_compare != NULL)
|
||||
func = bt->bt_compare;
|
||||
if ((ret = __memp_fput(mpf, vdp->thread_info,
|
||||
child, DB_PRIORITY_UNCHANGED)) != 0)
|
||||
goto err;
|
||||
} else if (bt->bt_compare != NULL)
|
||||
func = bt->bt_compare;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2670,6 +2670,7 @@ retry: /* Step 1. */
|
|||
F_SET(pdbc, DBC_TRANSIENT);
|
||||
SET_RET_MEM(pdbc, dbc);
|
||||
ret = __dbc_get(pdbc, pkey, data, DB_SET);
|
||||
DB_ASSERT(pdbp->env, ret != DB_PAGE_NOTFOUND);
|
||||
|
||||
/*
|
||||
* If the item wasn't found in the primary, this is a bug; our
|
||||
|
|