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

A

addProperties(Properties) - Method in class com.glyart.mystral.datasource.HikariFactory
Adds a set of properties in the DataSource configuration.
apply(Statement) - Method in class com.glyart.mystral.sql.impl.QueryStatementFunction
 
apply(Statement) - Method in class com.glyart.mystral.sql.impl.UpdateStatementFunction
 
apply(PreparedStatement) - Method in interface com.glyart.mystral.sql.PreparedStatementFunction
apply(Statement) - Method in interface com.glyart.mystral.sql.StatementFunction
AsyncDatabase - Class in com.glyart.mystral.database
Represents implementation of basic asynchronous operations for interacting with a data source.
AsyncDatabase(DataSource, Executor) - Constructor for class com.glyart.mystral.database.AsyncDatabase
Constructs a new AsyncDatabase instance by wrapping the given DataSource object in the default Database implementation.
AsyncDatabase(DataOperations, Executor) - Constructor for class com.glyart.mystral.database.AsyncDatabase
Constructs a new AsyncDatabase that will use the given DataOperations's implementations asynchronously via Executor.
AsyncDataOperations - Interface in com.glyart.mystral.sql
Represents a basic set of asynchronous operations to interact with a data source.

B

BatchSetter - Interface in com.glyart.mystral.sql
Represents a batch update callback interface used by the Database class.
batchUpdate(String, BatchSetter) - Method in class com.glyart.mystral.database.AsyncDatabase
 
batchUpdate(String, List<Object[]>, int...) - Method in class com.glyart.mystral.database.AsyncDatabase
 
batchUpdate(String, List<T>, ParametrizedBatchSetter<T>) - Method in class com.glyart.mystral.database.AsyncDatabase
 
batchUpdate(String, BatchSetter) - Method in class com.glyart.mystral.database.Database
 
batchUpdate(String, List<Object[]>, int...) - Method in class com.glyart.mystral.database.Database
 
batchUpdate(String, List<T>, ParametrizedBatchSetter<T>) - Method in class com.glyart.mystral.database.Database
 
batchUpdate(String, BatchSetter) - Method in interface com.glyart.mystral.sql.AsyncDataOperations
Performs multiple update operations using a single SQL statement.
batchUpdate(String, List<Object[]>, int...) - Method in interface com.glyart.mystral.sql.AsyncDataOperations
Performs multiple update operations using a single SQL statement.
batchUpdate(String, List<T>, ParametrizedBatchSetter<T>) - Method in interface com.glyart.mystral.sql.AsyncDataOperations
Performs multiple update operations using a single SQL statement.
batchUpdate(String, BatchSetter) - Method in interface com.glyart.mystral.sql.DataOperations
Performs multiple update operations using a single SQL statement.
batchUpdate(String, List<Object[]>, int...) - Method in interface com.glyart.mystral.sql.DataOperations
Performs multiple update operations using a single SQL statement.
batchUpdate(String, List<T>, ParametrizedBatchSetter<T>) - Method in interface com.glyart.mystral.sql.DataOperations
Performs multiple update operations using a single SQL statement.
build() - Method in class com.glyart.mystral.database.Credentials.CredentialsBuilder
Builds a Credentials object, ready to be passed to Mystral.newDatabase(Credentials).
builder() - Static method in class com.glyart.mystral.database.Credentials
Creates a new builder for Credentials.

C

closeConnection(Connection) - Static method in class com.glyart.mystral.datasource.DataSourceUtils
Simply closes a connection.
closePool(DataSource) - Static method in class com.glyart.mystral.datasource.DataSourceUtils
Closes a connection pool managed by a DataSource.
closePool(DatabaseAccessor) - Static method in class com.glyart.mystral.datasource.DataSourceUtils
 
closePool(AsyncDataOperations) - Static method in class com.glyart.mystral.datasource.DataSourceUtils
 
closeResultSet(ResultSet) - Static method in class com.glyart.mystral.datasource.DataSourceUtils
 
closeStatement(Statement) - Static method in class com.glyart.mystral.datasource.DataSourceUtils
 
com.glyart.mystral.database - package com.glyart.mystral.database
Contains the implementations of the main functionalities of this library.
com.glyart.mystral.datasource - package com.glyart.mystral.datasource
Contains some utilities for managing DataSource objects.
com.glyart.mystral.exceptions - package com.glyart.mystral.exceptions
Contains exceptions thrown by this library.
com.glyart.mystral.sql - package com.glyart.mystral.sql
Contains interfaces used by DataOperations and AsyncDataOperations implementations.
com.glyart.mystral.sql.impl - package com.glyart.mystral.sql.impl
Contains basic implementations of the com.glyart.mystral.sql package.
CONNECTION_TIMEOUT - Static variable in class com.glyart.mystral.datasource.HikariFactory
 
ConnectionRetrieveException - Exception in com.glyart.mystral.exceptions
 
ConnectionRetrieveException(String) - Constructor for exception com.glyart.mystral.exceptions.ConnectionRetrieveException
 
ConnectionRetrieveException(String, SQLException) - Constructor for exception com.glyart.mystral.exceptions.ConnectionRetrieveException
 
create(Connection) - Method in class com.glyart.mystral.sql.impl.DefaultCreator
 
create(Connection) - Method in interface com.glyart.mystral.sql.PreparedStatementCreator
Creates a PreparedStatement in this connection.
Credentials - Class in com.glyart.mystral.database
Represents the credentials for a connection to a data source that supports connection pooling.
Credentials(String, String) - Constructor for class com.glyart.mystral.database.Credentials
 
credentials - Variable in class com.glyart.mystral.datasource.HikariFactory
 
Credentials.CredentialsBuilder - Class in com.glyart.mystral.database
Represents a builder for creating Credentials objects.

D

DataAccessException - Exception in com.glyart.mystral.exceptions
Represents an exception that occurs when there is a problem during an operation issued by implementations of DataOperations or AsyncDataOperations.
DataAccessException(String) - Constructor for exception com.glyart.mystral.exceptions.DataAccessException
 
DataAccessException(String, SQLException) - Constructor for exception com.glyart.mystral.exceptions.DataAccessException
 
DataAccessException(String, String, SQLException) - Constructor for exception com.glyart.mystral.exceptions.DataAccessException
 
Database - Class in com.glyart.mystral.database
Represents implementation of basic synchronous operations for interacting with a data source.
Database(DataSource) - Constructor for class com.glyart.mystral.database.Database
Constructs a new Database object with the given DataSource.
DatabaseAccessor - Class in com.glyart.mystral.database
This class is used as base class for Database and for common properties.
DatabaseAccessor(DataSource) - Constructor for class com.glyart.mystral.database.DatabaseAccessor
 
DataOperations - Interface in com.glyart.mystral.sql
Represents a basic set of synchronous operations to interact with a data source.
dataSource - Variable in class com.glyart.mystral.database.DatabaseAccessor
 
DataSourceFactory<T extends DataSource> - Interface in com.glyart.mystral.datasource
Convenient interface for lazily creating DataSource objects.
DataSourceInitException - Exception in com.glyart.mystral.exceptions
Describes a problem occured while trying to create a DataSource.
DataSourceInitException(Exception) - Constructor for exception com.glyart.mystral.exceptions.DataSourceInitException
 
DataSourceInitException(String, Exception) - Constructor for exception com.glyart.mystral.exceptions.DataSourceInitException
Construct a new DataSourceInitException with the given message and the offending exception.
DataSourceUtils - Class in com.glyart.mystral.datasource
Utility class that deals with DataSources and its related objects.
DefaultBatchSetter - Class in com.glyart.mystral.sql.impl
 
DefaultBatchSetter(List<Object[]>, int[]) - Constructor for class com.glyart.mystral.sql.impl.DefaultBatchSetter
 
DefaultCreator - Class in com.glyart.mystral.sql.impl
 
DefaultCreator(String) - Constructor for class com.glyart.mystral.sql.impl.DefaultCreator
 
DefaultCreator(String, boolean) - Constructor for class com.glyart.mystral.sql.impl.DefaultCreator
 
DefaultExtractor<T> - Class in com.glyart.mystral.sql.impl
 
DefaultExtractor(ResultSetRowMapper<T>) - Constructor for class com.glyart.mystral.sql.impl.DefaultExtractor
 
DefaultExtractor(ResultSetRowMapper<T>, int) - Constructor for class com.glyart.mystral.sql.impl.DefaultExtractor
 
DefaultSetter - Class in com.glyart.mystral.sql.impl
 
DefaultSetter(Object[], int[]) - Constructor for class com.glyart.mystral.sql.impl.DefaultSetter
 
DefaultSetterUnknownType - Class in com.glyart.mystral.sql.impl
 
DefaultSetterUnknownType(Object[]) - Constructor for class com.glyart.mystral.sql.impl.DefaultSetterUnknownType
 

E

execute(StatementFunction<T>) - Method in class com.glyart.mystral.database.AsyncDatabase
 
execute(PreparedStatementCreator, PreparedStatementFunction<T>) - Method in class com.glyart.mystral.database.AsyncDatabase
 
execute(String, PreparedStatementFunction<T>) - Method in class com.glyart.mystral.database.AsyncDatabase
 
execute(StatementFunction<T>) - Method in class com.glyart.mystral.database.Database
 
execute(PreparedStatementCreator, PreparedStatementFunction<T>) - Method in class com.glyart.mystral.database.Database
 
execute(String, PreparedStatementFunction<T>) - Method in class com.glyart.mystral.database.Database
 
execute(StatementFunction<T>) - Method in interface com.glyart.mystral.sql.AsyncDataOperations
Executes a JDBC data access operation, implemented as StatementFunction callback, using an active connection.
execute(PreparedStatementCreator, PreparedStatementFunction<T>) - Method in interface com.glyart.mystral.sql.AsyncDataOperations
Executes a JDBC data access operation, implemented as PreparedStatementFunction callback working on a PreparedStatement.
execute(String, PreparedStatementFunction<T>) - Method in interface com.glyart.mystral.sql.AsyncDataOperations
Executes a JDBC data access operation, implemented as PreparedStatementFunction callback working on a PreparedStatement.
execute(StatementFunction<T>) - Method in interface com.glyart.mystral.sql.DataOperations
Executes a JDBC data access operation, implemented as StatementFunction callback, using an active connection.
execute(PreparedStatementCreator, PreparedStatementFunction<T>) - Method in interface com.glyart.mystral.sql.DataOperations
Executes a JDBC data access operation, implemented as PreparedStatementFunction callback working on a PreparedStatement.
execute(String, PreparedStatementFunction<T>) - Method in interface com.glyart.mystral.sql.DataOperations
Executes a JDBC data access operation, implemented as PreparedStatementFunction callback working on a PreparedStatement.
executor - Variable in class com.glyart.mystral.database.AsyncDatabase
 
extractData(ResultSet) - Method in class com.glyart.mystral.sql.impl.DefaultExtractor
 
extractData(ResultSet) - Method in interface com.glyart.mystral.sql.ResultSetExtractor
Implementations of this method must provide the processing logic (data extraction) of the entire ResultSet.

G

getBatchSize() - Method in interface com.glyart.mystral.sql.BatchSetter
Gets the size of the batch.
getBatchSize() - Method in class com.glyart.mystral.sql.impl.DefaultBatchSetter
 
getConnection(DataSource) - Static method in class com.glyart.mystral.datasource.DataSourceUtils
Simply gets a connection from a given valid DataSource.
getCredentials() - Method in class com.glyart.mystral.datasource.HikariFactory
 
getDatabase() - Method in class com.glyart.mystral.database.AsyncDatabase
Returns the Database that wraps the given DataSource's instance.
getDataSource() - Method in class com.glyart.mystral.database.AsyncDatabase
Returns the DataSource used by this AsyncDatabase's instance.
getDataSource() - Method in class com.glyart.mystral.database.DatabaseAccessor
Returns the DataSource used by DatabaseAccessor's subclass.
getHikari() - Method in class com.glyart.mystral.datasource.HikariFactory
 
getHikariConfig() - Method in class com.glyart.mystral.datasource.HikariFactory
 
getHostname() - Method in class com.glyart.mystral.database.Credentials
Gets the hostname for connecting to a data source.
getPassword() - Method in class com.glyart.mystral.database.Credentials
Gets the password for connecting to a data source.
getPoolName() - Method in class com.glyart.mystral.database.Credentials
Gets the name of the connection pool.
getPort() - Method in class com.glyart.mystral.database.Credentials
Gets the port for connecting to a data source.
getSchema() - Method in class com.glyart.mystral.database.Credentials
Gets the schema for connecting to a data source.
getSql(Object) - Method in class com.glyart.mystral.database.Database
 
getSql() - Method in exception com.glyart.mystral.exceptions.DataAccessException
Gets the sql statement that provoked this exception.
getSql() - Method in class com.glyart.mystral.sql.impl.DefaultCreator
 
getSql() - Method in class com.glyart.mystral.sql.impl.QueryStatementFunction
 
getSql() - Method in class com.glyart.mystral.sql.impl.UpdateStatementFunction
 
getSql() - Method in interface com.glyart.mystral.sql.SqlProvider
Returns the sql statement related to this implementation.
getUsername() - Method in class com.glyart.mystral.database.Credentials
Gets the username for connecting to a data source.

H

hikari - Variable in class com.glyart.mystral.datasource.HikariFactory
 
hikariConfig - Variable in class com.glyart.mystral.datasource.HikariFactory
 
HikariFactory - Class in com.glyart.mystral.datasource
This class represents a component that lazily initializes a HikariDataSource.
HikariFactory() - Constructor for class com.glyart.mystral.datasource.HikariFactory
Constructs a new HikariFactory with a empty HikariConfig.
HikariFactory(HikariConfig) - Constructor for class com.glyart.mystral.datasource.HikariFactory
Constructs a new HikariFactory with the given HikariConfig.
host(String) - Method in class com.glyart.mystral.database.Credentials.CredentialsBuilder
Sets the hostname

L

LEAK_DETECTION_THRESHOLD - Static variable in class com.glyart.mystral.datasource.HikariFactory
 
logger - Variable in class com.glyart.mystral.database.DatabaseAccessor
 

M

map(ResultSet, int) - Method in interface com.glyart.mystral.sql.ResultSetRowMapper
Implementations will tell how to map EACH row of the ResultSet.
MAX_LIFETIME - Static variable in class com.glyart.mystral.datasource.HikariFactory
 
MAXIMUM_POOL_SIZE - Static variable in class com.glyart.mystral.datasource.HikariFactory
 
MINIMUM_IDLE - Static variable in class com.glyart.mystral.datasource.HikariFactory
 
Mystral - Class in com.glyart.mystral.database
Utility class for fast instantiating Database and AsyncDatabase objects.

N

newAsyncDatabase(Credentials, Executor) - Static method in class com.glyart.mystral.database.Mystral
Creates a new AsyncDatabase with the given Credentials and an Executor implementation.
newAsyncDatabase(DataSourceFactory<T>, Executor) - Static method in class com.glyart.mystral.database.Mystral
Creates a new AsyncDatabase with the given DataSourceFactory and an Executor implementation.
newDatabase(Credentials) - Static method in class com.glyart.mystral.database.Mystral
Creates a new Database with the given Credentials.
newDatabase(DataSourceFactory<T>) - Static method in class com.glyart.mystral.database.Mystral
Creates a new Database with the given DataSourceFactory.
newDataSource() - Method in interface com.glyart.mystral.datasource.DataSourceFactory
If ready, a new DataSource is created with its configuration.
newDataSource(Credentials) - Static method in class com.glyart.mystral.datasource.DataSourceUtils
Creates a new DataSource with the given Credentials.
newDataSource() - Method in class com.glyart.mystral.datasource.HikariFactory
 

O

obtainHikari() - Method in class com.glyart.mystral.datasource.HikariFactory
Gets a never null HikariDataSource.
operations - Variable in class com.glyart.mystral.database.AsyncDatabase
 

P

ParametrizedBatchSetter<T> - Interface in com.glyart.mystral.sql
Represents a callback interface used by the Database class for executing batch updates.
password(String) - Method in class com.glyart.mystral.database.Credentials.CredentialsBuilder
Sets the password for connecting to a data source.
pool(String) - Method in class com.glyart.mystral.database.Credentials.CredentialsBuilder
Sets the name of the data source connection pool.
port(int) - Method in class com.glyart.mystral.database.Credentials.CredentialsBuilder
Sets the port for connecting to a data source.
PreparedStatementCreator - Interface in com.glyart.mystral.sql
Represents a callback interface used by multiple methods of the Database class.
PreparedStatementFunction<T> - Interface in com.glyart.mystral.sql
Represents a callback interface for code that operates on a PreparedStatement.
PreparedStatementSetter - Interface in com.glyart.mystral.sql
Represents a callback interface used by Database.
PreparedStatementUtils - Class in com.glyart.mystral.database
Utility class for PreparedStatement objects.
PROPS - Static variable in class com.glyart.mystral.datasource.HikariFactory
 

Q

query(String, ResultSetExtractor<T>) - Method in class com.glyart.mystral.database.AsyncDatabase
 
query(PreparedStatementCreator, PreparedStatementSetter, ResultSetExtractor<T>) - Method in class com.glyart.mystral.database.AsyncDatabase
 
query(PreparedStatementCreator, ResultSetExtractor<T>) - Method in class com.glyart.mystral.database.AsyncDatabase
 
query(PreparedStatementCreator, ResultSetRowMapper<T>) - Method in class com.glyart.mystral.database.AsyncDatabase
 
query(String, PreparedStatementSetter, ResultSetExtractor<T>) - Method in class com.glyart.mystral.database.AsyncDatabase
 
query(String, PreparedStatementSetter, ResultSetRowMapper<T>) - Method in class com.glyart.mystral.database.AsyncDatabase
 
query(String, Object[], ResultSetExtractor<T>) - Method in class com.glyart.mystral.database.AsyncDatabase
 
query(String, Object[], ResultSetExtractor<T>, int...) - Method in class com.glyart.mystral.database.AsyncDatabase
 
query(String, ResultSetExtractor<T>) - Method in class com.glyart.mystral.database.Database
 
query(PreparedStatementCreator, PreparedStatementSetter, ResultSetExtractor<T>) - Method in class com.glyart.mystral.database.Database
 
query(PreparedStatementCreator, ResultSetExtractor<T>) - Method in class com.glyart.mystral.database.Database
 
query(PreparedStatementCreator, ResultSetRowMapper<T>) - Method in class com.glyart.mystral.database.Database
 
query(String, PreparedStatementSetter, ResultSetExtractor<T>) - Method in class com.glyart.mystral.database.Database
 
query(String, PreparedStatementSetter, ResultSetRowMapper<T>) - Method in class com.glyart.mystral.database.Database
 
query(String, Object[], ResultSetExtractor<T>) - Method in class com.glyart.mystral.database.Database
 
query(String, Object[], ResultSetExtractor<T>, int...) - Method in class com.glyart.mystral.database.Database
 
query(String, ResultSetExtractor<T>) - Method in interface com.glyart.mystral.sql.AsyncDataOperations
Executes a query given static SQL statement, then it reads the ResultSet using the ResultSetExtractor implementation.
query(PreparedStatementCreator, PreparedStatementSetter, ResultSetExtractor<T>) - Method in interface com.glyart.mystral.sql.AsyncDataOperations
Executes a query using a PreparedStatement, created by a PreparedStatementCreator and with his values set by a PreparedStatementSetter.
query(PreparedStatementCreator, ResultSetExtractor<T>) - Method in interface com.glyart.mystral.sql.AsyncDataOperations
Executes a query using a PreparedStatement, then reading the ResultSet with a ResultSetExtractor implementation.
query(PreparedStatementCreator, ResultSetRowMapper<T>) - Method in interface com.glyart.mystral.sql.AsyncDataOperations
Executes a query using a PreparedStatement, mapping each row to a result object via a ResultSetRowMapper implementation.
query(String, PreparedStatementSetter, ResultSetExtractor<T>) - Method in interface com.glyart.mystral.sql.AsyncDataOperations
Executes a query using a SQL statement, then reading the ResultSet with a ResultSetExtractor implementation.
query(String, PreparedStatementSetter, ResultSetRowMapper<T>) - Method in interface com.glyart.mystral.sql.AsyncDataOperations
Executes a query using a SQL statement and a PreparedStatementSetter implementation that will bind values to the query.
query(String, Object[], ResultSetExtractor<T>) - Method in interface com.glyart.mystral.sql.AsyncDataOperations
Executes a query given a SQL statement: it will be used to create a PreparedStatement.
query(String, Object[], ResultSetExtractor<T>, int...) - Method in interface com.glyart.mystral.sql.AsyncDataOperations
Executes a query given a SQL statement: it will be used to create a PreparedStatement.
query(String, ResultSetExtractor<T>) - Method in interface com.glyart.mystral.sql.DataOperations
Executes a query given static SQL statement, then it reads the ResultSet using the ResultSetExtractor implementation.
query(PreparedStatementCreator, PreparedStatementSetter, ResultSetExtractor<T>) - Method in interface com.glyart.mystral.sql.DataOperations
Executes a query using a PreparedStatement, created by a PreparedStatementCreator and with his values set by a PreparedStatementSetter.
query(PreparedStatementCreator, ResultSetExtractor<T>) - Method in interface com.glyart.mystral.sql.DataOperations
Executes a query using a PreparedStatement, then reading the ResultSet with a ResultSetExtractor implementation.
query(PreparedStatementCreator, ResultSetRowMapper<T>) - Method in interface com.glyart.mystral.sql.DataOperations
Executes a query using a PreparedStatement, mapping each row to a result object via a ResultSetRowMapper implementation.
query(String, PreparedStatementSetter, ResultSetExtractor<T>) - Method in interface com.glyart.mystral.sql.DataOperations
Executes a query using a SQL statement, then reading the ResultSet with a ResultSetExtractor implementation.
query(String, PreparedStatementSetter, ResultSetRowMapper<T>) - Method in interface com.glyart.mystral.sql.DataOperations
Executes a query using a SQL statement and a PreparedStatementSetter implementation that will bind values to the query.
query(String, Object[], ResultSetExtractor<T>) - Method in interface com.glyart.mystral.sql.DataOperations
Executes a query given a SQL statement: it will be used to create a PreparedStatement.
query(String, Object[], ResultSetExtractor<T>, int...) - Method in interface com.glyart.mystral.sql.DataOperations
Executes a query given a SQL statement: it will be used to create a PreparedStatement.
queryForList(String, ResultSetRowMapper<T>) - Method in class com.glyart.mystral.database.AsyncDatabase
 
queryForList(String, Object[], ResultSetRowMapper<T>) - Method in class com.glyart.mystral.database.AsyncDatabase
 
queryForList(String, Object[], ResultSetRowMapper<T>, int...) - Method in class com.glyart.mystral.database.AsyncDatabase
 
queryForList(String, ResultSetRowMapper<T>) - Method in class com.glyart.mystral.database.Database
 
queryForList(String, Object[], ResultSetRowMapper<T>) - Method in class com.glyart.mystral.database.Database
 
queryForList(String, Object[], ResultSetRowMapper<T>, int...) - Method in class com.glyart.mystral.database.Database
 
queryForList(String, ResultSetRowMapper<T>) - Method in interface com.glyart.mystral.sql.AsyncDataOperations
Executes a query given static SQL statement, then it maps each ResultSet row to a result object using the ResultSetRowMapper implementation.
queryForList(String, Object[], ResultSetRowMapper<T>) - Method in interface com.glyart.mystral.sql.AsyncDataOperations
Executes a query given a SQL statement: it will be used to create a PreparedStatement.
queryForList(String, Object[], ResultSetRowMapper<T>, int...) - Method in interface com.glyart.mystral.sql.AsyncDataOperations
Executes a query given a SQL statement: it will be used to create a PreparedStatement.
queryForList(String, ResultSetRowMapper<T>) - Method in interface com.glyart.mystral.sql.DataOperations
Executes a query given static SQL statement, then it maps each ResultSet row to a result object using the ResultSetRowMapper implementation.
queryForList(String, Object[], ResultSetRowMapper<T>) - Method in interface com.glyart.mystral.sql.DataOperations
Executes a query given a SQL statement: it will be used to create a PreparedStatement.
queryForList(String, Object[], ResultSetRowMapper<T>, int...) - Method in interface com.glyart.mystral.sql.DataOperations
Executes a query given a SQL statement: it will be used to create a PreparedStatement.
queryForObject(String, ResultSetRowMapper<T>) - Method in class com.glyart.mystral.database.AsyncDatabase
 
queryForObject(String, Object[], ResultSetRowMapper<T>) - Method in class com.glyart.mystral.database.AsyncDatabase
 
queryForObject(String, Object[], ResultSetRowMapper<T>, int...) - Method in class com.glyart.mystral.database.AsyncDatabase
 
queryForObject(String, ResultSetRowMapper<T>) - Method in class com.glyart.mystral.database.Database
 
queryForObject(String, Object[], ResultSetRowMapper<T>) - Method in class com.glyart.mystral.database.Database
 
queryForObject(String, Object[], ResultSetRowMapper<T>, int...) - Method in class com.glyart.mystral.database.Database
 
queryForObject(String, ResultSetRowMapper<T>) - Method in interface com.glyart.mystral.sql.AsyncDataOperations
Executes a query given static SQL statement, then it maps the first ResultSet row to a result object using the ResultSetRowMapper implementation.
queryForObject(String, Object[], ResultSetRowMapper<T>) - Method in interface com.glyart.mystral.sql.AsyncDataOperations
Executes a query given a SQL statement: it will be used to create a PreparedStatement.
queryForObject(String, Object[], ResultSetRowMapper<T>, int...) - Method in interface com.glyart.mystral.sql.AsyncDataOperations
Executes a query given a SQL statement: it will be used to create a PreparedStatement.
queryForObject(String, ResultSetRowMapper<T>) - Method in interface com.glyart.mystral.sql.DataOperations
Executes a query given static SQL statement, then it maps the first ResultSet row to a result object using the ResultSetRowMapper implementation.
queryForObject(String, Object[], ResultSetRowMapper<T>) - Method in interface com.glyart.mystral.sql.DataOperations
Executes a query given a SQL statement: it will be used to create a PreparedStatement.
queryForObject(String, Object[], ResultSetRowMapper<T>, int...) - Method in interface com.glyart.mystral.sql.DataOperations
Executes a query given a SQL statement: it will be used to create a PreparedStatement.
QueryStatementFunction<T> - Class in com.glyart.mystral.sql.impl
 
QueryStatementFunction(ResultSetExtractor<T>, String) - Constructor for class com.glyart.mystral.sql.impl.QueryStatementFunction
 

R

ResultSetExtractor<T> - Interface in com.glyart.mystral.sql
Represents a callback interface used by Database's query methods.
ResultSetRowMapper<T> - Interface in com.glyart.mystral.sql
Represents an interface used to map rows of a ResultSet.

S

schema(String) - Method in class com.glyart.mystral.database.Credentials.CredentialsBuilder
Sets the initial schema to use after the connection to a data source is successfully established.
setCredentials(Credentials) - Method in class com.glyart.mystral.datasource.HikariFactory
Sets the Credentials used for connecting to a data source.
setLogger(Logger) - Method in class com.glyart.mystral.database.DatabaseAccessor
Sets the logger used by DatabaseAccessor's subclasses.
setProperty(String, Object) - Method in class com.glyart.mystral.datasource.HikariFactory
Adds the property in the DataSource configuration.
setValue(PreparedStatement, int, int, Object) - Static method in class com.glyart.mystral.database.PreparedStatementUtils
Sets a value inside a PreparedStatement parameter.
setValues(PreparedStatement, int) - Method in interface com.glyart.mystral.sql.BatchSetter
Sets parameter values on the given PreparedStatement.
setValues(PreparedStatement, int) - Method in class com.glyart.mystral.sql.impl.DefaultBatchSetter
 
setValues(PreparedStatement) - Method in class com.glyart.mystral.sql.impl.DefaultSetter
 
setValues(PreparedStatement) - Method in class com.glyart.mystral.sql.impl.DefaultSetterUnknownType
 
setValues(PreparedStatement, T) - Method in interface com.glyart.mystral.sql.ParametrizedBatchSetter
Sets the parameter values of the T argument inside the PreparedStatement
setValues(PreparedStatement) - Method in interface com.glyart.mystral.sql.PreparedStatementSetter
Sets parameter values into the given active PreparedStatement.
SqlProvider - Interface in com.glyart.mystral.sql
Represents an interface to be implemented by objects which can provide SQL strings.
StatementFunction<T> - Interface in com.glyart.mystral.sql
Represents a callback interface for SQL statements.

T

TEMPLATE_URL - Static variable in interface com.glyart.mystral.datasource.DataSourceFactory
Represents a basic template url for creating a jdbc url.

U

update(String, boolean) - Method in class com.glyart.mystral.database.AsyncDatabase
 
update(PreparedStatementCreator, PreparedStatementSetter, boolean) - Method in class com.glyart.mystral.database.AsyncDatabase
 
update(PreparedStatementCreator, boolean) - Method in class com.glyart.mystral.database.AsyncDatabase
 
update(String, PreparedStatementSetter, boolean) - Method in class com.glyart.mystral.database.AsyncDatabase
 
update(String, Object[], boolean, int...) - Method in class com.glyart.mystral.database.AsyncDatabase
 
update(String, boolean) - Method in class com.glyart.mystral.database.Database
 
update(PreparedStatementCreator, PreparedStatementSetter, boolean) - Method in class com.glyart.mystral.database.Database
 
update(PreparedStatementCreator, boolean) - Method in class com.glyart.mystral.database.Database
 
update(String, PreparedStatementSetter, boolean) - Method in class com.glyart.mystral.database.Database
 
update(String, Object[], boolean, int...) - Method in class com.glyart.mystral.database.Database
 
update(String, boolean) - Method in interface com.glyart.mystral.sql.AsyncDataOperations
Performs a single update operation (like insert, delete, update).
update(PreparedStatementCreator, PreparedStatementSetter, boolean) - Method in interface com.glyart.mystral.sql.AsyncDataOperations
Performs a single update operation (like insert, delete, update) using a PreparedStatementCreator to provide SQL and any required parameters.
update(PreparedStatementCreator, boolean) - Method in interface com.glyart.mystral.sql.AsyncDataOperations
Performs a single update operation (like insert, delete, update) using a PreparedStatementCreator to to provide SQL and any required parameters.
update(String, PreparedStatementSetter, boolean) - Method in interface com.glyart.mystral.sql.AsyncDataOperations
Performs a single update operation (like insert, delete, update).
update(String, Object[], boolean, int...) - Method in interface com.glyart.mystral.sql.AsyncDataOperations
Performs a single update operation (like insert, update or delete statement) via PreparedStatement, binding the given parameters.
update(String, boolean) - Method in interface com.glyart.mystral.sql.DataOperations
Performs a single update operation (like insert, delete, update).
update(PreparedStatementCreator, PreparedStatementSetter, boolean) - Method in interface com.glyart.mystral.sql.DataOperations
Performs a single update operation (like insert, delete, update) using a PreparedStatementCreator to provide SQL and any required parameters.
update(PreparedStatementCreator, boolean) - Method in interface com.glyart.mystral.sql.DataOperations
Performs a single update operation (like insert, delete, update) using a PreparedStatementCreator to to provide SQL and any required parameters.
update(String, PreparedStatementSetter, boolean) - Method in interface com.glyart.mystral.sql.DataOperations
Performs a single update operation (like insert, delete, update).
update(String, Object[], boolean, int...) - Method in interface com.glyart.mystral.sql.DataOperations
Performs a single update operation (like insert, update or delete statement) via PreparedStatement, binding the given parameters.
UpdateStatementFunction - Class in com.glyart.mystral.sql.impl
 
UpdateStatementFunction(String, boolean) - Constructor for class com.glyart.mystral.sql.impl.UpdateStatementFunction
 
user(String) - Method in class com.glyart.mystral.database.Credentials.CredentialsBuilder
Sets the username for connecting to a data source.
A B C D E G H L M N O P Q R S T U 
Skip navigation links

Copyright © 2021. All rights reserved.