A B C D E F G H I J L M N P Q R S T U V W

A

ActivityServlet - class net.sf.voruta.stat.ActivityServlet.
TODO: Collect activity statistics
ActivityServlet() - Constructor for class net.sf.voruta.stat.ActivityServlet
 
adapter(ResultSet) - Static method in class net.sf.voruta.DbUtils
 
addInterceptor(ProcedureInterceptor) - Static method in class net.sf.voruta.Db
 

B

BeanCollectionHandler - class net.sf.voruta.BeanCollectionHandler.
Transforms result set to collection of beans
BeanCollectionHandler(Class) - Constructor for class net.sf.voruta.BeanCollectionHandler
Creates a new instance of BeanCollectionHandler
BeanHandler - class net.sf.voruta.BeanHandler.
transforms row to bean
BeanHandler() - Constructor for class net.sf.voruta.BeanHandler
Creates a new instance of BeanHandler
BeanMapHandler - class net.sf.voruta.BeanMapHandler.
 
BeanMapHandler(Class, String) - Constructor for class net.sf.voruta.BeanMapHandler
Creates a new instance of PairHandler
body(HttpServletRequest, HttpServletResponse) - Method in class net.sf.voruta.stat.ActivityServlet
 

C

CACHE_TAG_NAME - Static variable in class net.sf.voruta.Db
 
ClassFinder - interface net.sf.voruta.ClassFinder.
 
clearCache() - Static method in class net.sf.voruta.Db
Clears cache
clearCache(String) - Static method in class net.sf.voruta.Db
Clears cache
close() - Static method in class net.sf.voruta.Db
Closes current connection
close() - Method in interface net.sf.voruta.DbResultSet
releases resources
close(String) - Static method in class net.sf.voruta.Db
Closes current connection
CollectionHandler - class net.sf.voruta.CollectionHandler.
transforms resultset to collection of arrays
CollectionHandler() - Constructor for class net.sf.voruta.CollectionHandler
Creates a new instance of CollectionHandler
ColumnHandler - class net.sf.voruta.ColumnHandler.
transform column to list
ColumnHandler() - Constructor for class net.sf.voruta.ColumnHandler
Creates a new instance of ColumunHandler
commit() - Static method in class net.sf.voruta.Db
commit current connection
commit(String) - Static method in class net.sf.voruta.Db
commit current connection
compile(ClassFinder, Method, String, Properties) - Method in interface net.sf.voruta.Language
voruta calls it once to prepare/compile query string
ConnectionFactory - interface net.sf.voruta.ConnectionFactory.
 
currentConnection() - Method in interface net.sf.voruta.Invocation
 

D

Db - class net.sf.voruta.Db.
This class is the most important in Voruta API, It is factory for data access objects
DbException - exception net.sf.voruta.DbException.
 
DbException() - Constructor for class net.sf.voruta.DbException
 
DbException(String) - Constructor for class net.sf.voruta.DbException
Constructs an instance of DbException with the specified detail message.
DbException(String, Throwable) - Constructor for class net.sf.voruta.DbException
Constructs an instance of DbException with the specified detail message.
DbException(Throwable) - Constructor for class net.sf.voruta.DbException
Creates a new instance of DbException without detail message.
DbParseException - exception net.sf.voruta.DbParseException.
 
DbParseException() - Constructor for class net.sf.voruta.DbParseException
Creates a new instance of DbParseException without detail message.
DbParseException(String) - Constructor for class net.sf.voruta.DbParseException
Constructs an instance of DbParseException with the specified detail message.
DbParseException(String, Throwable) - Constructor for class net.sf.voruta.DbParseException
 
DbParseException(Throwable) - Constructor for class net.sf.voruta.DbParseException
 
DbResultSet - interface net.sf.voruta.DbResultSet.
ResultSet abstraction
DbUtils - class net.sf.voruta.DbUtils.
helper methods
DbUtils() - Constructor for class net.sf.voruta.DbUtils
 
Debug - class net.sf.voruta.Debug.
 
DEBUG - Static variable in class net.sf.voruta.DbUtils
 
Debug() - Constructor for class net.sf.voruta.Debug
Creates a new instance of Debug
debug(Object) - Method in interface net.sf.voruta.Log
prints debug
debug(Object) - Method in class net.sf.voruta.Debug
prints debug
Debug(PrintStream) - Constructor for class net.sf.voruta.Debug
Creates a new instance of Debug
destroy() - Method in class net.sf.voruta.stat.ActivityServlet
Destroys the servlet.
doGet(HttpServletRequest, HttpServletResponse) - Method in class net.sf.voruta.stat.ActivityServlet
Handles the HTTP GET method.
doPost(HttpServletRequest, HttpServletResponse) - Method in class net.sf.voruta.stat.ActivityServlet
Handles the HTTP POST method.

E

executeQuery(String, Object[], ResultSetHandler, Object[]) - Method in interface net.sf.voruta.Language
voruta calls this method to implement query method
executeQuery(String, String, Object[], ResultSetHandler, Class, Object[]) - Static method in class net.sf.voruta.DbUtils
executes SQL query
executeUpdate(String, Object[]) - Method in interface net.sf.voruta.Language
voruta calls this method to implement update method
executeUpdate(String, String, Object[]) - Static method in class net.sf.voruta.DbUtils
executes SQL update statement
explain(Class) - Static method in class net.sf.voruta.Db
 
explain(String) - Method in interface net.sf.voruta.Language
 
explain(String, Class) - Static method in class net.sf.voruta.Db
 
explain(String, Method) - Static method in class net.sf.voruta.Db
Explains query plan for query declared by data access method
explain(String, PrintWriter) - Method in interface net.sf.voruta.Language
 

F

findByName(String) - Method in interface net.sf.voruta.ClassFinder
 
FLUSH_TAG_NAME - Static variable in class net.sf.voruta.Db
 
flushedCache() - Method in interface net.sf.voruta.Invocation
 

G

get(int) - Method in interface net.sf.voruta.DbResultSet
Retrieves object at index, values are indexed from zero
get(String) - Static method in class net.sf.voruta.ThreadLocalConnection
 
getCause() - Method in class net.sf.voruta.DbException
 
getHandler() - Method in class net.sf.voruta.ProcedureDescriptor
Getter for property handler.
getHelper() - Method in class net.sf.voruta.ProcedureDescriptor
Getter for property helper.
getHitCount() - Method in class net.sf.voruta.ProcedureDescriptor
 
getInstance(Method, ClassFinder, String) - Method in interface net.sf.voruta.HandlerFactory
 
getLog() - Static method in class net.sf.voruta.DbUtils
 
getMissCount() - Method in class net.sf.voruta.ProcedureDescriptor
 
getNames() - Method in interface net.sf.voruta.DbResultSet
Returns metadata
getProcedureDescriptor() - Method in interface net.sf.voruta.Invocation
 
getProcedures(Class) - Static method in class net.sf.voruta.Db
generates data access class implementation and returns instance with current connetion
getProcedures(Class, String) - Static method in class net.sf.voruta.Db
generates data access class implementation and returns instance with user provided connection and interceptor
getProperty(String) - Static method in class net.sf.voruta.Db
returns global propery by name
getProperty(String, String) - Static method in class net.sf.voruta.Db
 
getProperties() - Static method in class net.sf.voruta.Db
method to read global properties
getRegion() - Method in class net.sf.voruta.ProcedureDescriptor
Getter for property getRegion.
getRegions() - Method in class net.sf.voruta.ProcedureDescriptor
Getter for property getRegions.
getResultSet() - Method in interface net.sf.voruta.DbResultSet
 
getServletInfo() - Method in class net.sf.voruta.stat.ActivityServlet
Returns a short description of the servlet.
getTags() - Method in class net.sf.voruta.ProcedureDescriptor
Getter for property tags.

H

handle(DbResultSet, Class, Object[]) - Method in class net.sf.voruta.PairHandler
Callback method
handle(DbResultSet, Class, Object[]) - Method in class net.sf.voruta.BeanCollectionHandler
 
handle(DbResultSet, Class, Object[]) - Method in class net.sf.voruta.VectorHandler
 
handle(DbResultSet, Class, Object[]) - Method in class net.sf.voruta.BeanMapHandler
Callback method
handle(DbResultSet, Class, Object[]) - Method in class net.sf.voruta.MapHandler
 
handle(DbResultSet, Class, Object[]) - Method in class net.sf.voruta.ColumnHandler
 
handle(DbResultSet, Class, Object[]) - Method in class net.sf.voruta.ScalarHandler
 
handle(DbResultSet, Class, Object[]) - Method in class net.sf.voruta.BeanHandler
 
handle(DbResultSet, Class, Object[]) - Method in interface net.sf.voruta.ResultSetHandler
Callback method
handle(DbResultSet, Class, Object[]) - Method in class net.sf.voruta.CollectionHandler
 
HANDLER_TAG_NAME - Static variable in class net.sf.voruta.Db
 
HandlerFactory - interface net.sf.voruta.HandlerFactory.
 

I

info(Object) - Method in interface net.sf.voruta.Log
prints info
info(Object) - Method in class net.sf.voruta.Debug
prints info
init(ConnectionFactory) - Static method in class net.sf.voruta.ThreadLocalConnection
 
init(ConnectionFactory, Properties) - Static method in class net.sf.voruta.Db
Configures voruta
init(ServletConfig) - Method in class net.sf.voruta.stat.ActivityServlet
Initializes the servlet.
Invocation - interface net.sf.voruta.Invocation.
used by interceptor to invoke implementation. default interceptor is implemented this way: public Object invoke(Method method, Object[] args, Invocation in,Properties properties) throws Throwable { return in.invoke(method,args); }
invoke(Method, Object[]) - Method in interface net.sf.voruta.Invocation
invokes implementation method and SQL query or update statement
invoke(Method, Object[], Invocation, Properties) - Method in interface net.sf.voruta.ProcedureInterceptor
callback method
isCached() - Method in class net.sf.voruta.ProcedureDescriptor
Getter for property cached.
isFlushOnExecute() - Method in class net.sf.voruta.ProcedureDescriptor
Getter for property flushOnExecute.
isUpdate() - Method in class net.sf.voruta.ProcedureDescriptor
Getter for property update.

J

JDBC_CONNECTION - Static variable in class net.sf.voruta.DbUtils
 

L

Language - interface net.sf.voruta.Language.
interface for pluggins to registers executors of custom query language parser
LANGUAGE_TAG_NAME - Static variable in class net.sf.voruta.Db
 
Log - interface net.sf.voruta.Log.
Used for logging and debugging

M

MapHandler - class net.sf.voruta.MapHandler.
transforms row to map
MapHandler() - Constructor for class net.sf.voruta.MapHandler
Creates a new instance of MapHandler

N

net.sf.voruta - package net.sf.voruta
 
net.sf.voruta.stat - package net.sf.voruta.stat
 
newInstance(String) - Method in interface net.sf.voruta.ConnectionFactory
 
next() - Method in interface net.sf.voruta.DbResultSet
moves to next record

P

PairHandler - class net.sf.voruta.PairHandler.
 
PairHandler() - Constructor for class net.sf.voruta.PairHandler
Creates a new instance of PairHandler
printStackTrace() - Method in class net.sf.voruta.DbException
 
printStackTrace(PrintStream) - Method in class net.sf.voruta.DbException
 
printStackTrace(PrintWriter) - Method in class net.sf.voruta.DbException
 
printStackTrace(SQLException) - Static method in class net.sf.voruta.DbUtils
 
printStackTrace(SQLException, PrintWriter) - Static method in class net.sf.voruta.DbUtils
 
printWarnings(Connection) - Static method in class net.sf.voruta.DbUtils
 
printWarnings(Connection, PrintWriter) - Static method in class net.sf.voruta.DbUtils
 
ProcedureDescriptor - class net.sf.voruta.ProcedureDescriptor.
 
ProcedureInterceptor - interface net.sf.voruta.ProcedureInterceptor.
Service provider interface to customize DAO implementation
processRequest(HttpServletRequest, HttpServletResponse) - Method in class net.sf.voruta.stat.ActivityServlet
Processes requests for both HTTP GET and POST methods.

Q

QUERY_TAG_NAME - Static variable in class net.sf.voruta.Db
 

R

registerHandlerFactory(String, HandlerFactory) - Static method in class net.sf.voruta.Db
Registers custon handler
registerLanguage(String, LanguageFactory) - Static method in class net.sf.voruta.Db
registers custom lamguage handler
registredClasses() - Static method in class net.sf.voruta.Db
 
removeInterceptor(ProcedureInterceptor) - Static method in class net.sf.voruta.Db
 
ResultSetHandler - interface net.sf.voruta.ResultSetHandler.
Service provider interface used to prosess results returned from SQL query
resultSetToArray(DbResultSet, Class) - Static method in class net.sf.voruta.DbUtils
Create an Object array from a ResultSet.
resultSetToBean(DbResultSet, Object) - Static method in class net.sf.voruta.DbUtils
Create an Bean from a ResultSet.
resultSetToBeanCollection(DbResultSet, Class, Collection) - Static method in class net.sf.voruta.DbUtils
optimized for collections of beans
resultSetToBeanMap(DbResultSet, Class, Map, String) - Static method in class net.sf.voruta.DbUtils
 
resultSetToMap(DbResultSet, Map) - Static method in class net.sf.voruta.DbUtils
Create an Map from a ResultSet.
rollback() - Static method in class net.sf.voruta.Db
rollback current connection
rollback(String) - Static method in class net.sf.voruta.Db
rollback current connection

S

ScalarHandler - class net.sf.voruta.ScalarHandler.
retrieves single value from result set
ScalarHandler() - Constructor for class net.sf.voruta.ScalarHandler
Creates a new instance of ScalarHandler
setLog(Log) - Static method in class net.sf.voruta.DbUtils
Used to set custom logger

T

ThreadLocalConnection - class net.sf.voruta.ThreadLocalConnection.
 

U

UPDATE_TAG_NAME - Static variable in class net.sf.voruta.Db
 

V

VectorHandler - class net.sf.voruta.VectorHandler.
transforms row to array
VectorHandler() - Constructor for class net.sf.voruta.VectorHandler
Creates a new instance of VectorHandler
VORUTA_AUTOTRACE - Static variable in class net.sf.voruta.Db
 
VORUTA_EXECUTE_PROPERTY - Static variable in class net.sf.voruta.Db
 
VORUTA_EXPLAIN_PLAN_PREFIX_PROPERTY - Static variable in class net.sf.voruta.Db
 
VORUTA_RELOAD_PROPERTY - Static variable in class net.sf.voruta.Db
 

W

warn(Object) - Method in interface net.sf.voruta.Log
prints warning
warn(Object) - Method in class net.sf.voruta.Debug
prints warning
wasResultInCache() - Method in interface net.sf.voruta.Invocation
 

A B C D E F G H I J L M N P Q R S T U V W

Copyright © 2003-2004 voruta. All Rights Reserved.