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

A

AbstractBatchHandler<T> - Class in org.hisp.quick.batchhandler
Abstract class to be extended by concrete batch handler implementations.
AbstractBatchHandler(JdbcConfiguration) - Constructor for class org.hisp.quick.batchhandler.AbstractBatchHandler
 
AbstractStatementBuilder<T> - Class in org.hisp.quick.statementbuilder
Abstract class to be extended by database specific statement builder implementations.
AbstractStatementBuilder(AbstractBatchHandler<T>) - Constructor for class org.hisp.quick.statementbuilder.AbstractStatementBuilder
 
addObject(T) - Method in class org.hisp.quick.batchhandler.AbstractBatchHandler
 
addObject(T) - Method in interface org.hisp.quick.BatchHandler
Adds an object to the BatchHandler.
AUTO_INCREMENT - Static variable in class org.hisp.quick.statementbuilder.DerbyStatementBuilder
 
AUTO_INCREMENT - Static variable in class org.hisp.quick.statementbuilder.PostgreSqlStatementBuilder
 

B

BatchHandler<T> - Interface in org.hisp.quick
Interface responsible for performing batch and regular JDBC operations.
batchHandler - Variable in class org.hisp.quick.statementbuilder.AbstractStatementBuilder
 
BatchHandlerFactory - Interface in org.hisp.quick
Factory which produces BatchHandler instances.
BRACKET_END - Variable in class org.hisp.quick.statementbuilder.AbstractStatementBuilder
 
BRACKET_START - Variable in class org.hisp.quick.statementbuilder.AbstractStatementBuilder
 

C

close() - Method in class org.hisp.quick.statement.DefaultStatementHolder
 
close() - Method in interface org.hisp.quick.StatementHolder
Closes the underlying Statement and Connection if this StatementHolder is not pooled.
createBatchHandler(Class<? extends BatchHandler<T>>) - Method in interface org.hisp.quick.BatchHandlerFactory
Creates a BatchHandler instance.
createBatchHandler(Class<? extends BatchHandler<T>>) - Method in class org.hisp.quick.factory.DefaultBatchHandlerFactory
 
createStatementBuilder(StatementDialect, AbstractBatchHandler<T>) - Static method in class org.hisp.quick.factory.StatementBuilderFactory
Creates a StatementBuilder instance.

D

DefaultBatchHandlerFactory - Class in org.hisp.quick.factory
 
DefaultBatchHandlerFactory() - Constructor for class org.hisp.quick.factory.DefaultBatchHandlerFactory
 
defaultEncode(Object) - Method in class org.hisp.quick.statementbuilder.AbstractStatementBuilder
 
DefaultStatementHolder - Class in org.hisp.quick.statement
Class for holding JDBC statements.
DefaultStatementHolder(Connection) - Constructor for class org.hisp.quick.statement.DefaultStatementHolder
 
DefaultStatementHolder(Connection, boolean) - Constructor for class org.hisp.quick.statement.DefaultStatementHolder
 
deleteObject(T) - Method in class org.hisp.quick.batchhandler.AbstractBatchHandler
 
deleteObject(T) - Method in interface org.hisp.quick.BatchHandler
Deletes an object.
DerbyStatementBuilder<T> - Class in org.hisp.quick.statementbuilder
Derby implementation of the StatementBuilder interface.
DerbyStatementBuilder(AbstractBatchHandler<T>) - Constructor for class org.hisp.quick.statementbuilder.DerbyStatementBuilder
 
destroy() - Method in class org.hisp.quick.statement.JdbcStatementManager
 
destroy() - Method in interface org.hisp.quick.StatementManager
Closes the StatementHolder object and the underlying database connection.

E

EMPTY - Static variable in interface org.hisp.quick.Statement
 
encodeBoolean(Boolean) - Method in class org.hisp.quick.statementbuilder.AbstractStatementBuilder
 
encodeBoolean(Boolean) - Method in class org.hisp.quick.statementbuilder.DerbyStatementBuilder
 
encodeDate(Date) - Method in class org.hisp.quick.statementbuilder.AbstractStatementBuilder
 
encodeDouble(Double) - Method in class org.hisp.quick.statementbuilder.AbstractStatementBuilder
 
encodeInteger(Integer) - Method in class org.hisp.quick.statementbuilder.AbstractStatementBuilder
 
encodeString(String) - Method in class org.hisp.quick.statementbuilder.AbstractStatementBuilder
 
executeUpdate(String) - Method in class org.hisp.quick.statement.DefaultStatementHolder
 
executeUpdate(String, boolean) - Method in class org.hisp.quick.statement.DefaultStatementHolder
 
executeUpdate(String) - Method in interface org.hisp.quick.StatementHolder
Executes the given SQL statement.
executeUpdate(String, boolean) - Method in interface org.hisp.quick.StatementHolder
Executes the given SQL statement.

F

FALSE - Variable in class org.hisp.quick.statementbuilder.AbstractStatementBuilder
 
findObject(T) - Method in class org.hisp.quick.batchhandler.AbstractBatchHandler
 
findObject(T) - Method in interface org.hisp.quick.BatchHandler
Retrieves an object, using the unique columns of the given object as argument.
flush() - Method in class org.hisp.quick.batchhandler.AbstractBatchHandler
 
flush() - Method in interface org.hisp.quick.BatchHandler
Flushes the BatchHandler by executing a potential remaining statement, and closing the underlying statement object and the database connection.
forceClose() - Method in class org.hisp.quick.statement.DefaultStatementHolder
 
forceClose() - Method in interface org.hisp.quick.StatementHolder
Closes the underlying Statement and Connection disregarding whether this StatementHolder is not pooled or not.

G

getAddObjectSql() - Method in class org.hisp.quick.batchhandler.AbstractBatchHandler
Use for testing purposes only.
getAutoIncrementColumn() - Method in class org.hisp.quick.batchhandler.AbstractBatchHandler
Returns the database auto-increment column name, null if none.
getCollection(ResultSet, RowMapper<T>) - Method in class org.hisp.quick.mapper.ObjectMapper
Retrieves a Collection from the argument ResultSet using the argument RowMapper.
getColumns() - Method in class org.hisp.quick.batchhandler.AbstractBatchHandler
Returns a list of columns for the table of this batch handler.
getConfiguration() - Method in class org.hisp.quick.batchhandler.AbstractBatchHandler
 
getConfiguration() - Method in interface org.hisp.quick.BatchHandler
Returns the current JdbcConfiguration.
getConfiguration() - Method in class org.hisp.quick.statement.JdbcStatementManager
 
getConfiguration() - Method in interface org.hisp.quick.StatementManager
Returns the current JdbcConfiguration.
getConnection() - Method in class org.hisp.quick.statement.DefaultStatementHolder
 
getConnection() - Method in interface org.hisp.quick.StatementHolder
Returns the wrapped Connection.
getConnectionUrl() - Method in class org.hisp.quick.JdbcConfiguration
 
getDeleteStatement(T) - Method in class org.hisp.quick.statementbuilder.AbstractStatementBuilder
 
getDeleteStatement(T) - Method in interface org.hisp.quick.StatementBuilder
Creates a delete SQL statement.
getDialect() - Method in class org.hisp.quick.JdbcConfiguration
 
getDoubleColumnType() - Method in class org.hisp.quick.statementbuilder.DerbyStatementBuilder
 
getDoubleColumnType() - Method in interface org.hisp.quick.StatementBuilder
Returns the name of a SQL double column type.
getDoubleColumnType() - Method in class org.hisp.quick.statementbuilder.H2StatementBuilder
 
getDoubleColumnType() - Method in class org.hisp.quick.statementbuilder.HsqlStatementBuilder
 
getDoubleColumnType() - Method in class org.hisp.quick.statementbuilder.MySqlStatementBuilder
 
getDoubleColumnType() - Method in class org.hisp.quick.statementbuilder.PostgreSqlStatementBuilder
 
getDriverClass() - Method in class org.hisp.quick.JdbcConfiguration
 
getHolder() - Method in class org.hisp.quick.statement.JdbcStatementManager
 
getHolder(boolean) - Method in class org.hisp.quick.statement.JdbcStatementManager
 
getHolder() - Method in interface org.hisp.quick.StatementManager
Gets a pre-initialized StatementHolder object.
getHolder(boolean) - Method in interface org.hisp.quick.StatementManager
Gets a pre-initalized StatementHolder object.
getIdentifierColumns() - Method in class org.hisp.quick.batchhandler.AbstractBatchHandler
Returns a list of primary key column names.
getIdentifierValues(T) - Method in class org.hisp.quick.batchhandler.AbstractBatchHandler
Returns a list of values matching the unique columns for the given object.
getInsertStatementOpening() - Method in class org.hisp.quick.statementbuilder.DerbyStatementBuilder
 
getInsertStatementOpening() - Method in interface org.hisp.quick.StatementBuilder
Creates the opening of an insert SQL statement.
getInsertStatementOpening() - Method in class org.hisp.quick.statementbuilder.H2StatementBuilder
 
getInsertStatementOpening() - Method in class org.hisp.quick.statementbuilder.HsqlStatementBuilder
 
getInsertStatementOpening() - Method in class org.hisp.quick.statementbuilder.MySqlStatementBuilder
 
getInsertStatementOpening() - Method in class org.hisp.quick.statementbuilder.PostgreSqlStatementBuilder
 
getInsertStatementValues(T) - Method in class org.hisp.quick.statementbuilder.DerbyStatementBuilder
 
getInsertStatementValues(T) - Method in interface org.hisp.quick.StatementBuilder
Creates a value list for an insert SQL statement.
getInsertStatementValues(T) - Method in class org.hisp.quick.statementbuilder.H2StatementBuilder
 
getInsertStatementValues(T) - Method in class org.hisp.quick.statementbuilder.HsqlStatementBuilder
 
getInsertStatementValues(T) - Method in class org.hisp.quick.statementbuilder.MySqlStatementBuilder
 
getInsertStatementValues(T) - Method in class org.hisp.quick.statementbuilder.PostgreSqlStatementBuilder
 
getNoColumnInsertStatementOpening() - Method in class org.hisp.quick.statementbuilder.AbstractStatementBuilder
 
getNoColumnInsertStatementOpening() - Method in interface org.hisp.quick.StatementBuilder
Creates the opening of an insert SQL statement with no columns defined.
getObject() - Method in class org.hisp.quick.configuration.JdbcConfigurationFactoryBean
 
getObject(ResultSet, RowMapper<T>) - Method in class org.hisp.quick.mapper.ObjectMapper
Retrieves an Object from the argument ResultSet using the argument RowMapper.
getObjectList(Object...) - Method in class org.hisp.quick.batchhandler.AbstractBatchHandler
Returns a List of Object items.
getObjectType() - Method in class org.hisp.quick.configuration.JdbcConfigurationFactoryBean
 
getPassword() - Method in class org.hisp.quick.JdbcConfiguration
 
getSelectStatement(T) - Method in class org.hisp.quick.statementbuilder.AbstractStatementBuilder
 
getSelectStatement(T) - Method in interface org.hisp.quick.StatementBuilder
Creates a select SQL statement.
getStatement() - Method in class org.hisp.quick.statement.DefaultStatementHolder
 
getStatement() - Method in interface org.hisp.quick.Statement
 
getStatement() - Method in interface org.hisp.quick.StatementHolder
Returns the wrapped Statement.
getStringList(String...) - Method in class org.hisp.quick.batchhandler.AbstractBatchHandler
Returns a List of String items.
getTableName() - Method in class org.hisp.quick.batchhandler.AbstractBatchHandler
Returns the database table name.
getUniqueColumns() - Method in class org.hisp.quick.batchhandler.AbstractBatchHandler
Returns a list of unique column names.
getUniquenessClause(T) - Method in class org.hisp.quick.statementbuilder.AbstractStatementBuilder
 
getUniquenessClause(T) - Method in interface org.hisp.quick.StatementBuilder
Creates a SQL where / and clause for unique rows.
getUniquenessStatement(T) - Method in class org.hisp.quick.statementbuilder.AbstractStatementBuilder
 
getUniquenessStatement(T) - Method in interface org.hisp.quick.StatementBuilder
Creates a select SQL statement.
getUniqueValues(T) - Method in class org.hisp.quick.batchhandler.AbstractBatchHandler
Returns a list of values matching the unique columns for the given object.
getUpdateStatement(T) - Method in class org.hisp.quick.statementbuilder.AbstractStatementBuilder
 
getUpdateStatement(T) - Method in interface org.hisp.quick.StatementBuilder
Creates an update SQL statement.
getUsername() - Method in class org.hisp.quick.JdbcConfiguration
 
getValues(T) - Method in class org.hisp.quick.batchhandler.AbstractBatchHandler
Returns a list of values matching the columns for the given object.

H

H2StatementBuilder<T> - Class in org.hisp.quick.statementbuilder
H2 implementation of the StatementBuilder interface.
H2StatementBuilder(AbstractBatchHandler<T>) - Constructor for class org.hisp.quick.statementbuilder.H2StatementBuilder
 
HsqlStatementBuilder<T> - Class in org.hisp.quick.statementbuilder
HSQL implementation of the StatementBuilder interface.
HsqlStatementBuilder(AbstractBatchHandler<T>) - Constructor for class org.hisp.quick.statementbuilder.HsqlStatementBuilder
 

I

IN_MEMORY_JDBC_CONFIG - Static variable in class org.hisp.quick.statement.JdbcStatementManager
 
init() - Method in class org.hisp.quick.batchhandler.AbstractBatchHandler
 
init() - Method in interface org.hisp.quick.BatchHandler
Initializes the BatchHandler by acquiring a database connection, creating a statement object and initializing a SQL statement.
init() - Method in class org.hisp.quick.configuration.JdbcConfigurationFactoryBean
 
initialise() - Method in class org.hisp.quick.statement.JdbcStatementManager
 
initialise() - Method in interface org.hisp.quick.StatementManager
Initalizes a database connection and statement object which can be re-used for multiple operations.
intercept(ProceedingJoinPoint) - Method in class org.hisp.quick.StatementInterceptor
 
isInclusiveUniqueColumns() - Method in class org.hisp.quick.batchhandler.AbstractBatchHandler
Indicates whether rows are unique across all unique columns (inclusive) or unique for each individual unique column (exclusive).
isPooled() - Method in class org.hisp.quick.statement.DefaultStatementHolder
 
isPooled() - Method in interface org.hisp.quick.StatementHolder
Method indicating whether the wrapped Connection is pooled.
isSingleton() - Method in class org.hisp.quick.configuration.JdbcConfigurationFactoryBean
 

J

JdbcConfiguration - Class in org.hisp.quick
Represents configuration for a JDBC database connection.
JdbcConfiguration() - Constructor for class org.hisp.quick.JdbcConfiguration
 
JdbcConfiguration(StatementDialect, String, String, String, String) - Constructor for class org.hisp.quick.JdbcConfiguration
 
JdbcConfigurationFactoryBean - Class in org.hisp.quick.configuration
Simple configurable factory bean that provides JdbcConfiguration instances.
JdbcConfigurationFactoryBean() - Constructor for class org.hisp.quick.configuration.JdbcConfigurationFactoryBean
 
JdbcStatementManager - Class in org.hisp.quick.statement
JDBC implementation of the StatementManager insterface.
JdbcStatementManager() - Constructor for class org.hisp.quick.statement.JdbcStatementManager
 

L

LONG_TEXT_COLUMN_TYPE - Static variable in interface org.hisp.quick.Statement
 

M

mapRow(ResultSet) - Method in class org.hisp.quick.batchhandler.AbstractBatchHandler
Maps a ResultSet row to an object T.
mapRow(ResultSet) - Method in interface org.hisp.quick.mapper.RowMapper
Maps a row from a ResultSet to an object.
MySqlStatementBuilder<T> - Class in org.hisp.quick.statementbuilder
MySQL implementation of the StatementBuilder interface.
MySqlStatementBuilder(AbstractBatchHandler<T>) - Constructor for class org.hisp.quick.statementbuilder.MySqlStatementBuilder
 

N

NULL - Variable in class org.hisp.quick.statementbuilder.AbstractStatementBuilder
 
NUMERIC_COLUMN_TYPE - Static variable in interface org.hisp.quick.Statement
 

O

objectExists(T) - Method in class org.hisp.quick.batchhandler.AbstractBatchHandler
 
objectExists(T) - Method in interface org.hisp.quick.BatchHandler
Checks whether this object exists in the database or not.
ObjectMapper<T> - Class in org.hisp.quick.mapper
Object mapper class.
ObjectMapper() - Constructor for class org.hisp.quick.mapper.ObjectMapper
 
org.hisp.quick - package org.hisp.quick
 
org.hisp.quick.batchhandler - package org.hisp.quick.batchhandler
 
org.hisp.quick.configuration - package org.hisp.quick.configuration
 
org.hisp.quick.factory - package org.hisp.quick.factory
 
org.hisp.quick.mapper - package org.hisp.quick.mapper
 
org.hisp.quick.statement - package org.hisp.quick.statement
 
org.hisp.quick.statementbuilder - package org.hisp.quick.statementbuilder
 

P

PostgreSqlStatementBuilder<T> - Class in org.hisp.quick.statementbuilder
PostgreSQL implementation of the StatementBuilder interface.
PostgreSqlStatementBuilder(AbstractBatchHandler<T>) - Constructor for class org.hisp.quick.statementbuilder.PostgreSqlStatementBuilder
 

Q

queryForDouble(String) - Method in class org.hisp.quick.statement.DefaultStatementHolder
 
queryForDouble(String) - Method in interface org.hisp.quick.StatementHolder
Executes the given SQL statement and returns the first column of the first row in the resulting ResultSet as a Double.
queryForInteger(String) - Method in class org.hisp.quick.statement.DefaultStatementHolder
 
queryForInteger(String) - Method in interface org.hisp.quick.StatementHolder
Executes the given SQL statement and returns the first column of the first row in the resulting ResultSet as an Integer.
queryForString(String) - Method in class org.hisp.quick.statement.DefaultStatementHolder
 
queryForString(String) - Method in interface org.hisp.quick.StatementHolder
Executes the given SQL statement and returns the first column of the first row in the resulting ResultSet as a String.
QUOTE - Variable in class org.hisp.quick.statementbuilder.AbstractStatementBuilder
 

R

RowMapper<T> - Interface in org.hisp.quick.mapper
 

S

SEPARATOR - Static variable in interface org.hisp.quick.Statement
 
SEPARATOR - Variable in class org.hisp.quick.statementbuilder.AbstractStatementBuilder
 
setConnectionUrl(String) - Method in class org.hisp.quick.configuration.JdbcConfigurationFactoryBean
 
setConnectionUrl(String) - Method in class org.hisp.quick.JdbcConfiguration
 
setDialect(StatementDialect) - Method in class org.hisp.quick.configuration.JdbcConfigurationFactoryBean
 
setDialect(StatementDialect) - Method in class org.hisp.quick.JdbcConfiguration
 
setDialectName(String) - Method in class org.hisp.quick.configuration.JdbcConfigurationFactoryBean
 
setDriverClass(String) - Method in class org.hisp.quick.configuration.JdbcConfigurationFactoryBean
 
setDriverClass(String) - Method in class org.hisp.quick.JdbcConfiguration
 
setInMemory(boolean) - Method in class org.hisp.quick.factory.DefaultBatchHandlerFactory
 
setInMemory(boolean) - Method in class org.hisp.quick.statement.JdbcStatementManager
 
setJdbcConfiguration(JdbcConfiguration) - Method in class org.hisp.quick.factory.DefaultBatchHandlerFactory
 
setJdbcConfiguration(JdbcConfiguration) - Method in class org.hisp.quick.statement.JdbcStatementManager
 
setPassword(String) - Method in class org.hisp.quick.configuration.JdbcConfigurationFactoryBean
 
setPassword(String) - Method in class org.hisp.quick.JdbcConfiguration
 
setStatementManagers(List<StatementManager>) - Method in class org.hisp.quick.StatementInterceptor
 
setUsername(String) - Method in class org.hisp.quick.configuration.JdbcConfigurationFactoryBean
 
setUsername(String) - Method in class org.hisp.quick.JdbcConfiguration
 
SPACE - Static variable in interface org.hisp.quick.Statement
 
Statement - Interface in org.hisp.quick
Interface which represents a SQL statement.
statementBuilder - Variable in class org.hisp.quick.batchhandler.AbstractBatchHandler
 
StatementBuilder<T> - Interface in org.hisp.quick
Interface which provides SQL statements.
StatementBuilderFactory - Class in org.hisp.quick.factory
Factory class for creating statement builders.
StatementBuilderFactory() - Constructor for class org.hisp.quick.factory.StatementBuilderFactory
 
StatementDialect - Enum in org.hisp.quick
Enum holding fields for various DBMSs.
StatementHolder - Interface in org.hisp.quick
Interface which wraps a JDBC Connection and Statement and provides caching.
StatementInterceptor - Class in org.hisp.quick
AspectJ interceptor for initialising and destroying a statement manager.
StatementInterceptor() - Constructor for class org.hisp.quick.StatementInterceptor
 
StatementManager - Interface in org.hisp.quick
Interface which provides methods for retrieving StatementHolder interfaces.

T

toString() - Method in class org.hisp.quick.JdbcConfiguration
 
TRUE - Variable in class org.hisp.quick.statementbuilder.AbstractStatementBuilder
 

U

update(String) - Method in class org.hisp.quick.statement.DefaultStatementHolder
 
update(String) - Method in interface org.hisp.quick.StatementHolder
Executes a INSERT, UPDATE or DELETE SQL statement or an SQL statement that returns nothing.
updateObject(T) - Method in class org.hisp.quick.batchhandler.AbstractBatchHandler
 
updateObject(T) - Method in interface org.hisp.quick.BatchHandler
Updates an object.

V

valueOf(String) - Static method in enum org.hisp.quick.StatementDialect
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.hisp.quick.StatementDialect
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E F G H I J L M N O P Q R S T U V 
Skip navigation links

Copyright © 2016 UiO. All rights reserved.