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

B

bindToRequest - Variable in class org.slamb.axamol.library.ServletLibraryLoader
 

C

clearTimings() - Method in class org.slamb.axamol.library.Library
Resets all peformance timings for each of this library's statements.
clearTimings() - Method in class org.slamb.axamol.library.Statement
Resets all peformance timings for this statement.
close() - Method in class org.slamb.axamol.library.LibraryConnection
Closes all active prepared statements and possibly the connection itself.
close(LibraryConnection) - Static method in class org.slamb.axamol.library.SqlUtils
Closes a LibraryConnection's prepared statements (and connection, if owned), logging and swallowing any exceptions.
Column - Class in org.slamb.axamol.library
Information about a column of a SQL query.
Column() - Constructor for class org.slamb.axamol.library.Column
 
columns - Variable in class org.slamb.axamol.library.Statement
Information about explicitly specified columns.
commit() - Method in class org.slamb.axamol.library.LibraryConnection
Passes the commit through to the Connection.
CONNECTION_ATTR - Static variable in class org.slamb.axamol.library.ServletLibraryLoader
 
contextDestroyed(ServletContextEvent) - Method in class org.slamb.axamol.library.ServletLibraryLoader
 
contextInitialized(ServletContextEvent) - Method in class org.slamb.axamol.library.ServletLibraryLoader
Finds database pools and parses the SQL libraries.

D

databases - Variable in class org.slamb.axamol.library.Statement
SQL stuff for each supported database type.
DATASOURCE_ATTR - Static variable in class org.slamb.axamol.library.ServletLibraryLoader
 
DEFAULT_LIBRARY_PATH_PREFIX - Static variable in class org.slamb.axamol.library.ServletLibraryLoader
 

E

executeQuery(String, Map) - Method in class org.slamb.axamol.library.LibraryConnection
Executes a query statement.
executeQuery(String, Map, String) - Method in class org.slamb.axamol.library.LibraryConnection
Executes a query statement with an optional "order by" clause.
executeQuery(PreparedStatement, Map) - Method in class org.slamb.axamol.library.Statement
Executes this statement as a query, returning the ResultSet.
executeUpdate(String, Map) - Method in class org.slamb.axamol.library.LibraryConnection
Executes an update statement.
executeUpdate(PreparedStatement, Map) - Method in class org.slamb.axamol.library.Statement
Executes this statement as an update.
explain(String, Map) - Method in class org.slamb.axamol.library.LibraryConnection
Executes a PostgreSQL "explain analyze" on a query.
explain(String, Map, String) - Method in class org.slamb.axamol.library.LibraryConnection
Executes a PostgreSQL "explain analyze" on a query.

F

finalize() - Method in class org.slamb.axamol.library.LibraryConnection
 

G

getColumns(String) - Method in class org.slamb.axamol.library.LibraryConnection
 
getColumns() - Method in class org.slamb.axamol.library.Statement
Returns information about explicit columns.
getHandler() - Method in class org.slamb.axamol.library.Statement
Returns the handler being used to parse this statement.
getName() - Method in class org.slamb.axamol.library.Statement
 
getTimings() - Method in class org.slamb.axamol.library.Statement
Retrieves statistics on time to execute.
getTitle() - Method in class org.slamb.axamol.library.TimingServlet
 
getType() - Method in class org.slamb.axamol.library.Column
 
getType() - Method in class org.slamb.axamol.library.Statement
Returns the type of this statement.

H

handler - Variable in class org.slamb.axamol.library.Statement
The handler parsing this or null if parsing is complete.

I

INITPARAM_BIND_TO_REQUEST - Static variable in class org.slamb.axamol.library.ServletLibraryLoader
 
INITPARAM_DATA_SOURCE - Static variable in class org.slamb.axamol.library.ServletLibraryLoader
 
INITPARAM_LIBRARIES - Static variable in class org.slamb.axamol.library.ServletLibraryLoader
 
INITPARAM_LIBRARY_PATH_PREFIX - Static variable in class org.slamb.axamol.library.ServletLibraryLoader
 
isComplete() - Method in class org.slamb.axamol.library.Statement
Returns true iff this statement is completely parsed.

L

Library - Class in org.slamb.axamol.library
Library of SQL statements stored in XML.
Library(File) - Constructor for class org.slamb.axamol.library.Library
Opens a library from a File.
Library(InputSource) - Constructor for class org.slamb.axamol.library.Library
Opens a library from an InputSource.
Library(Class, String) - Constructor for class org.slamb.axamol.library.Library
Opens a library as a resource in the given class's ClassLoader instance.
LIBRARY_ATTR_PREFIX - Static variable in class org.slamb.axamol.library.ServletLibraryLoader
 
LIBRARY_CONNECTION_ATTR_PREFIX - Static variable in class org.slamb.axamol.library.ServletLibraryLoader
 
LibraryConnection - Class in org.slamb.axamol.library
Library of SQL statements with associated connection.
LibraryConnection(Library, Connection) - Constructor for class org.slamb.axamol.library.LibraryConnection
Prepares to use an existing connection for use of the library.
LibraryConnection(Library, DataSource) - Constructor for class org.slamb.axamol.library.LibraryConnection
Prepares to use a datasource with the library.
LibraryConnection(Library, String, String) - Constructor for class org.slamb.axamol.library.LibraryConnection
Creates a new connection exclusively for use by this LibraryConnection.
LibraryConnection(Library, String, String, String, String) - Constructor for class org.slamb.axamol.library.LibraryConnection
Creates a new connection exclusively for use by this LibraryConnection.
LibraryConnection(Library, String, String, Properties) - Constructor for class org.slamb.axamol.library.LibraryConnection
Creates a new connection exclusively for use by this LibraryConnection.
log - Static variable in class org.slamb.axamol.library.Statement
 

M

makeSQL(Connection, Map, String) - Method in class org.slamb.axamol.library.Statement
Creates SQL for the given parameters.

N

name - Variable in class org.slamb.axamol.library.Statement
The name of this statement.
NS_LIBRARY - Static variable in class org.slamb.axamol.library.Library
 
NS_STATEMENT - Static variable in class org.slamb.axamol.library.Statement
XML namespace for a statement.

O

org.slamb.axamol.library - package org.slamb.axamol.library
 

P

parameters - Variable in class org.slamb.axamol.library.Statement
Information for each parameter.

R

requestDestroyed(ServletRequestEvent) - Method in class org.slamb.axamol.library.ServletLibraryLoader
Closes the LibraryConnections and Connection.
requestInitialized(ServletRequestEvent) - Method in class org.slamb.axamol.library.ServletLibraryLoader
 
ResourceEntityResolver - Class in org.slamb.axamol.library
Deprecated. See org.slamb.common.xml.ResourceEntityResolver
ResourceEntityResolver(ClassLoader) - Constructor for class org.slamb.axamol.library.ResourceEntityResolver
Deprecated.  
ResourceEntityResolver(Pattern, String, ClassLoader) - Constructor for class org.slamb.axamol.library.ResourceEntityResolver
Deprecated.  
rollback() - Method in class org.slamb.axamol.library.LibraryConnection
Passes the rollback through to the Connection.

S

ServletLibraryLoader - Class in org.slamb.axamol.library
Loads libraries and data sources in a servlet context.
ServletLibraryLoader() - Constructor for class org.slamb.axamol.library.ServletLibraryLoader
 
setAutoCommit(boolean) - Method in class org.slamb.axamol.library.LibraryConnection
Passes the request through to the Connection.
setServerPrepare(PreparedStatement) - Method in class org.slamb.axamol.library.Statement
Tells the database server if it should use server-side prepared statements.
SqlUtils - Class in org.slamb.axamol.library
 
SqlUtils() - Constructor for class org.slamb.axamol.library.SqlUtils
This is a static class.
Statement - Class in org.slamb.axamol.library
Parameterized SQL statement stored in XML.
Statement() - Constructor for class org.slamb.axamol.library.Statement
 

T

TimingServlet - Class in org.slamb.axamol.library
Displays timing/performance information on libraries.
TimingServlet() - Constructor for class org.slamb.axamol.library.TimingServlet
 
type - Variable in class org.slamb.axamol.library.Column
 
type - Variable in class org.slamb.axamol.library.Statement
The type of this query, TYPE_xxx.
TYPE_QUERY - Static variable in class org.slamb.axamol.library.Statement
Query statement.
TYPE_STRING - Static variable in class org.slamb.axamol.library.Column
 
TYPE_UPDATE - Static variable in class org.slamb.axamol.library.Statement
Update statement.
TYPE_XML - Static variable in class org.slamb.axamol.library.Column
 
types - Static variable in class org.slamb.axamol.library.Statement
 

W

writeBody(PrintWriter) - Method in class org.slamb.axamol.library.TimingServlet
 
writeLibrary(PrintWriter, Library) - Method in class org.slamb.axamol.library.TimingServlet
 

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

Copyright © 2002-2006 Scott Lamb. All Rights Reserved.