A B C D E F G H I J L M O P R S T W

A

addJob(SQLiteJob) - Method in class com.almworks.sqlite4java.SQLiteQueue
Adds a job to the job collection.
afterExecute(SQLiteJob) - Method in class com.almworks.sqlite4java.SQLiteQueue
Do some work after job.execute() finished.
append(String) - Method in class com.almworks.sqlite4java.SQLParts
Adds a part to the SQL.
append(SQLParts) - Method in class com.almworks.sqlite4java.SQLParts
Adds all parts from a different SQLParts to the SQL.
appendParams(int) - Method in class com.almworks.sqlite4java.SQLParts
Appends an SQL part consisting of a list of bind parameters.

B

backupStep(int) - Method in class com.almworks.sqlite4java.SQLiteBackup
Copy up to pagesToBackup pages from source database to destination.
bind(long[], int, int, boolean, boolean) - Method in class com.almworks.sqlite4java.SQLiteLongArray
Fills virtual array table with values from the specified portion of a Java array.
bind(long[], int, int) - Method in class com.almworks.sqlite4java.SQLiteLongArray
Fills virtual array table with values from a Java array.
bind(long...) - Method in class com.almworks.sqlite4java.SQLiteLongArray
Fills virtual array table with values from a Java array.
bind(long[], boolean, boolean) - Method in class com.almworks.sqlite4java.SQLiteLongArray
Fills virtual array table with values from a Java array.
bind(int, double) - Method in class com.almworks.sqlite4java.SQLiteStatement
Binds SQL parameter to a value of type double.
bind(String, double) - Method in class com.almworks.sqlite4java.SQLiteStatement
Binds SQL parameter to a value of type double.
bind(int, int) - Method in class com.almworks.sqlite4java.SQLiteStatement
Binds SQL parameter to a value of type int.
bind(String, int) - Method in class com.almworks.sqlite4java.SQLiteStatement
Binds SQL parameter to a value of type int.
bind(int, long) - Method in class com.almworks.sqlite4java.SQLiteStatement
Binds SQL parameter to a value of type long.
bind(String, long) - Method in class com.almworks.sqlite4java.SQLiteStatement
Binds SQL parameter to a value of type long.
bind(int, String) - Method in class com.almworks.sqlite4java.SQLiteStatement
Binds SQL parameter to a value of type String.
bind(String, String) - Method in class com.almworks.sqlite4java.SQLiteStatement
Binds SQL parameter to a value of type String.
bind(int, byte[]) - Method in class com.almworks.sqlite4java.SQLiteStatement
Binds SQL parameter to a BLOB value, represented by a byte array.
bind(String, byte[]) - Method in class com.almworks.sqlite4java.SQLiteStatement
Binds SQL parameter to a BLOB value, represented by a byte array.
bind(int, byte[], int, int) - Method in class com.almworks.sqlite4java.SQLiteStatement
Binds SQL parameter to a BLOB value, represented by a range within byte array.
bind(String, byte[], int, int) - Method in class com.almworks.sqlite4java.SQLiteStatement
Binds SQL parameter to a BLOB value, represented by a range within byte array.
bindNull(int) - Method in class com.almworks.sqlite4java.SQLiteStatement
Binds SQL parameter to a NULL value.
bindNull(String) - Method in class com.almworks.sqlite4java.SQLiteStatement
Binds SQL parameter to a NULL value.
bindStream(int) - Method in class com.almworks.sqlite4java.SQLiteStatement
Binds SQL parameter to a BLOB value, represented by a stream.
bindStream(String) - Method in class com.almworks.sqlite4java.SQLiteStatement
Binds SQL parameter to a BLOB value, represented by a stream.
bindStream(int, int) - Method in class com.almworks.sqlite4java.SQLiteStatement
Binds SQL parameter to a BLOB value, represented by a stream.
bindStream(String, int) - Method in class com.almworks.sqlite4java.SQLiteStatement
Binds SQL parameter to a BLOB value, represented by a stream.
bindZeroBlob(int, int) - Method in class com.almworks.sqlite4java.SQLiteStatement
Binds SQL parameter to a BLOB value, consiting of a given number of zero bytes.
bindZeroBlob(String, int) - Method in class com.almworks.sqlite4java.SQLiteStatement
Binds SQL parameter to a BLOB value, consiting of a given number of zero bytes.
blob(String, String, String, long, boolean) - Method in class com.almworks.sqlite4java.SQLiteConnection
Opens a BLOB for reading or writing.
blob(String, String, long, boolean) - Method in class com.almworks.sqlite4java.SQLiteConnection
Convenience method for calling blob() on the currently selected database.

C

cancel(boolean) - Method in class com.almworks.sqlite4java.SQLiteJob
Attempts to cancel execution of this job.
cancel() - Method in class com.almworks.sqlite4java.SQLiteJob
Cancels this job.
cancel() - Method in class com.almworks.sqlite4java.SQLiteStatement
Cancels the currently running statement.
clear() - Method in class com.almworks.sqlite4java.SQLParts
Empties this SQLParts instance.
clearBindings() - Method in class com.almworks.sqlite4java.SQLiteStatement
Clears parameter bindings, if there are any.
columnBlob(int) - Method in class com.almworks.sqlite4java.SQLiteStatement
Gets a column value after step has returned a row of the result set.
columnCount() - Method in class com.almworks.sqlite4java.SQLiteStatement
Gets the number of columns in the result set.
columnDouble(int) - Method in class com.almworks.sqlite4java.SQLiteStatement
Gets a column value after step has returned a row of the result set.
columnInt(int) - Method in class com.almworks.sqlite4java.SQLiteStatement
Gets a column value after step has returned a row of the result set.
columnLong(int) - Method in class com.almworks.sqlite4java.SQLiteStatement
Gets a column value after step has returned a row of the result set.
columnNull(int) - Method in class com.almworks.sqlite4java.SQLiteStatement
Checks if the value returned in the given column is null.
columnStream(int) - Method in class com.almworks.sqlite4java.SQLiteStatement
Gets an InputStream for reading a BLOB column value after step has returned a row of the result set.
columnString(int) - Method in class com.almworks.sqlite4java.SQLiteStatement
Gets a column value after step has returned a row of the result set.
columnType(int) - Method in class com.almworks.sqlite4java.SQLiteStatement
Gets a type of a column after step() has returned a row.
columnValue(int) - Method in class com.almworks.sqlite4java.SQLiteStatement
Gets a column value after step has returned a row of the result set.
com.almworks.sqlite4java - package com.almworks.sqlite4java
sqlite4java is a minimalistic Java wrapper for SQLite RDBMS, aiming to provide high-performance, low-garbage interface for desktop Java applications.
complete() - Method in class com.almworks.sqlite4java.SQLiteJob
Wait if necessary for the job to complete and return the result.
createArray(String, boolean) - Method in class com.almworks.sqlite4java.SQLiteConnection
Creates a virtual table within the current session, to represent an array of long values (functionality provided by test_intarray module from SQLite sources).
createArray() - Method in class com.almworks.sqlite4java.SQLiteConnection
Creates a virtual table within the current session, to represent an array of long values (functionality provided by test_intarray module from SQLite sources).
createJobCollection() - Method in class com.almworks.sqlite4java.SQLiteQueue
Creates a new collection for storing pending jobs.

D

debug(String) - Method in class com.almworks.sqlite4java.SQLiteConnection
Runs SQL and returns formatted result.
DEFAULT_DB_NAME - Static variable in class com.almworks.sqlite4java.SQLiteConnection
 
DEFAULT_REINCARNATE_TIMEOUT - Static variable in class com.almworks.sqlite4java.SQLiteQueue
Default timeout for reincarnating database thread.
dispose(boolean) - Method in class com.almworks.sqlite4java.SQLiteBackup
Dispose this backup instance and, if disposeDestination is true, dispose the connection to the destination database as well.
dispose() - Method in class com.almworks.sqlite4java.SQLiteBackup
Disposes this backup instance and connection to the destination database.
dispose() - Method in class com.almworks.sqlite4java.SQLiteBlob
Disposes this blob and frees allocated resources.
dispose() - Method in class com.almworks.sqlite4java.SQLiteConnection
Closes this connection and disposes all related resources.
dispose() - Method in class com.almworks.sqlite4java.SQLiteLongArray
Disposes this instance, making it unusable and freeing the resources.
dispose() - Method in class com.almworks.sqlite4java.SQLiteStatement
Disposes this statement and frees allocated resources.
disposeConnection(SQLiteConnection) - Method in class com.almworks.sqlite4java.SQLiteQueue
Disposes the connection.
DISPOSED - Static variable in class com.almworks.sqlite4java.SQLiteStatement
Public instance of initially disposed, dummy statement.

E

equals(Object) - Method in class com.almworks.sqlite4java.SQLParts
 
exec(String) - Method in class com.almworks.sqlite4java.SQLiteConnection
Executes SQL.
execute(J) - Method in class com.almworks.sqlite4java.SQLiteQueue
Places a job in the queue for asynchronous execution in database thread.
executeJob(SQLiteJob) - Method in class com.almworks.sqlite4java.SQLiteQueue
Runs the job with the current connection.

F

finalize() - Method in class com.almworks.sqlite4java.SQLiteConnection
The finalize() method is used to warn about a non-closed connection being forgotten.
fix() - Method in class com.almworks.sqlite4java.SQLParts
Makes instance immutable.
flush() - Method in class com.almworks.sqlite4java.SQLiteQueue
Waits until all jobs in the queue are executed.

G

get() - Method in class com.almworks.sqlite4java.SQLiteJob
Waits if necessary for the job to complete, and then retrieves its result.
get(long, TimeUnit) - Method in class com.almworks.sqlite4java.SQLiteJob
Waits if necessary for at most the given time for the job to complete, and then retrieves its result, if available.
getAutoCommit() - Method in class com.almworks.sqlite4java.SQLiteConnection
Checks if the database is in the auto-commit mode.
getBaseErrorCode() - Method in exception com.almworks.sqlite4java.SQLiteException
Gets base error code returned by SQLite.
getBindParameterCount() - Method in class com.almworks.sqlite4java.SQLiteStatement
Returns the number of parameters that can be bound.
getBindParameterIndex(String) - Method in class com.almworks.sqlite4java.SQLiteStatement
Returns the index of a bind parameter with a given name, as defined in the SQL.
getBindParameterName(int) - Method in class com.almworks.sqlite4java.SQLiteStatement
Returns the name of a given bind parameter, as defined in the SQL.
getChanges() - Method in class com.almworks.sqlite4java.SQLiteConnection
This method returns the number of database rows that were changed or inserted or deleted by the most recently completed SQL statement in this connection.
getCollSeq() - Method in class com.almworks.sqlite4java.SQLiteColumnMetadata
 
getColumnDatabaseName(int) - Method in class com.almworks.sqlite4java.SQLiteStatement
Gets a name of the column's table's database in the result set.
getColumnName(int) - Method in class com.almworks.sqlite4java.SQLiteStatement
Gets a name of the column in the result set.
getColumnOriginName(int) - Method in class com.almworks.sqlite4java.SQLiteStatement
Gets the original name of the column that is behind the given column in the result set.
getColumnTableName(int) - Method in class com.almworks.sqlite4java.SQLiteStatement
Gets a name of the column's table in the result set.
getDatabaseFile() - Method in class com.almworks.sqlite4java.SQLiteConnection
Returns the database file.
getDatabaseFile() - Method in class com.almworks.sqlite4java.SQLiteQueue
Get the underlying database file.
getDataType() - Method in class com.almworks.sqlite4java.SQLiteColumnMetadata
 
getDestinationConnection() - Method in class com.almworks.sqlite4java.SQLiteBackup
Returns connection to the destination database, that was opened by SQLiteConnection.initializeBackup(java.lang.String, java.io.File, int).
getError() - Method in class com.almworks.sqlite4java.SQLiteJob
Returns the error thrown by the job.
getErrorCode() - Method in class com.almworks.sqlite4java.SQLiteConnection
This method returns the error code of the most recently failed operation.
getErrorCode() - Method in exception com.almworks.sqlite4java.SQLiteException
Gets the error code returned by SQLite.
getErrorMessage() - Method in class com.almworks.sqlite4java.SQLiteConnection
This method returns the English error message that describes the error returned by SQLiteConnection.getErrorCode().
getFixedParts() - Method in class com.almworks.sqlite4java.SQLParts
If this object is fixed, returns itself, otherwise returns a fixed copy of this object.
getLastInsertId() - Method in class com.almworks.sqlite4java.SQLiteConnection
Returns the ROWID of the row, last inserted in this connection (regardless of which statement was used).
getLibraryVersion() - Static method in class com.almworks.sqlite4java.SQLite
Gets the version of sqlite4java library.
getLimit(int) - Method in class com.almworks.sqlite4java.SQLiteConnection
Returns the current limit for the size of a various constructs for the current connection.
getMemoryHighwater(boolean) - Static method in class com.almworks.sqlite4java.SQLite
Returns the maximum amount of memory that was used by SQLite since the last time the highwater was reset.
getMemoryUsed() - Static method in class com.almworks.sqlite4java.SQLite
Gets the amount of memory currently used by SQLite library.
getName() - Method in class com.almworks.sqlite4java.SQLiteLongArray
Returns the name of the virtual table, which should be used in SQL.
getOpenFlags() - Method in class com.almworks.sqlite4java.SQLiteConnection
Returns the flags that were used to open this connection.
getPageCount() - Method in class com.almworks.sqlite4java.SQLiteBackup
Returns the total number of pages in the source database.
getParts() - Method in class com.almworks.sqlite4java.SQLParts
Gets the list of SQL parts.
getQueue() - Method in class com.almworks.sqlite4java.SQLiteJob
Returns the instance of the queue that is currently running the job.
getReincarnationTimeout() - Method in class com.almworks.sqlite4java.SQLiteQueue
Provides reincarnation timeout (the period to wait before reincarnating abnormally stopped queue thread).
getRemaining() - Method in class com.almworks.sqlite4java.SQLiteBackup
Returns the number of pages still to be backed up.
getSize() - Method in class com.almworks.sqlite4java.SQLiteBlob
Returns the size of the open blob.
getSQLiteCompileOptions() - Static method in class com.almworks.sqlite4java.SQLite
Gets the compile-time options used to compile the used library.
getSQLiteVersion() - Static method in class com.almworks.sqlite4java.SQLite
Gets the version of SQLite database.
getSQLiteVersionNumber() - Static method in class com.almworks.sqlite4java.SQLite
Gets the numeric representation of the SQLite version.
getSqlParts() - Method in class com.almworks.sqlite4java.SQLiteStatement
Returns the immutable SQLParts object that was used to create this instance.
getTableColumnMetadata(String, String, String) - Method in class com.almworks.sqlite4java.SQLiteConnection
Returns meta information about a specific column of a database table.
getTotalChanges() - Method in class com.almworks.sqlite4java.SQLiteConnection
This method returns the total number of database rows that were changed or inserted or deleted since this connection was opened.

H

handleJobException(SQLiteJob, Throwable) - Method in class com.almworks.sqlite4java.SQLiteQueue
Do some work if job threw an exception.
hasBindings() - Method in class com.almworks.sqlite4java.SQLiteStatement
Checks if some parameters were bound
hashCode() - Method in class com.almworks.sqlite4java.SQLParts
 
hasRow() - Method in class com.almworks.sqlite4java.SQLiteStatement
Checks whether there's data to be read with columnXYZ methods.
hasStepped() - Method in class com.almworks.sqlite4java.SQLiteStatement
Checks if the statement has been evaluated

I

initConnection(SQLiteConnection) - Method in class com.almworks.sqlite4java.SQLiteQueue
Initialize a new connection.
initializeBackup(String, File, int) - Method in class com.almworks.sqlite4java.SQLiteConnection
Initializes backup of the database with the given name from the current connection to the specified file.
initializeBackup(File) - Method in class com.almworks.sqlite4java.SQLiteConnection
Initializes backup of the database from this connection to the specified file.
INTARRAY_DUPLICATE_NAME - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
INTARRAY_INTERNAL_ERROR - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
INTARRAY_INUSE - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
interrupt() - Method in class com.almworks.sqlite4java.SQLiteConnection
This method can be called to interrupt a currently long-running SQL statement, causing it to fail with an exception.
isAutoinc() - Method in class com.almworks.sqlite4java.SQLiteColumnMetadata
 
isCancelled() - Method in class com.almworks.sqlite4java.SQLiteJob
Returns true if this job was cancelled before it completed normally.
isComplete(String) - Static method in class com.almworks.sqlite4java.SQLite
Checks if the given SQL is complete.
isDatabaseThread() - Method in class com.almworks.sqlite4java.SQLiteQueue
Checks if the current thread is the thread that runs the queue's database connection.
isDebugBinaryPreferred() - Static method in class com.almworks.sqlite4java.SQLite
Used to check whether DEBUG binary is preferred over RELEASE binary when SQLite native code is loaded.
isDisposed() - Method in class com.almworks.sqlite4java.SQLiteBlob
Checks if this instance has been disposed
isDisposed() - Method in class com.almworks.sqlite4java.SQLiteConnection
Checks if the connection has been disposed.
isDisposed() - Method in class com.almworks.sqlite4java.SQLiteLongArray
Returns true if the instance is disposed and cannot be used.
isDisposed() - Method in class com.almworks.sqlite4java.SQLiteStatement
 
isDone() - Method in class com.almworks.sqlite4java.SQLiteJob
Returns true if this job completed.
isFinished() - Method in class com.almworks.sqlite4java.SQLiteBackup
Checks whether the backup was successfully finished.
isFixed() - Method in class com.almworks.sqlite4java.SQLParts
Checks if this instance is fixed.
isJobQueueEmpty() - Method in class com.almworks.sqlite4java.SQLiteQueue
Checks if there are no more pending jobs.
isMemoryDatabase() - Method in class com.almworks.sqlite4java.SQLiteConnection
Checks whether this connection is to an in-memory database.
isNotNull() - Method in class com.almworks.sqlite4java.SQLiteColumnMetadata
 
isOpen() - Method in class com.almworks.sqlite4java.SQLiteConnection
Tells whether connection is open.
isPrimaryKey() - Method in class com.almworks.sqlite4java.SQLiteColumnMetadata
 
isReadOnly(String) - Method in class com.almworks.sqlite4java.SQLiteConnection
Checks if a database accessed through this connection is read-only.
isReadOnly() - Method in class com.almworks.sqlite4java.SQLiteConnection
Checks if this connection is read-only.
isReadOnly() - Method in class com.almworks.sqlite4java.SQLiteStatement
Check if the underlying statement is a SELECT.
isReincarnationPossible() - Method in class com.almworks.sqlite4java.SQLiteQueue
Checks if reincarnation should be attempted after queue thread terminates abnormally.
isStopped() - Method in class com.almworks.sqlite4java.SQLiteQueue
Checks if the queue is stopped.
isThreadSafe() - Static method in class com.almworks.sqlite4java.SQLite
Checks if SQLite has been compiled with the THREADSAFE option.
isWriteAllowed() - Method in class com.almworks.sqlite4java.SQLiteBlob
Returns true if this blob instance was opened for writing.

J

job(SQLiteConnection) - Method in class com.almworks.sqlite4java.SQLiteJob
Performs work on the SQLite database.
jobCancelled() - Method in class com.almworks.sqlite4java.SQLiteJob
This method is called after job has been cancelled, either due to call to the SQLiteJob.cancel(boolean) method, or because queue has stopped, or for any other reason.
jobError(Throwable) - Method in class com.almworks.sqlite4java.SQLiteJob
This method is called after SQLiteJob.job(com.almworks.sqlite4java.SQLiteConnection) method has thrown an exception.
jobFinished(T) - Method in class com.almworks.sqlite4java.SQLiteJob
This method is called when the job is no longer in the queue.
jobStarted(SQLiteConnection) - Method in class com.almworks.sqlite4java.SQLiteJob
This method is called when the job is about to be executed, before call to SQLiteJob.job(com.almworks.sqlite4java.SQLiteConnection) method.
join() - Method in class com.almworks.sqlite4java.SQLiteQueue
Waits for the queue to stop.

L

LIBRARY_PATH_PROPERTY - Static variable in class com.almworks.sqlite4java.SQLite
System property that, if set, defines where to look for native sqlite4java libraries.
loadExtension(File, String) - Method in class com.almworks.sqlite4java.SQLiteConnection
Loads an SQLite extension library.
loadExtension(File) - Method in class com.almworks.sqlite4java.SQLiteConnection
Loads an SQLite extension library using default extension entry point.
loadInts(int, int[], int, int) - Method in class com.almworks.sqlite4java.SQLiteStatement
Loads int values returned from a query into a buffer.
loadLibrary() - Static method in class com.almworks.sqlite4java.SQLite
Tries to load the native library.
loadLongs(int, long[], int, int) - Method in class com.almworks.sqlite4java.SQLiteStatement
Loads long values returned from a query into a buffer.

M

main(String[]) - Static method in class com.almworks.sqlite4java.SQLite
Main method is called when you run java -jar sqlite4java.jar, and it prints out the version of the library, the version of the SQLite and the compile-time options the binaries were built with
myJobs - Variable in class com.almworks.sqlite4java.SQLiteQueue
Stores queued jobs.

O

open(boolean) - Method in class com.almworks.sqlite4java.SQLiteConnection
Opens the connection, optionally creating the database.
open() - Method in class com.almworks.sqlite4java.SQLiteConnection
Opens the connection, creating database if needed.
openConnection() - Method in class com.almworks.sqlite4java.SQLiteQueue
Creates and opens a connection to the database.
openReadonly() - Method in class com.almworks.sqlite4java.SQLiteConnection
Opens the connection is read-only mode.
openV2(int) - Method in class com.almworks.sqlite4java.SQLiteConnection
Opens the connection with the specified flags for the sqlite3_open_v2 method.

P

prepare(SQLParts, boolean) - Method in class com.almworks.sqlite4java.SQLiteConnection
Prepares an SQL statement.
prepare(String) - Method in class com.almworks.sqlite4java.SQLiteConnection
Convenience method that prepares a cached statement for the given SQL.
prepare(String, boolean) - Method in class com.almworks.sqlite4java.SQLiteConnection
Convenience method that prepares a statement for the given String-based SQL.
prepare(SQLParts) - Method in class com.almworks.sqlite4java.SQLiteConnection
Convenience method that prepares a cached statement for the given SQL.
printReport(PrintWriter) - Method in class com.almworks.sqlite4java.SQLiteProfiler
Outputs current report into PrintWriter.
printReport() - Method in class com.almworks.sqlite4java.SQLiteProfiler
Returns current report as a String.
printReport(String) - Method in class com.almworks.sqlite4java.SQLiteProfiler
Prints report to a file.
profile() - Method in class com.almworks.sqlite4java.SQLiteConnection
Starts SQL profiling and returns the profiler class.

R

read(int, byte[], int, int) - Method in class com.almworks.sqlite4java.SQLiteBlob
Read bytes from the blob into a buffer.
reincarnate(long) - Method in class com.almworks.sqlite4java.SQLiteQueue
Reincarnates the queue.
releaseMemory(int) - Static method in class com.almworks.sqlite4java.SQLite
Requests SQLite to try to release some memory from its heap.
removeJobsClearQueue() - Method in class com.almworks.sqlite4java.SQLiteQueue
Clears the queue and returned removed jobs.
reopen(long) - Method in class com.almworks.sqlite4java.SQLiteBlob
Repositions BLOB to another row in the table.
reset(boolean) - Method in class com.almworks.sqlite4java.SQLiteStatement
Resets the statement if it has been stepped, allowing SQL to be run again.
reset() - Method in class com.almworks.sqlite4java.SQLiteStatement
Convenience method that resets the statement and clears bindings.
rollback() - Method in class com.almworks.sqlite4java.SQLiteQueue
Rolls back current transaction.

S

selectJob() - Method in class com.almworks.sqlite4java.SQLiteQueue
Selects the next job from pending jobs to be executed.
setBusyTimeout(long) - Method in class com.almworks.sqlite4java.SQLiteConnection
Sets "busy timeout" for this connection.
setDebugBinaryPreferred(boolean) - Static method in class com.almworks.sqlite4java.SQLite
Native sqlite4java code, including SQLite itself, is compiled in DEBUG and RELEASE configurations.
setExtensionLoadingEnabled(boolean) - Method in class com.almworks.sqlite4java.SQLiteConnection
Enables or disables SQLite extension loading for this connection.
setLibraryPath(String) - Static method in class com.almworks.sqlite4java.SQLite
Sets the path where sqlite4java should look for the native library, by modifying sqlite4java.library.path system property.
setLimit(int, int) - Method in class com.almworks.sqlite4java.SQLiteConnection
Allows the size of various constructs for the current connection to be limited.
setSharedCache(boolean) - Static method in class com.almworks.sqlite4java.SQLite
Sets whether shared cache mode will be used for the connections that are opened after this call.
setSoftHeapLimit(int) - Static method in class com.almworks.sqlite4java.SQLite
Sets the "soft limit" on the amount of memory allocated before SQLite starts trying to free some memory before allocating more memory.
setStepsPerCallback(int) - Method in class com.almworks.sqlite4java.SQLiteConnection
Sets the frequency of database callbacks during long-running SQL statements.
softHeapLimit(long) - Static method in class com.almworks.sqlite4java.SQLite
Sets the "soft limit" on the amount of memory allocated before SQLite starts trying to free some memory before allocating more memory.
SQLite - Class in com.almworks.sqlite4java
SQLite class has several utility methods that are applicable to the whole instance of SQLite library within the current process.
SQLITE_ABORT - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_ABORT_ROLLBACK - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_AUTH - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_BLOB - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_BUSY - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_BUSY_RECOVERY - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_BUSY_SNAPSHOT - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_CANTOPEN - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_CANTOPEN_CONVPATH - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_CANTOPEN_FULLPATH - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_CANTOPEN_ISDIR - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_CANTOPEN_NOTEMPDIR - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_CONSTRAINT - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_CONSTRAINT_CHECK - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_CONSTRAINT_COMMITHOOK - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_CONSTRAINT_FOREIGNKEY - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_CONSTRAINT_FUNCTION - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_CONSTRAINT_NOTNULL - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_CONSTRAINT_PRIMARYKEY - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_CONSTRAINT_ROWID - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_CONSTRAINT_TRIGGER - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_CONSTRAINT_UNIQUE - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_CONSTRAINT_VTAB - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_CORRUPT - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_CORRUPT_VTAB - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_DONE - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_EMPTY - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_ERROR - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_FLOAT - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_FORMAT - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_FULL - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_INTEGER - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_INTERNAL - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_INTERRUPT - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_IOERR - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_IOERR_ACCESS - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_IOERR_BLOCKED - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_IOERR_CHECKRESERVEDLOCK - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_IOERR_CLOSE - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_IOERR_CONVPATH - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_IOERR_DELETE - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_IOERR_DELETE_NOENT - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_IOERR_DIR_CLOSE - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_IOERR_DIR_FSYNC - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_IOERR_FSTAT - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_IOERR_FSYNC - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_IOERR_GETTEMPPATH - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_IOERR_LOCK - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_IOERR_MMAP - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_IOERR_NOMEM - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_IOERR_RDLOCK - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_IOERR_READ - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_IOERR_SEEK - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_IOERR_SHMLOCK - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_IOERR_SHMMAP - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_IOERR_SHMOPEN - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_IOERR_SHMSIZE - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_IOERR_SHORT_READ - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_IOERR_TRUNCATE - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_IOERR_UNLOCK - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_IOERR_WRITE - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_LIMIT_ATTACHED - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_LIMIT_COLUMN - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_LIMIT_COMPOUND_SELECT - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_LIMIT_EXPR_DEPTH - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_LIMIT_FUNCTION_ARG - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_LIMIT_LENGTH - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_LIMIT_LIKE_PATTERN_LENGTH - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_LIMIT_SQL_LENGTH - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_LIMIT_TRIGGER_DEPTH - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_LIMIT_VARIABLE_NUMBER - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_LIMIT_VDBE_OP - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_LOCKED - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_LOCKED_SHAREDCACHE - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_MISMATCH - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_MISUSE - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_NOLFS - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_NOMEM - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_NOTADB - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_NOTFOUND - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_NOTICE - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_NOTICE_RECOVER_ROLLBACK - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_NOTICE_RECOVER_WAL - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_NULL - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_OK - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_OPEN_AUTOPROXY - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_OPEN_CREATE - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_OPEN_DELETEONCLOSE - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_OPEN_EXCLUSIVE - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_OPEN_FULLMUTEX - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_OPEN_MAIN_DB - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_OPEN_MAIN_JOURNAL - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_OPEN_MASTER_JOURNAL - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_OPEN_MEMORY - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_OPEN_NOMUTEX - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_OPEN_PRIVATECACHE - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_OPEN_READONLY - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_OPEN_READWRITE - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_OPEN_SHAREDCACHE - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_OPEN_SUBJOURNAL - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_OPEN_TEMP_DB - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_OPEN_TEMP_JOURNAL - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_OPEN_TRANSIENT_DB - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_OPEN_URI - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_OPEN_WAL - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_PERM - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_PROTOCOL - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_RANGE - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_READONLY - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_READONLY_CANTLOCK - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_READONLY_DBMOVED - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_READONLY_RECOVERY - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_READONLY_ROLLBACK - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_ROW - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_SCHEMA - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_TEXT - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_TOOBIG - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_WARNING - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLITE_WARNING_AUTOINDEX - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
SQLiteBackup - Class in com.almworks.sqlite4java
SQLiteBackup wraps an instance of SQLite database backup, represented as sqlite3_backup* in SQLite C API.
SQLiteBlob - Class in com.almworks.sqlite4java
SQLiteBlob encapsulates sqlite3_blob* handle, which represents an open BLOB (binary large object), stored in a single cell of a table.
SQLiteBusyException - Exception in com.almworks.sqlite4java
SQLiteBusyException is a special exception that is thrown whenever SQLite returns SQLITE_BUSY or SQLITE_IOERR_BLOCKED error code.
SQLiteBusyException(int, String) - Constructor for exception com.almworks.sqlite4java.SQLiteBusyException
 
SQLiteColumnMetadata - Class in com.almworks.sqlite4java
SQLiteColumnMetadata contains information about a table column:
SQLiteConnection - Class in com.almworks.sqlite4java
SQLiteConnection is a single connection to sqlite database.
SQLiteConnection(File) - Constructor for class com.almworks.sqlite4java.SQLiteConnection
Creates a connection to the database located in the specified file.
SQLiteConnection() - Constructor for class com.almworks.sqlite4java.SQLiteConnection
Creates a connection to an in-memory temporary database.
SQLiteConstants - Interface in com.almworks.sqlite4java
This interface lists SQLite constants that may be used with sqlite4java.
SQLiteException - Exception in com.almworks.sqlite4java
SQLiteException is thrown whenever SQLite cannot execute an operation and returns an error code.
SQLiteException(int, String) - Constructor for exception com.almworks.sqlite4java.SQLiteException
Creates an instance of SQLiteException.
SQLiteException(int, String, Throwable) - Constructor for exception com.almworks.sqlite4java.SQLiteException
Creates an instance of SQLiteException.
SQLiteInterruptedException - Exception in com.almworks.sqlite4java
SQLiteInterruptedException is a special exception that is thrown whenever SQLite returns SQLITE_INTERRUPT following a call to SQLiteConnection.interrupt().
SQLiteInterruptedException() - Constructor for exception com.almworks.sqlite4java.SQLiteInterruptedException
 
SQLiteInterruptedException(int, String) - Constructor for exception com.almworks.sqlite4java.SQLiteInterruptedException
 
SQLiteJob<T> - Class in com.almworks.sqlite4java
SQLiteJob is a unit of work accepted by SQLiteQueue.
SQLiteJob() - Constructor for class com.almworks.sqlite4java.SQLiteJob
 
SQLiteLongArray - Class in com.almworks.sqlite4java
SQLiteLongArray wraps a virtual table handle, created with SQLiteConnection.createArray(java.lang.String, boolean).
SQLiteProfiler - Class in com.almworks.sqlite4java
SQLiteProfiler measures and accumulates statistics for various SQLite methods.
SQLiteProfiler() - Constructor for class com.almworks.sqlite4java.SQLiteProfiler
 
SQLiteQueue - Class in com.almworks.sqlite4java
SQLiteQueue is a basic implementation of job queue for an SQLite connection.
SQLiteQueue() - Constructor for class com.almworks.sqlite4java.SQLiteQueue
Constructs the queue, which will use an in-memory database.
SQLiteQueue(File) - Constructor for class com.almworks.sqlite4java.SQLiteQueue
Constructs the queue.
SQLiteQueue(File, ThreadFactory) - Constructor for class com.almworks.sqlite4java.SQLiteQueue
Constructs the queue and allows to specify a factory for the queue thread.
SQLiteStatement - Class in com.almworks.sqlite4java
SQLiteStatement wraps an instance of compiled SQL statement, represented as sqlite3_stmt* handle in SQLite C Interface.
SQLParts - Class in com.almworks.sqlite4java
SQLParts is a means to avoid excessive garbage production during String concatenation when SQL is constructed.
SQLParts() - Constructor for class com.almworks.sqlite4java.SQLParts
Create empty SQLParts object.
SQLParts(SQLParts) - Constructor for class com.almworks.sqlite4java.SQLParts
Create a copy of another SQLParts object.
SQLParts(String) - Constructor for class com.almworks.sqlite4java.SQLParts
Create an instance of SQLParts containing only single piece of SQL.
start() - Method in class com.almworks.sqlite4java.SQLiteQueue
Starts the queue by creating a new thread, opening connection in that thread and executing all jobs there.
step() - Method in class com.almworks.sqlite4java.SQLiteStatement
Evaluates SQL statement until either there's data to be read, an error occurs, or the statement completes.
stepThrough() - Method in class com.almworks.sqlite4java.SQLiteStatement
Convenience method that ignores the available data and steps through the SQL statement until evaluation is completed.
stop(boolean) - Method in class com.almworks.sqlite4java.SQLiteQueue
Stops the queue.
stopProfiling() - Method in class com.almworks.sqlite4java.SQLiteConnection
Stops the profiling and returns the profiler instance with data.

T

toString() - Method in class com.almworks.sqlite4java.SQLiteBackup
 
toString() - Method in class com.almworks.sqlite4java.SQLiteBlob
 
toString() - Method in class com.almworks.sqlite4java.SQLiteConnection
 
toString() - Method in class com.almworks.sqlite4java.SQLiteJob
 
toString() - Method in class com.almworks.sqlite4java.SQLiteLongArray
 
toString() - Method in class com.almworks.sqlite4java.SQLiteQueue
 
toString() - Method in class com.almworks.sqlite4java.SQLiteStatement
 
toString() - Method in class com.almworks.sqlite4java.SQLParts
Returns the SQL representation of this params

W

WRAPPER_BACKUP_DISPOSED - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
Backup disposed
WRAPPER_BLOB_DISPOSED - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
Blob disposed
WRAPPER_CANNOT_ALLOCATE_STRING - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
WRAPPER_CANNOT_LOAD_LIBRARY - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
WRAPPER_CANNOT_TRANSFORM_STRING - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
WRAPPER_COLUMN_OUT_OF_RANGE - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
WRAPPER_CONFINEMENT_VIOLATED - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
Method called in thread that wasn't allowed.
WRAPPER_INVALID_ARG_1 - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
WRAPPER_INVALID_ARG_2 - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
WRAPPER_INVALID_ARG_3 - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
WRAPPER_INVALID_ARG_4 - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
WRAPPER_INVALID_ARG_5 - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
WRAPPER_INVALID_ARG_6 - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
WRAPPER_INVALID_ARG_7 - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
WRAPPER_INVALID_ARG_8 - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
WRAPPER_INVALID_ARG_9 - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
WRAPPER_MISUSE - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
WRAPPER_NO_ROW - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
column() requested when no row returned
WRAPPER_NOT_OPENED - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
Wasn't opened
WRAPPER_OUT_OF_MEMORY - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
WRAPPER_STATEMENT_DISPOSED - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
Statement disposed
WRAPPER_USER_ERROR - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
WRAPPER_WEIRD - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
Something strange happened.
WRAPPER_WEIRD_2 - Static variable in interface com.almworks.sqlite4java.SQLiteConstants
 
write(int, byte[], int, int) - Method in class com.almworks.sqlite4java.SQLiteBlob
Writes bytes into the blob.

A B C D E F G H I J L M O P R S T W