Index
All Classes and Interfaces|All Packages|Serialized Form
A
- accept(T) - Method in interface de.chojo.sqlutil.exceptions.ThrowingConsumer
-
Performs this operation on the given argument.
- addParameter(String, V) - Method in class de.chojo.sqlutil.jdbc.JdbcConfig
-
Add a new parameter to the url
- addParameter(String, V) - Method in class de.chojo.sqlutil.jdbc.MariaDbJdbc
-
Add a new parameter to the url
- addParameter(String, V) - Method in class de.chojo.sqlutil.jdbc.MySQLJdbc
-
Add a new parameter to the url
- addParameter(String, V) - Method in class de.chojo.sqlutil.jdbc.PostgresJdbc
-
Add a new parameter to the url
- addParameter(String, V) - Method in class de.chojo.sqlutil.jdbc.SqLiteJdbc
-
Add a new parameter to the url
- all() - Method in class de.chojo.sqlutil.wrapper.QueryBuilder
- all() - Method in interface de.chojo.sqlutil.wrapper.stage.RetrievalStage
-
Retrieve all results async as a list
- all(Executor) - Method in class de.chojo.sqlutil.wrapper.QueryBuilder
- all(Executor) - Method in interface de.chojo.sqlutil.wrapper.stage.RetrievalStage
-
Retrieve all results async as a list
- ALLOW - Enum constant in enum class de.chojo.sqlutil.jdbc.PostgresJdbc.SslMode
-
No validation
- allowLocalInfile() - Method in class de.chojo.sqlutil.jdbc.MariaDbJdbc
-
Permit loading data from file
- allowMultiQueries() - Method in class de.chojo.sqlutil.jdbc.MariaDbJdbc
-
Allow multi-queries like
insert into ab (i) values (1); insert into ab (i) values - allowMultiQueries() - Method in class de.chojo.sqlutil.jdbc.PostgresJdbc
-
Allow multi-queries like
insert into ab (i) values (1); insert into ab (i) values - allowMultiQueries(boolean) - Method in class de.chojo.sqlutil.jdbc.MariaDbJdbc
-
Allow multi-queries like
insert into ab (i) values (1); insert into ab (i) values - allowMultiQueries(boolean) - Method in class de.chojo.sqlutil.jdbc.PostgresJdbc
-
Allow multi-queries like
insert into ab (i) values (1); insert into ab (i) values - allSync() - Method in class de.chojo.sqlutil.wrapper.QueryBuilder
- allSync() - Method in interface de.chojo.sqlutil.wrapper.stage.RetrievalStage
-
Retrieve all results synced as a list
- append() - Method in class de.chojo.sqlutil.wrapper.QueryBuilder
- append() - Method in interface de.chojo.sqlutil.wrapper.stage.ResultStage
-
Append another query to the query builder.
- apply(String) - Method in class de.chojo.sqlutil.updater.QueryReplacement
- apply(Properties) - Method in class de.chojo.sqlutil.datasource.DbConfig
-
Apply the settings to a property
- apply(T) - Method in interface de.chojo.sqlutil.exceptions.ThrowingFunction
-
A function which maps a value to another value and can throw an exception
- ArrayConverter - Class in de.chojo.sqlutil.conversion
-
Class to convert sql arrays to java arrays or collections and vice versa.
B
- baseUrl() - Method in class de.chojo.sqlutil.jdbc.JdbcConfig
-
Returns the base url without parameter
- baseUrl() - Method in class de.chojo.sqlutil.jdbc.RemoteJdbcConfig
- baseUrl() - Method in class de.chojo.sqlutil.jdbc.SqLiteJdbc
- build() - Method in class de.chojo.sqlutil.datasource.DataSourceCreator
- build() - Method in interface de.chojo.sqlutil.datasource.stage.ConfigurationStage
-
Create a new hikari data source
- build() - Method in class de.chojo.sqlutil.wrapper.QueryBuilderConfig.Builder
-
Retrieve a new
QueryBuilderConfiginstance. - builder() - Method in class de.chojo.sqlutil.base.QueryFactoryHolder
-
Create a new Query builder without a defined return type.
- builder() - Static method in class de.chojo.sqlutil.wrapper.QueryBuilderConfig
-
Get a builder for a
QueryBuilderConfig - builder() - Method in class de.chojo.sqlutil.wrapper.QueryBuilderFactory
-
Create a new Query builder without a defined return type.
- builder(Class<T>) - Method in class de.chojo.sqlutil.base.QueryFactoryHolder
-
Create a new query builder with a defined return type.
- builder(Class<T>) - Method in class de.chojo.sqlutil.wrapper.QueryBuilderFactory
-
Create a new query builder with a defined return type.
- builder(DataSource) - Static method in class de.chojo.sqlutil.wrapper.QueryBuilder
-
Create a new Query builder without a defined return type.
- builder(DataSource, SqlType<T>) - Static method in class de.chojo.sqlutil.updater.SqlUpdater
-
Creates a new
SqlUpdater.SqlUpdaterBuilderwith a version set to a string located inresources/database/version. - builder(DataSource, SqlVersion, SqlType<T>) - Static method in class de.chojo.sqlutil.updater.SqlUpdater
-
Creates a new
SqlUpdater.SqlUpdaterBuilderwith a version set to a string located inresources/database/version. - builder(DataSource, Class<T>) - Static method in class de.chojo.sqlutil.wrapper.QueryBuilder
-
Create a new query builder with a defined return type.
- Builder() - Constructor for class de.chojo.sqlutil.wrapper.QueryBuilderConfig.Builder
C
- changed() - Method in class de.chojo.sqlutil.wrapper.stage.UpdateResult
-
Checks if something has changed.
- cleanStatements(String[]) - Method in interface de.chojo.sqlutil.databases.SqlType
-
Function supposed to clean statements by removing empty statements
- config() - Method in class de.chojo.sqlutil.wrapper.QueryBuilderFactory
- ConfigurationStage - Interface in de.chojo.sqlutil.datasource.stage
-
Configuration stage, which is used to configura a
HikariConfig. - ConfigurationStage<T> - Interface in de.chojo.sqlutil.wrapper.stage
-
Configuration stage of a
QueryBuilder - configure(QueryBuilderConfig) - Method in interface de.chojo.sqlutil.wrapper.stage.ConfigurationStage
-
Configure the query builder.
- configure(AtomicReference<QueryBuilderConfig>) - Method in class de.chojo.sqlutil.wrapper.QueryBuilder
- configure(AtomicReference<QueryBuilderConfig>) - Method in interface de.chojo.sqlutil.wrapper.stage.ConfigurationStage
-
Configure the query builder.
- configure(Consumer<T>) - Method in class de.chojo.sqlutil.datasource.DataSourceCreator
- configure(Consumer<T>) - Method in interface de.chojo.sqlutil.datasource.stage.JdbcStage
-
configure the jdbc builder
- connectTimeout(int) - Method in class de.chojo.sqlutil.jdbc.MariaDbJdbc
-
The connect timeout value, in milliseconds, or zero for no timeout.
- connectTimeout(int) - Method in class de.chojo.sqlutil.jdbc.MySQLJdbc
-
The connect timeout value, in milliseconds, or zero for no timeout.
- connectTimeout(int) - Method in class de.chojo.sqlutil.jdbc.PostgresJdbc
-
The connect timeout value, in milliseconds, or zero for no timeout.
- convert(byte[]) - Static method in class de.chojo.sqlutil.conversion.UUIDConverter
-
Convert a byte array to a uuid.
- convert(UUID) - Static method in class de.chojo.sqlutil.conversion.UUIDConverter
-
Convert a uuid to a byte array
- create() - Method in class de.chojo.sqlutil.datasource.DataSourceCreator
- create() - Method in interface de.chojo.sqlutil.datasource.stage.JdbcStage
-
Create a configuration with these properties.
- create(SqlType<T>) - Static method in class de.chojo.sqlutil.datasource.DataSourceCreator
-
Create a new DataSource creator.
- createSchema(String) - Method in class de.chojo.sqlutil.databases.Postgres
- createSchema(String) - Method in interface de.chojo.sqlutil.databases.SqlType
-
Returns a query to create a schema with this name.
- createVersionTableQuery(String) - Method in class de.chojo.sqlutil.databases.DefaultType
- createVersionTableQuery(String) - Method in class de.chojo.sqlutil.databases.SqLite
- createVersionTableQuery(String) - Method in interface de.chojo.sqlutil.databases.SqlType
-
Creates a query to create a version table on the database.
D
- database(String) - Method in class de.chojo.sqlutil.jdbc.RemoteJdbcConfig
-
Sets the database for the connection.
- DataHolder - Class in de.chojo.sqlutil.base
-
Base class which can be used for classes which call the database.
- DataHolder(DataSource) - Constructor for class de.chojo.sqlutil.base.DataHolder
-
Create a new DataHolder
- DataSourceCreator<T extends JdbcConfig<?>> - Class in de.chojo.sqlutil.datasource
-
Class to create a
HikariDataSourcewith a builder pattern. - DataSourceProvider - Interface in de.chojo.sqlutil.base
- DbConfig - Class in de.chojo.sqlutil.datasource
-
Class which provides basic data for a database
- DbConfig(String, String, String, String, String) - Constructor for class de.chojo.sqlutil.datasource.DbConfig
-
Create a new DbConfiguration.
- de.chojo.sqlutil.base - package de.chojo.sqlutil.base
- de.chojo.sqlutil.conversion - package de.chojo.sqlutil.conversion
- de.chojo.sqlutil.databases - package de.chojo.sqlutil.databases
- de.chojo.sqlutil.datasource - package de.chojo.sqlutil.datasource
- de.chojo.sqlutil.datasource.stage - package de.chojo.sqlutil.datasource.stage
- de.chojo.sqlutil.exceptions - package de.chojo.sqlutil.exceptions
- de.chojo.sqlutil.jdbc - package de.chojo.sqlutil.jdbc
- de.chojo.sqlutil.logging - package de.chojo.sqlutil.logging
- de.chojo.sqlutil.updater - package de.chojo.sqlutil.updater
- de.chojo.sqlutil.wrapper - package de.chojo.sqlutil.wrapper
- de.chojo.sqlutil.wrapper.exception - package de.chojo.sqlutil.wrapper.exception
- de.chojo.sqlutil.wrapper.stage - package de.chojo.sqlutil.wrapper.stage
- debug(String) - Method in class de.chojo.sqlutil.logging.JavaLogger
- debug(String) - Method in interface de.chojo.sqlutil.logging.LoggerAdapter
- debug(String) - Method in class de.chojo.sqlutil.logging.SimpleLogger
- debug(String) - Method in class de.chojo.sqlutil.logging.Slf4jLogger
- debug(String, Throwable) - Method in class de.chojo.sqlutil.logging.JavaLogger
- debug(String, Throwable) - Method in interface de.chojo.sqlutil.logging.LoggerAdapter
- debug(String, Throwable) - Method in class de.chojo.sqlutil.logging.SimpleLogger
- debug(String, Throwable) - Method in class de.chojo.sqlutil.logging.Slf4jLogger
- defaultConfig() - Method in class de.chojo.sqlutil.wrapper.QueryBuilder
- defaultConfig() - Static method in class de.chojo.sqlutil.wrapper.QueryBuilderConfig
- defaultConfig() - Method in interface de.chojo.sqlutil.wrapper.stage.ConfigurationStage
-
Set the settings to default values.
- defaultDriverClass() - Method in class de.chojo.sqlutil.jdbc.JdbcConfig
-
Returns the full path of the driver class
- defaultDriverClass() - Method in class de.chojo.sqlutil.jdbc.MariaDbJdbc
- defaultDriverClass() - Method in class de.chojo.sqlutil.jdbc.MySQLJdbc
- defaultDriverClass() - Method in class de.chojo.sqlutil.jdbc.PostgresJdbc
- defaultDriverClass() - Method in class de.chojo.sqlutil.jdbc.SqLiteJdbc
- DefaultType<T extends JdbcConfig<?>> - Class in de.chojo.sqlutil.databases
-
Represents a default database
- DefaultType() - Constructor for class de.chojo.sqlutil.databases.DefaultType
- delete() - Method in interface de.chojo.sqlutil.wrapper.stage.ResultStage
-
Mark this query as deletion query.
- deleteVersion(String) - Method in class de.chojo.sqlutil.databases.DefaultType
- deleteVersion(String) - Method in interface de.chojo.sqlutil.databases.SqlType
-
Creates a query to delete all entries from the version table.
- DISABLE - Enum constant in enum class de.chojo.sqlutil.jdbc.MariaDbJdbc.SslMode
-
Do not use SSL/TLS
- DISABLE - Enum constant in enum class de.chojo.sqlutil.jdbc.PostgresJdbc.SslMode
-
No validation
- disableDefaultLogger() - Method in class de.chojo.sqlutil.wrapper.QueryBuilderConfig.Builder
-
Disable the default logger.
- driver() - Method in class de.chojo.sqlutil.jdbc.JdbcConfig
-
Returns the driver name of the jdbc url
- driver() - Method in class de.chojo.sqlutil.jdbc.MariaDbJdbc
- driver() - Method in class de.chojo.sqlutil.jdbc.MySQLJdbc
- driver() - Method in class de.chojo.sqlutil.jdbc.PostgresJdbc
- driver() - Method in class de.chojo.sqlutil.jdbc.SqLiteJdbc
- driverClass() - Method in class de.chojo.sqlutil.jdbc.JdbcConfig
- dumpQueriesOnException(boolean) - Method in class de.chojo.sqlutil.jdbc.MariaDbJdbc
-
If set to 'true', an exception is thrown during query execution containing a query string.
- dumpQueriesOnException(boolean) - Method in class de.chojo.sqlutil.jdbc.PostgresJdbc
-
If set to 'true', an exception is thrown during query execution containing a query string.
E
- emptyParams() - Method in interface de.chojo.sqlutil.wrapper.stage.StatementStage
-
Skip this stage and set no parameters in the query.
- enabledSslCipherSuites(String) - Method in class de.chojo.sqlutil.jdbc.MariaDbJdbc
-
Force TLS/SSL cipher (comma separated list).
- equals(Object) - Method in class de.chojo.sqlutil.jdbc.JdbProperty
- error(String) - Method in class de.chojo.sqlutil.logging.JavaLogger
- error(String) - Method in interface de.chojo.sqlutil.logging.LoggerAdapter
- error(String) - Method in class de.chojo.sqlutil.logging.SimpleLogger
- error(String) - Method in class de.chojo.sqlutil.logging.Slf4jLogger
- error(String, Throwable) - Method in class de.chojo.sqlutil.logging.JavaLogger
- error(String, Throwable) - Method in interface de.chojo.sqlutil.logging.LoggerAdapter
- error(String, Throwable) - Method in class de.chojo.sqlutil.logging.SimpleLogger
- error(String, Throwable) - Method in class de.chojo.sqlutil.logging.Slf4jLogger
- exceptionHandler() - Method in class de.chojo.sqlutil.wrapper.QueryBuilderConfig
- ExceptionTransformer - Class in de.chojo.sqlutil.exceptions
-
Utilitites for database handling
- execute() - Method in class de.chojo.sqlutil.updater.SqlUpdater.SqlUpdaterBuilder
-
Build the updater and start the update process.
- execute() - Method in class de.chojo.sqlutil.wrapper.QueryBuilder
- execute() - Method in interface de.chojo.sqlutil.wrapper.stage.UpdateStage
-
Deprecated.
- execute(Executor) - Method in class de.chojo.sqlutil.wrapper.QueryBuilder
- execute(Executor) - Method in interface de.chojo.sqlutil.wrapper.stage.UpdateStage
-
Deprecated.Deprecated in favor of
UpdateStage.send(Executor) - executeSync() - Method in class de.chojo.sqlutil.wrapper.QueryBuilder
- executeSync() - Method in interface de.chojo.sqlutil.wrapper.stage.UpdateStage
-
Deprecated.Deprecated in favor of
UpdateStage.sendSync() - executor() - Method in class de.chojo.sqlutil.wrapper.QueryBuilderConfig
F
- factory() - Method in class de.chojo.sqlutil.base.QueryFactoryHolder
-
Get the underlying factory
- first() - Method in class de.chojo.sqlutil.wrapper.QueryBuilder
- first() - Method in interface de.chojo.sqlutil.wrapper.stage.RetrievalStage
-
Retrieve the first result from the results set async
- first(Executor) - Method in class de.chojo.sqlutil.wrapper.QueryBuilder
- first(Executor) - Method in interface de.chojo.sqlutil.wrapper.stage.RetrievalStage
-
Retrieve the first result from the results set async
- firstSync() - Method in class de.chojo.sqlutil.wrapper.QueryBuilder
- firstSync() - Method in interface de.chojo.sqlutil.wrapper.stage.RetrievalStage
-
Retrieve the first result from the results set synced
- forSchema(String) - Method in class de.chojo.sqlutil.datasource.DataSourceCreator
- forSchema(String) - Method in interface de.chojo.sqlutil.datasource.stage.ConfigurationStage
-
Set the default schema name to be set on connections.
G
- getConnection() - Method in class de.chojo.sqlutil.base.DataHolder
-
Attempts to establish a connection with the data source that this DataSource object represents.
- getErrorCode() - Method in exception de.chojo.sqlutil.wrapper.exception.QueryExecutionException
- getErrorCode() - Method in exception de.chojo.sqlutil.wrapper.exception.WrappedQueryExecutionException
-
Error code of the exception
- getMessage() - Method in exception de.chojo.sqlutil.wrapper.exception.QueryExecutionException
- getMessage() - Method in exception de.chojo.sqlutil.wrapper.exception.WrappedQueryExecutionException
- getName() - Method in class de.chojo.sqlutil.databases.MariaDb
- getName() - Method in class de.chojo.sqlutil.databases.MySql
- getName() - Method in class de.chojo.sqlutil.databases.Postgres
- getName() - Method in class de.chojo.sqlutil.databases.SqLite
- getName() - Method in interface de.chojo.sqlutil.databases.SqlType
-
Get a unique name to identify the database.
- getSQLState() - Method in exception de.chojo.sqlutil.wrapper.exception.QueryExecutionException
- getSQLState() - Method in exception de.chojo.sqlutil.wrapper.exception.WrappedQueryExecutionException
-
SQL state of the exception
- getVersion(String) - Method in class de.chojo.sqlutil.databases.DefaultType
- getVersion(String) - Method in interface de.chojo.sqlutil.databases.SqlType
-
Gets a query to read the version from the version table
H
- hashCode() - Method in class de.chojo.sqlutil.jdbc.JdbProperty
- hasSchemas() - Method in class de.chojo.sqlutil.databases.Postgres
- hasSchemas() - Method in interface de.chojo.sqlutil.databases.SqlType
-
Indicates if this type supports schemas.
- host(String) - Method in class de.chojo.sqlutil.jdbc.RemoteJdbcConfig
-
Set the host name of the connection
I
- info(String) - Method in class de.chojo.sqlutil.logging.JavaLogger
- info(String) - Method in interface de.chojo.sqlutil.logging.LoggerAdapter
- info(String) - Method in class de.chojo.sqlutil.logging.SimpleLogger
- info(String) - Method in class de.chojo.sqlutil.logging.Slf4jLogger
- info(String, Throwable) - Method in class de.chojo.sqlutil.logging.JavaLogger
- info(String, Throwable) - Method in interface de.chojo.sqlutil.logging.LoggerAdapter
- info(String, Throwable) - Method in class de.chojo.sqlutil.logging.SimpleLogger
- info(String, Throwable) - Method in class de.chojo.sqlutil.logging.Slf4jLogger
- initCause(Throwable) - Method in exception de.chojo.sqlutil.wrapper.exception.QueryExecutionException
- initCause(Throwable) - Method in exception de.chojo.sqlutil.wrapper.exception.WrappedQueryExecutionException
- insert() - Method in class de.chojo.sqlutil.wrapper.QueryBuilder
- insert() - Method in interface de.chojo.sqlutil.wrapper.stage.ResultStage
-
Insert data into a table.
- InsertStage - Interface in de.chojo.sqlutil.wrapper.stage
- insertVersion(String) - Method in class de.chojo.sqlutil.databases.DefaultType
- insertVersion(String) - Method in interface de.chojo.sqlutil.databases.SqlType
-
Creates a query to insert a version into the version table.
- ipv4(String) - Method in class de.chojo.sqlutil.jdbc.RemoteJdbcConfig
-
Sets the host to an ipv4 address.
- ipv6(String) - Method in class de.chojo.sqlutil.jdbc.RemoteJdbcConfig
-
Sets the host to an ipv6 address.
- isAtomic() - Method in class de.chojo.sqlutil.wrapper.QueryBuilderConfig
-
Checks if atomic transactions should be used.
- isThrowing() - Method in class de.chojo.sqlutil.wrapper.QueryBuilderConfig
-
Check if the config is throwing
J
- JavaLogger - Class in de.chojo.sqlutil.logging
- JavaLogger(Logger) - Constructor for class de.chojo.sqlutil.logging.JavaLogger
- jdbcBuilder() - Method in class de.chojo.sqlutil.databases.MariaDb
- jdbcBuilder() - Method in class de.chojo.sqlutil.databases.MySql
- jdbcBuilder() - Method in class de.chojo.sqlutil.databases.Postgres
- jdbcBuilder() - Method in class de.chojo.sqlutil.databases.SqLite
- jdbcBuilder() - Method in interface de.chojo.sqlutil.databases.SqlType
-
Returns the
JdbcConfigimplementation for this database - JdbcConfig<T extends JdbcConfig<?>> - Class in de.chojo.sqlutil.jdbc
-
A basic jdbc config
- JdbcConfig() - Constructor for class de.chojo.sqlutil.jdbc.JdbcConfig
- JdbcStage<T> - Interface in de.chojo.sqlutil.datasource.stage
-
A stage which represents a property creator for a data source.
- jdbcUrl() - Method in class de.chojo.sqlutil.jdbc.JdbcConfig
-
Get the jdbc url which combines the results of
JdbcConfig.baseUrl()andJdbcConfig.parameter() - JdbProperty<T> - Class in de.chojo.sqlutil.jdbc
-
A key value pair used to represent url parameter
- JdbProperty(String, T) - Constructor for class de.chojo.sqlutil.jdbc.JdbProperty
K
- key() - Method in class de.chojo.sqlutil.jdbc.JdbProperty
- key() - Method in class de.chojo.sqlutil.wrapper.QueryBuilder
- key() - Method in interface de.chojo.sqlutil.wrapper.stage.InsertStage
-
Retrieve the first created key async
- key(Executor) - Method in class de.chojo.sqlutil.wrapper.QueryBuilder
- key(Executor) - Method in interface de.chojo.sqlutil.wrapper.stage.InsertStage
-
Retrieve the first created key async
- keys() - Method in class de.chojo.sqlutil.wrapper.QueryBuilder
- keys() - Method in interface de.chojo.sqlutil.wrapper.stage.InsertStage
-
Retrieve all created keys async as a list
- keys(Executor) - Method in class de.chojo.sqlutil.wrapper.QueryBuilder
- keys(Executor) - Method in interface de.chojo.sqlutil.wrapper.stage.InsertStage
-
Retrieve all created keys async as a list
- keysSync() - Method in class de.chojo.sqlutil.wrapper.QueryBuilder
- keysSync() - Method in interface de.chojo.sqlutil.wrapper.stage.InsertStage
-
Retrieve all created keys as a list
- keysSync() - Method in interface de.chojo.sqlutil.wrapper.stage.RetrievalStage
-
Retrieve all created keys as a list
- keyStore(String) - Method in class de.chojo.sqlutil.jdbc.MariaDbJdbc
-
File path of the keyStore file that contain client private key store and associate certificates (similar to java System property "javax.net.ssl.keyStore", but ensure that only the private key's entries are used).
- keyStorePassword(String) - Method in class de.chojo.sqlutil.jdbc.MariaDbJdbc
-
Password for the client certificate keyStore (similar to java System property "javax.net.ssl.keyStorePassword").
- keyStoreType(String) - Method in class de.chojo.sqlutil.jdbc.MariaDbJdbc
-
Indicate key store type (JKS/PKCS12).
- keySync() - Method in class de.chojo.sqlutil.wrapper.QueryBuilder
- keySync() - Method in interface de.chojo.sqlutil.wrapper.stage.InsertStage
-
Retrieve the first created key synced
L
- localhost() - Method in class de.chojo.sqlutil.jdbc.RemoteJdbcConfig
-
Sets the host explicit to local host.
- log - Variable in class de.chojo.sqlutil.logging.SimpleLogger
- logDbError(String, SQLException) - Method in class de.chojo.sqlutil.base.DataHolder
-
Logs the exception with a message
- logDbError(SQLException) - Method in class de.chojo.sqlutil.base.DataHolder
-
Logs the exception with a default message.
- logDbError(SQLException) - Method in class de.chojo.sqlutil.wrapper.QueryBuilder
- LoggerAdapter - Interface in de.chojo.sqlutil.logging
- login(String, String) - Method in class de.chojo.sqlutil.jdbc.RemoteJdbcConfig
M
- major() - Method in class de.chojo.sqlutil.updater.SqlVersion
-
Major version
- MariaDb - Class in de.chojo.sqlutil.databases
- MariaDb() - Constructor for class de.chojo.sqlutil.databases.MariaDb
- MARIADB - Static variable in interface de.chojo.sqlutil.databases.SqlType
-
The MariaDb type.
- MariaDbJdbc - Class in de.chojo.sqlutil.jdbc
- MariaDbJdbc() - Constructor for class de.chojo.sqlutil.jdbc.MariaDbJdbc
- MariaDbJdbc.SslMode - Enum Class in de.chojo.sqlutil.jdbc
- maxQuerySizeToLog(int) - Method in class de.chojo.sqlutil.jdbc.MariaDbJdbc
-
Only the first characters corresponding to this options size will be displayed in logs Default: 1024.
- memory() - Method in class de.chojo.sqlutil.jdbc.SqLiteJdbc
-
Sets the database to in-memory mode.
- MySql - Class in de.chojo.sqlutil.databases
- MySql() - Constructor for class de.chojo.sqlutil.databases.MySql
- MYSQL - Static variable in interface de.chojo.sqlutil.databases.SqlType
-
The MySQL type.
- MySQLJdbc - Class in de.chojo.sqlutil.jdbc
- MySQLJdbc() - Constructor for class de.chojo.sqlutil.jdbc.MySQLJdbc
N
- notAtomic() - Method in class de.chojo.sqlutil.wrapper.QueryBuilderConfig.Builder
-
Set that the queries are not executed atomic.
P
- ParamBuilder - Class in de.chojo.sqlutil.wrapper
-
A class which wrapps a
PreparedStatementand allows to set the values with a builder pattern. - ParamBuilder(PreparedStatement) - Constructor for class de.chojo.sqlutil.wrapper.ParamBuilder
-
Create a new ParamBuilder
- parameter() - Method in class de.chojo.sqlutil.jdbc.JdbcConfig
-
Build the
JdbcConfig.parameter, which were added - parameter(ThrowingConsumer<ParamBuilder, SQLException>) - Method in class de.chojo.sqlutil.wrapper.QueryBuilder
- parameter(ThrowingConsumer<ParamBuilder, SQLException>) - Method in interface de.chojo.sqlutil.wrapper.stage.StatementStage
-
Set the parameter of the
PreparedStatementof the query. - params(ThrowingConsumer<PreparedStatement, SQLException>) - Method in class de.chojo.sqlutil.wrapper.QueryBuilder
- params(ThrowingConsumer<PreparedStatement, SQLException>) - Method in interface de.chojo.sqlutil.wrapper.stage.StatementStage
-
Deprecated.This method exists for the sole purpose of backwards compatibility. Usage of
StatementStage.parameter(ThrowingConsumer)is prefered. - paramsBuilder(ThrowingConsumer<ParamBuilder, SQLException>) - Method in interface de.chojo.sqlutil.wrapper.stage.StatementStage
-
Deprecated, for removal: This API element is subject to removal in a future version.use
StatementStage.parameter(ThrowingConsumer)instead - password(String) - Method in class de.chojo.sqlutil.jdbc.RemoteJdbcConfig
-
Sets the password for the connection.
- patch() - Method in class de.chojo.sqlutil.updater.SqlVersion
-
Patch version
- path(File) - Method in class de.chojo.sqlutil.jdbc.SqLiteJdbc
-
Set the path of the db file
- path(String) - Method in class de.chojo.sqlutil.jdbc.SqLiteJdbc
-
Set the path of the db file
- path(Path) - Method in class de.chojo.sqlutil.jdbc.SqLiteJdbc
-
Set the path of the db file
- port(int) - Method in class de.chojo.sqlutil.jdbc.RemoteJdbcConfig
-
Set the port.
- port(String) - Method in class de.chojo.sqlutil.jdbc.RemoteJdbcConfig
-
Set the port.
- Postgres - Class in de.chojo.sqlutil.databases
- Postgres() - Constructor for class de.chojo.sqlutil.databases.Postgres
- POSTGRES - Static variable in interface de.chojo.sqlutil.databases.SqlType
-
The PostgreSQL type.
- PostgresJdbc - Class in de.chojo.sqlutil.jdbc
- PostgresJdbc() - Constructor for class de.chojo.sqlutil.jdbc.PostgresJdbc
- PostgresJdbc.SslMode - Enum Class in de.chojo.sqlutil.jdbc
- PREFER - Enum constant in enum class de.chojo.sqlutil.jdbc.PostgresJdbc.SslMode
-
No validation
- prettyException(String, SQLException) - Static method in class de.chojo.sqlutil.exceptions.ExceptionTransformer
-
Transforms a SQLException in an easy readable string with a message.
- prettyException(SQLException) - Static method in class de.chojo.sqlutil.exceptions.ExceptionTransformer
-
Transforms a SQLException in an easy readable string with a message.
Q
- query(String) - Method in class de.chojo.sqlutil.wrapper.QueryBuilder
- query(String) - Method in interface de.chojo.sqlutil.wrapper.stage.QueryStage
-
Set the query to execute.
- query(String, Object...) - Method in interface de.chojo.sqlutil.wrapper.stage.QueryStage
-
Set the query to execute.
- queryBuilder(Class<T>) - Method in class de.chojo.sqlutil.base.DataHolder
-
Get a query builder for easy sql execution.
- QueryBuilder<T> - Class in de.chojo.sqlutil.wrapper
-
This query builder can be used to execute one or more queries onto a database via a connection provided by a datasource.
- QueryBuilderConfig - Class in de.chojo.sqlutil.wrapper
-
Configuration for a
QueryBuilder - QueryBuilderConfig.Builder - Class in de.chojo.sqlutil.wrapper
-
Builder for a
QueryBuilderConfig - QueryBuilderFactory - Class in de.chojo.sqlutil.wrapper
-
This class provides simple methods to create preconfigured
QueryBuilder. - QueryBuilderFactory(AtomicReference<QueryBuilderConfig>, DataSource) - Constructor for class de.chojo.sqlutil.wrapper.QueryBuilderFactory
-
Crea a new QueryBuilderFactory
- QueryBuilderFactory(DataSource) - Constructor for class de.chojo.sqlutil.wrapper.QueryBuilderFactory
- QueryExecutionException - Exception in de.chojo.sqlutil.wrapper.exception
- QueryExecutionException(String) - Constructor for exception de.chojo.sqlutil.wrapper.exception.QueryExecutionException
- QueryFactoryHolder - Class in de.chojo.sqlutil.base
-
Base class which provides a factory for easy usage.
- QueryFactoryHolder(DataSourceProvider) - Constructor for class de.chojo.sqlutil.base.QueryFactoryHolder
- QueryFactoryHolder(DataSourceProvider, QueryBuilderConfig) - Constructor for class de.chojo.sqlutil.base.QueryFactoryHolder
- QueryFactoryHolder(QueryFactoryHolder) - Constructor for class de.chojo.sqlutil.base.QueryFactoryHolder
-
Creates a
QueryFactoryHolderbased on the passedQueryFactoryHolder. - QueryFactoryHolder(DataSource) - Constructor for class de.chojo.sqlutil.base.QueryFactoryHolder
-
Create a new QueryFactoryholder
- QueryFactoryHolder(DataSource, QueryBuilderConfig) - Constructor for class de.chojo.sqlutil.base.QueryFactoryHolder
-
Create a new QueryFactoryholder
- QueryReplacement - Class in de.chojo.sqlutil.updater
- QueryReplacement(String, String) - Constructor for class de.chojo.sqlutil.updater.QueryReplacement
-
Creates a new replacement
- QueryStage<T> - Interface in de.chojo.sqlutil.wrapper.stage
-
Query stage of a
QueryBuilder - queryWithoutParams(String) - Method in class de.chojo.sqlutil.wrapper.QueryBuilder
- queryWithoutParams(String) - Method in interface de.chojo.sqlutil.wrapper.stage.QueryStage
-
Set the query to execute.
- queryWithoutParams(String, Object...) - Method in interface de.chojo.sqlutil.wrapper.stage.QueryStage
-
Set the query to execute.
R
- readRow(ThrowingFunction<T, ResultSet, SQLException>) - Method in class de.chojo.sqlutil.wrapper.QueryBuilder
- readRow(ThrowingFunction<T, ResultSet, SQLException>) - Method in interface de.chojo.sqlutil.wrapper.stage.ResultStage
-
Extract results from a results set.
- RemoteJdbcConfig<T extends RemoteJdbcConfig<?>> - Class in de.chojo.sqlutil.jdbc
- RemoteJdbcConfig() - Constructor for class de.chojo.sqlutil.jdbc.RemoteJdbcConfig
- REQUIRE - Enum constant in enum class de.chojo.sqlutil.jdbc.PostgresJdbc.SslMode
-
Only use SSL/TLS for encryption.
- ResultStage<T> - Interface in de.chojo.sqlutil.wrapper.stage
-
Represents a ResultStage of a
QueryBuilder. - RetrievalStage<T> - Interface in de.chojo.sqlutil.wrapper.stage
-
Represents a RetrievalStage of a
QueryBuilder. - rows() - Method in class de.chojo.sqlutil.wrapper.stage.UpdateResult
-
The amount of affected rows.
S
- schemaExists() - Method in class de.chojo.sqlutil.databases.Postgres
- schemaExists() - Method in interface de.chojo.sqlutil.databases.SqlType
-
Returns a query which returns a boolean indicating if a schema with this name exists.
- self() - Method in class de.chojo.sqlutil.jdbc.JdbcConfig
-
Returns the instance with the correct type.
- send() - Method in class de.chojo.sqlutil.wrapper.QueryBuilder
- send() - Method in interface de.chojo.sqlutil.wrapper.stage.UpdateStage
-
Executes the update async.
- send(Executor) - Method in class de.chojo.sqlutil.wrapper.QueryBuilder
- send(Executor) - Method in interface de.chojo.sqlutil.wrapper.stage.UpdateStage
-
Executes the update async.
- sendSync() - Method in class de.chojo.sqlutil.wrapper.QueryBuilder
- sendSync() - Method in interface de.chojo.sqlutil.wrapper.stage.UpdateStage
-
Executes the update.
- serverSslCert(String) - Method in class de.chojo.sqlutil.jdbc.MariaDbJdbc
-
Permits providing server's certificate in DER form, or server's CA certificate.
- setArray(Array) - Method in class de.chojo.sqlutil.wrapper.ParamBuilder
-
Sets the designated parameter to the given
java.sql.Arrayobject. - setAsciiStream(InputStream) - Method in class de.chojo.sqlutil.wrapper.ParamBuilder
-
Sets the designated parameter to the given input stream.
- setAsciiStream(InputStream, int) - Method in class de.chojo.sqlutil.wrapper.ParamBuilder
-
Sets the designated parameter to the given input stream, which will have the specified number of bytes.
- setAsciiStream(InputStream, long) - Method in class de.chojo.sqlutil.wrapper.ParamBuilder
-
Sets the designated parameter to the given input stream, which will have the specified number of bytes.
- setBigDecimal(BigDecimal) - Method in class de.chojo.sqlutil.wrapper.ParamBuilder
-
Sets the designated parameter to the given
java.math.BigDecimalvalue. - setBinaryStream(InputStream) - Method in class de.chojo.sqlutil.wrapper.ParamBuilder
-
Sets the designated parameter to the given input stream.
- setBinaryStream(InputStream, int) - Method in class de.chojo.sqlutil.wrapper.ParamBuilder
-
Sets the designated parameter to the given input stream, which will have the specified number of bytes.
- setBinaryStream(InputStream, long) - Method in class de.chojo.sqlutil.wrapper.ParamBuilder
-
Sets the designated parameter to the given input stream, which will have the specified number of bytes.
- setBlob(InputStream) - Method in class de.chojo.sqlutil.wrapper.ParamBuilder
-
Sets the designated parameter to a
InputStreamobject. - setBlob(InputStream, long) - Method in class de.chojo.sqlutil.wrapper.ParamBuilder
-
Sets the designated parameter to a
InputStreamobject. - setBlob(Blob) - Method in class de.chojo.sqlutil.wrapper.ParamBuilder
-
Sets the designated parameter to the given
java.sql.Blobobject. - setBoolean(Boolean) - Method in class de.chojo.sqlutil.wrapper.ParamBuilder
-
Sets the designated parameter to the given Java
booleanvalue. - setByte(Byte) - Method in class de.chojo.sqlutil.wrapper.ParamBuilder
-
Sets the designated parameter to the given Java
bytevalue. - setBytes(byte[]) - Method in class de.chojo.sqlutil.wrapper.ParamBuilder
-
Sets the designated parameter to the given Java array of bytes.
- setCharacterStream(Reader) - Method in class de.chojo.sqlutil.wrapper.ParamBuilder
-
Sets the designated parameter to the given
Readerobject. - setCharacterStream(Reader, int) - Method in class de.chojo.sqlutil.wrapper.ParamBuilder
-
Sets the designated parameter to the given
Readerobject, which is the given number of characters long. - setCharacterStream(Reader, long) - Method in class de.chojo.sqlutil.wrapper.ParamBuilder
-
Sets the designated parameter to the given
Readerobject, which is the given number of characters long. - setClob(Reader) - Method in class de.chojo.sqlutil.wrapper.ParamBuilder
-
Sets the designated parameter to a
Readerobject. - setClob(Reader, long) - Method in class de.chojo.sqlutil.wrapper.ParamBuilder
-
Sets the designated parameter to a
Readerobject. - setClob(Clob) - Method in class de.chojo.sqlutil.wrapper.ParamBuilder
-
Sets the designated parameter to the given
java.sql.Clobobject. - setDate(Date) - Method in class de.chojo.sqlutil.wrapper.ParamBuilder
-
Sets the designated parameter to the given
java.sql.Datevalue using the default time zone of the virtual machine that is running the application. - setDefault(QueryBuilderConfig) - Static method in class de.chojo.sqlutil.wrapper.QueryBuilderConfig
- setDouble(Double) - Method in class de.chojo.sqlutil.wrapper.ParamBuilder
-
Sets the designated parameter to the given Java
doublevalue. - setDriverClass(Class<V>) - Method in class de.chojo.sqlutil.jdbc.JdbcConfig
- setDriverClass(String) - Method in class de.chojo.sqlutil.jdbc.JdbcConfig
- setDriverClass(V) - Method in class de.chojo.sqlutil.jdbc.JdbcConfig
- setFloat(Float) - Method in class de.chojo.sqlutil.wrapper.ParamBuilder
-
Sets the designated parameter to the given Java
floatvalue. - setInt(Integer) - Method in class de.chojo.sqlutil.wrapper.ParamBuilder
-
Sets the designated parameter to the given Java
intvalue. - setLong(Long) - Method in class de.chojo.sqlutil.wrapper.ParamBuilder
-
Sets the designated parameter to the given Java
longvalue. - setNCharacterStream(Reader) - Method in class de.chojo.sqlutil.wrapper.ParamBuilder
-
Sets the designated parameter to a
Readerobject. - setNCharacterStream(Reader, long) - Method in class de.chojo.sqlutil.wrapper.ParamBuilder
-
Sets the designated parameter to a
Readerobject. - setNClob(Reader) - Method in class de.chojo.sqlutil.wrapper.ParamBuilder
-
Sets the designated parameter to a
Readerobject. - setNClob(Reader, long) - Method in class de.chojo.sqlutil.wrapper.ParamBuilder
-
Sets the designated parameter to a
Readerobject. - setNClob(NClob) - Method in class de.chojo.sqlutil.wrapper.ParamBuilder
-
Sets the designated parameter to a
java.sql.NClobobject. - setNString(String) - Method in class de.chojo.sqlutil.wrapper.ParamBuilder
-
Sets the designated parameter to the given
Stringobject. - setNull(int) - Method in class de.chojo.sqlutil.wrapper.ParamBuilder
-
Sets the designated parameter to SQL
NULL. - setObject(Object) - Method in class de.chojo.sqlutil.wrapper.ParamBuilder
-
Sets the value of the designated parameter using the given object.
- setObject(Object, int) - Method in class de.chojo.sqlutil.wrapper.ParamBuilder
-
Sets the value of the designated parameter with the given object.
- setObject(Object, int, int) - Method in class de.chojo.sqlutil.wrapper.ParamBuilder
-
Sets the value of the designated parameter with the given object.
- setObject(Object, SQLType) - Method in class de.chojo.sqlutil.wrapper.ParamBuilder
-
Sets the value of the designated parameter with the given object.
- setRef(Ref) - Method in class de.chojo.sqlutil.wrapper.ParamBuilder
-
Sets the designated parameter to the given
REF(<structured-type>)value. - setReplacements(QueryReplacement...) - Method in class de.chojo.sqlutil.updater.SqlUpdater.SqlUpdaterBuilder
-
Replacements which should be applied to the executed scripts.
- setRowId(RowId) - Method in class de.chojo.sqlutil.wrapper.ParamBuilder
-
Sets the designated parameter to the given
java.sql.RowIdobject. - setSchemas(String...) - Method in class de.chojo.sqlutil.updater.SqlUpdater.SqlUpdaterBuilder
-
Set the schemas which should be created if they do not exist.
- setShort(Short) - Method in class de.chojo.sqlutil.wrapper.ParamBuilder
-
Sets the designated parameter to the given Java
shortvalue. - setSQLXML(SQLXML) - Method in class de.chojo.sqlutil.wrapper.ParamBuilder
-
Sets the designated parameter to the given
java.sql.SQLXMLobject. - setString(String) - Method in class de.chojo.sqlutil.wrapper.ParamBuilder
-
Sets the designated parameter to the given Java
Stringvalue. - setTime(Time) - Method in class de.chojo.sqlutil.wrapper.ParamBuilder
-
Sets the designated parameter to the given
java.sql.Timevalue. - setTimestamp(Timestamp) - Method in class de.chojo.sqlutil.wrapper.ParamBuilder
-
Sets the designated parameter to the given
java.sql.Timestampvalue. - setupLogger(LoggerAdapter) - Static method in class de.chojo.sqlutil.base.DataHolder
-
Setup the logger used for logging.
- setURL(URL) - Method in class de.chojo.sqlutil.wrapper.ParamBuilder
-
Sets the designated parameter to the given
java.net.URLvalue. - setVersionTable(String) - Method in class de.chojo.sqlutil.updater.SqlUpdater.SqlUpdaterBuilder
-
The version table which contains major and patch version.
- SimpleLogger<T> - Class in de.chojo.sqlutil.logging
- SimpleLogger(T) - Constructor for class de.chojo.sqlutil.logging.SimpleLogger
- Slf4jLogger - Class in de.chojo.sqlutil.logging
- Slf4jLogger(Logger) - Constructor for class de.chojo.sqlutil.logging.Slf4jLogger
- source() - Method in class de.chojo.sqlutil.base.DataHolder
- source() - Method in interface de.chojo.sqlutil.base.DataSourceProvider
- source() - Method in class de.chojo.sqlutil.base.QueryFactoryHolder
-
Get the underlying data source
- source() - Method in class de.chojo.sqlutil.wrapper.QueryBuilderFactory
- splitStatements(String) - Method in class de.chojo.sqlutil.databases.MariaDb
- splitStatements(String) - Method in class de.chojo.sqlutil.databases.MySql
- splitStatements(String) - Method in class de.chojo.sqlutil.databases.SqLite
- splitStatements(String) - Method in interface de.chojo.sqlutil.databases.SqlType
-
If the db does not allow to execute multiple queries this function should return every query in one string
- SqLite - Class in de.chojo.sqlutil.databases
- SqLite() - Constructor for class de.chojo.sqlutil.databases.SqLite
- SQLITE - Static variable in interface de.chojo.sqlutil.databases.SqlType
-
The SqLite type.
- SqLiteJdbc - Class in de.chojo.sqlutil.jdbc
- SqLiteJdbc() - Constructor for class de.chojo.sqlutil.jdbc.SqLiteJdbc
- SqlType<T extends JdbcConfig<?>> - Interface in de.chojo.sqlutil.databases
-
Defines a sql type and handles RDBMS specific actions.
- SqlUpdater<T extends JdbcConfig<?>> - Class in de.chojo.sqlutil.updater
-
An SQL updater which performs database updates via upgrade scripts.
- SqlUpdater.SqlUpdaterBuilder<T extends JdbcConfig<?>> - Class in de.chojo.sqlutil.updater
-
Class to build a
SqlUpdaterwith a builder pattern - SqlVersion - Class in de.chojo.sqlutil.updater
-
Class representing a version maintained by the
SqlUpdater. - SqlVersion(int, int) - Constructor for class de.chojo.sqlutil.updater.SqlVersion
- ssl(boolean) - Method in class de.chojo.sqlutil.jdbc.PostgresJdbc
-
Connect using SSL.
- sslcert(String) - Method in class de.chojo.sqlutil.jdbc.PostgresJdbc
-
Provide the full path for the certificate file.
- sslFactory(String) - Method in class de.chojo.sqlutil.jdbc.PostgresJdbc
-
The provided value is a class name to use as the SSLSocketFactory when establishing a SSL connection.
- sslhostnameverifier(String) - Method in class de.chojo.sqlutil.jdbc.PostgresJdbc
-
Class name of hostname verifier.
- sslkey(String) - Method in class de.chojo.sqlutil.jdbc.PostgresJdbc
-
Provide the full path for the key file.
- sslMode(MariaDbJdbc.SslMode) - Method in class de.chojo.sqlutil.jdbc.MariaDbJdbc
-
Enables SSL/TLS in a specific mode.
- sslMode(PostgresJdbc.SslMode) - Method in class de.chojo.sqlutil.jdbc.PostgresJdbc
-
Enables SSL/TLS in a specific mode.
- sslpassword(int) - Method in class de.chojo.sqlutil.jdbc.PostgresJdbc
-
If provided will be used by ConsoleCallbackHandler
- sslpasswordcallback(String) - Method in class de.chojo.sqlutil.jdbc.PostgresJdbc
-
Class name of the SSL password provider.
- sslrootcert(String) - Method in class de.chojo.sqlutil.jdbc.PostgresJdbc
-
File name of the SSL root certificate.
- StatementStage<T> - Interface in de.chojo.sqlutil.wrapper.stage
-
Statement stage of a
QueryBuilder
T
- throwExceptions() - Method in class de.chojo.sqlutil.wrapper.QueryBuilderConfig.Builder
-
Sets the query builder as throwing.
- ThrowingConsumer<T,
Exception extends Exception> - Interface in de.chojo.sqlutil.exceptions -
Represents an operation that accepts a single input argument and returns no result.
- ThrowingFunction<R,
T, E extends Exception> - Interface in de.chojo.sqlutil.exceptions -
Represents a function which can throw an exception.
- toArray(ResultSet, String, T[]) - Static method in class de.chojo.sqlutil.conversion.ArrayConverter
-
Converts a column of a result set to an java array.
- toArray(Array) - Static method in class de.chojo.sqlutil.conversion.ArrayConverter
-
Convert a SQL
Arrayinto a java array of the requested return type. - toArray(ResultSet, String) - Static method in class de.chojo.sqlutil.conversion.ArrayConverter
-
Converts an array of a result set collumn to an java array
- toCollection(Array) - Static method in class de.chojo.sqlutil.conversion.ArrayConverter
-
Convert a SQL
Arrayinto a java array of the requested return type. - toCollection(ResultSet, String, Supplier<T>) - Static method in class de.chojo.sqlutil.conversion.ArrayConverter
-
Convert a SQL
Arrayinto a java array of the requested return type. - toList(ResultSet, String) - Static method in class de.chojo.sqlutil.conversion.ArrayConverter
-
Converts a column of a result set to a list.
- toSet(ResultSet, String) - Static method in class de.chojo.sqlutil.conversion.ArrayConverter
-
Converts a column of a result set to a set.
- toSqlArray(Connection, SQLType, Object[]) - Static method in class de.chojo.sqlutil.conversion.ArrayConverter
-
Convert a java array to an sql array of the required type.
- toSqlArray(Connection, SQLType, Collection<?>) - Static method in class de.chojo.sqlutil.conversion.ArrayConverter
-
Convert a java collection to an sql array of the required type.
- toString() - Method in enum class de.chojo.sqlutil.jdbc.MariaDbJdbc.SslMode
- toString() - Method in enum class de.chojo.sqlutil.jdbc.PostgresJdbc.SslMode
- TRUST - Enum constant in enum class de.chojo.sqlutil.jdbc.MariaDbJdbc.SslMode
-
Only use SSL/TLS for encryption.
U
- update() - Method in class de.chojo.sqlutil.wrapper.QueryBuilder
- update() - Method in interface de.chojo.sqlutil.wrapper.stage.ResultStage
-
Mark this query as update query.
- UpdateException - Exception in de.chojo.sqlutil.updater
- UpdateException() - Constructor for exception de.chojo.sqlutil.updater.UpdateException
- UpdateException(String) - Constructor for exception de.chojo.sqlutil.updater.UpdateException
- UpdateException(String, Throwable) - Constructor for exception de.chojo.sqlutil.updater.UpdateException
- UpdateResult - Class in de.chojo.sqlutil.wrapper.stage
- UpdateResult(int) - Constructor for class de.chojo.sqlutil.wrapper.stage.UpdateResult
- UpdateStage - Interface in de.chojo.sqlutil.wrapper.stage
-
Represents a UpdateStage of a
QueryBuilder. - user(String) - Method in class de.chojo.sqlutil.jdbc.RemoteJdbcConfig
-
Sets the user for the connection.
- useServerPrepStmts() - Method in class de.chojo.sqlutil.jdbc.MariaDbJdbc
-
PrepareStatement are prepared on the server side before executing.
- usingPassword(String) - Method in class de.chojo.sqlutil.datasource.DataSourceCreator
- usingPassword(String) - Method in interface de.chojo.sqlutil.datasource.stage.ConfigurationStage
-
Set the default password to use for DataSource.getConnection(username, password) calls.
- usingUsername(String) - Method in class de.chojo.sqlutil.datasource.DataSourceCreator
- usingUsername(String) - Method in interface de.chojo.sqlutil.datasource.stage.ConfigurationStage
-
Set the default username used for DataSource.getConnection(username, password) calls.
- UUIDConverter - Class in de.chojo.sqlutil.conversion
-
Convert uuids to bytes and vice versa
V
- value() - Method in class de.chojo.sqlutil.jdbc.JdbProperty
- valueOf(String) - Static method in enum class de.chojo.sqlutil.jdbc.MariaDbJdbc.SslMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class de.chojo.sqlutil.jdbc.PostgresJdbc.SslMode
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class de.chojo.sqlutil.jdbc.MariaDbJdbc.SslMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class de.chojo.sqlutil.jdbc.PostgresJdbc.SslMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VERIFY_CA - Enum constant in enum class de.chojo.sqlutil.jdbc.MariaDbJdbc.SslMode
-
Use SSL/TLS for encryption and perform certificates verification, but do not perform hostname verification.
- VERIFY_CA - Enum constant in enum class de.chojo.sqlutil.jdbc.PostgresJdbc.SslMode
-
Use SSL/TLS for encryption and perform certificates verification, but do not perform hostname verification.
- VERIFY_FULL - Enum constant in enum class de.chojo.sqlutil.jdbc.MariaDbJdbc.SslMode
-
Use SSL/TLS for encryption, certificate verification, and hostname verification.
- VERIFY_FULL - Enum constant in enum class de.chojo.sqlutil.jdbc.PostgresJdbc.SslMode
-
Use SSL/TLS for encryption, certificate verification, and hostname verification.
W
- warn(String) - Method in class de.chojo.sqlutil.logging.JavaLogger
- warn(String) - Method in interface de.chojo.sqlutil.logging.LoggerAdapter
- warn(String) - Method in class de.chojo.sqlutil.logging.SimpleLogger
- warn(String) - Method in class de.chojo.sqlutil.logging.Slf4jLogger
- warn(String, Throwable) - Method in class de.chojo.sqlutil.logging.JavaLogger
- warn(String, Throwable) - Method in interface de.chojo.sqlutil.logging.LoggerAdapter
- warn(String, Throwable) - Method in class de.chojo.sqlutil.logging.SimpleLogger
- warn(String, Throwable) - Method in class de.chojo.sqlutil.logging.Slf4jLogger
- withAutoCommit(boolean) - Method in class de.chojo.sqlutil.datasource.DataSourceCreator
- withAutoCommit(boolean) - Method in interface de.chojo.sqlutil.datasource.stage.ConfigurationStage
-
Set the default auto-commit behavior of connections in the pool.
- withConfig(QueryBuilderConfig) - Method in class de.chojo.sqlutil.updater.SqlUpdater.SqlUpdaterBuilder
-
Set the
QueryBuilderConfigfor the underlyingQueryFactoryHolder - withConnectionTimeout(long) - Method in class de.chojo.sqlutil.datasource.DataSourceCreator
- withConnectionTimeout(long) - Method in interface de.chojo.sqlutil.datasource.stage.ConfigurationStage
-
Set the maximum number of milliseconds that a client will wait for a connection from the pool.
- withDataSourceClassName(Class<? extends DataSource>) - Method in class de.chojo.sqlutil.datasource.DataSourceCreator
- withDataSourceClassName(Class<? extends DataSource>) - Method in interface de.chojo.sqlutil.datasource.stage.ConfigurationStage
-
Set the fully qualified class name of the JDBC
DataSourcethat will be used create Connections. - withExceptionHandler(Consumer<SQLException>) - Method in class de.chojo.sqlutil.wrapper.QueryBuilderConfig.Builder
-
Sets the query builder exception handler.
- withExecutor(ExecutorService) - Method in class de.chojo.sqlutil.wrapper.QueryBuilderConfig.Builder
-
Sets the exector service used for the completable futures.
- withIdleTimeout(long) - Method in class de.chojo.sqlutil.datasource.DataSourceCreator
- withIdleTimeout(long) - Method in interface de.chojo.sqlutil.datasource.stage.ConfigurationStage
-
This property controls the maximum amount of time (in milliseconds) that a connection is allowed to sit idle in the pool.
- withKeepaliveTime(long) - Method in class de.chojo.sqlutil.datasource.DataSourceCreator
- withKeepaliveTime(long) - Method in interface de.chojo.sqlutil.datasource.stage.ConfigurationStage
-
This property controls the keepalive interval for a connection in the pool.
- withLogger(LoggerAdapter) - Method in class de.chojo.sqlutil.updater.SqlUpdater.SqlUpdaterBuilder
-
Set a logger adapter used for logging.
- withMaximumPoolSize(int) - Method in class de.chojo.sqlutil.datasource.DataSourceCreator
- withMaximumPoolSize(int) - Method in interface de.chojo.sqlutil.datasource.stage.ConfigurationStage
-
The property controls the maximum size that the pool is allowed to reach, including both idle and in-use connections.
- withMaxLifetime(long) - Method in class de.chojo.sqlutil.datasource.DataSourceCreator
- withMaxLifetime(long) - Method in interface de.chojo.sqlutil.datasource.stage.ConfigurationStage
-
This property controls the maximum lifetime of a connection in the pool.
- withMinimumIdle(int) - Method in class de.chojo.sqlutil.datasource.DataSourceCreator
- withMinimumIdle(int) - Method in interface de.chojo.sqlutil.datasource.stage.ConfigurationStage
-
The property controls the minimum number of idle connections that HikariCP tries to maintain in the pool, including both idle and in-use connections.
- withPoolName(String) - Method in class de.chojo.sqlutil.datasource.DataSourceCreator
- withPoolName(String) - Method in interface de.chojo.sqlutil.datasource.stage.ConfigurationStage
-
Set the name of the connection pool.
- withScheduledExecutor(ScheduledExecutorService) - Method in class de.chojo.sqlutil.datasource.DataSourceCreator
- withScheduledExecutor(ScheduledExecutorService) - Method in interface de.chojo.sqlutil.datasource.stage.ConfigurationStage
-
Set the ScheduledExecutorService used for housekeeping.
- withThreadFactory(ThreadFactory) - Method in class de.chojo.sqlutil.datasource.DataSourceCreator
- withThreadFactory(ThreadFactory) - Method in interface de.chojo.sqlutil.datasource.stage.ConfigurationStage
-
Set the thread factory to be used to create threads.
- wrap(Logger) - Static method in interface de.chojo.sqlutil.logging.LoggerAdapter
- wrap(Logger) - Static method in interface de.chojo.sqlutil.logging.LoggerAdapter
- WrappedQueryExecutionException - Exception in de.chojo.sqlutil.wrapper.exception
- WrappedQueryExecutionException(String) - Constructor for exception de.chojo.sqlutil.wrapper.exception.WrappedQueryExecutionException
All Classes and Interfaces|All Packages|Serialized Form
UpdateStage.send()