Index

A B C D E F G H I J K L M N P Q R S T U V W 
All Classes and Interfaces|All Packages|Serialized Form

A

abort(Executor) - Method in class de.chojo.sadu.updater.LockedConnectionDelegate
 
addParameter(String, V) - Method in class de.chojo.sadu.mariadb.jdbc.MariaDbJdbc
 
addParameter(String, V) - Method in class de.chojo.sadu.mysql.jdbc.MySQLJdbc
 
addParameter(String, V) - Method in class de.chojo.sadu.postgresql.jdbc.PostgreSqlJdbc
 
addParameter(String, V) - Method in class de.chojo.sadu.sqlite.jdbc.SqLiteJdbc
 
alias() - Method in class de.chojo.sadu.postgresql.databases.PostgreSql
 
ALLOW - Enum constant in enum class de.chojo.sadu.postgresql.jdbc.PostgreSqlJdbc.SslMode
No validation
allowLocalInfile() - Method in class de.chojo.sadu.mariadb.jdbc.MariaDbJdbc
Permit loading data from file
allowMultiQueries() - Method in class de.chojo.sadu.mariadb.jdbc.MariaDbJdbc
Allow multi-queries like insert into ab (i) values (1); insert into ab (i) values
allowMultiQueries() - Method in class de.chojo.sadu.postgresql.jdbc.PostgreSqlJdbc
Allow multi-queries like insert into ab (i) values (1); insert into ab (i) values
allowMultiQueries(boolean) - Method in class de.chojo.sadu.mariadb.jdbc.MariaDbJdbc
Allow multi-queries like insert into ab (i) values (1); insert into ab (i) values
allowMultiQueries(boolean) - Method in class de.chojo.sadu.postgresql.jdbc.PostgreSqlJdbc
Allow multi-queries like insert into ab (i) values (1); insert into ab (i) values
applicationName(String) - Method in class de.chojo.sadu.postgresql.jdbc.PostgreSqlJdbc
Specifies the name of the application that is using the connection.
apply(String) - Method in class de.chojo.sadu.updater.QueryReplacement
Applies the replacement on the input query

B

BaseSqlUpdaterBuilder<T extends de.chojo.sadu.core.jdbc.JdbcConfig<?>,S extends BaseSqlUpdaterBuilder<T,?>> - Class in de.chojo.sadu.updater
Class to build a SqlUpdater with a builder pattern
BaseSqlUpdaterBuilder(Database<T, S>) - Constructor for class de.chojo.sadu.updater.BaseSqlUpdaterBuilder
 
baseUrl() - Method in class de.chojo.sadu.sqlite.jdbc.SqLiteJdbc
 
BIG_DECIMAL_MAPPER - Static variable in class de.chojo.sadu.mariadb.mapper.MariaDbMapper
 
BIG_DECIMAL_MAPPER - Static variable in class de.chojo.sadu.postgresql.mapper.PostgresqlMapper
 
BIGINT - Static variable in interface de.chojo.sadu.mariadb.types.MariaDbTypes
"Unlimited"
BIGINT - Static variable in interface de.chojo.sadu.mysql.types.MySqlTypes
"Unlimited"
BIGINT - Static variable in interface de.chojo.sadu.postgresql.types.PostgreSqlTypes
"Unlimited" size
BINARY - Static variable in interface de.chojo.sadu.mariadb.types.MariaDbTypes
Fixed < 255 with padding
BINARY - Static variable in interface de.chojo.sadu.mysql.types.MySqlTypes
Fixed < 255 with padding
BLOB - Static variable in interface de.chojo.sadu.mariadb.types.MariaDbTypes
< 65,353
BLOB - Static variable in interface de.chojo.sadu.mysql.types.MySqlTypes
< 65,353
BLOB - Static variable in interface de.chojo.sadu.sqlite.types.SqLiteTypes
SqLite blob type
BOOLEAN - Static variable in interface de.chojo.sadu.mariadb.types.MariaDbTypes
Boolean representation
BOOLEAN - Static variable in interface de.chojo.sadu.mysql.types.MySqlTypes
Boolean representation
BOOLEAN - Static variable in interface de.chojo.sadu.postgresql.types.PostgreSqlTypes
Boolean
BOOLEAN - Static variable in interface de.chojo.sadu.sqlite.types.SqLiteTypes
SqLite boolean type Internally interpreted as an INTEGER
BOOLEAN_MAPPER - Static variable in class de.chojo.sadu.mariadb.mapper.MariaDbMapper
 
BOOLEAN_MAPPER - Static variable in class de.chojo.sadu.mysql.mapper.MySqlMapper
 
BOOLEAN_MAPPER - Static variable in class de.chojo.sadu.postgresql.mapper.PostgresqlMapper
 
BOOLEAN_MAPPER - Static variable in class de.chojo.sadu.sqlite.mapper.SqLiteMapper
 
build() - Method in class de.chojo.sadu.datasource.DataSourceCreator
 
build() - Method in interface de.chojo.sadu.datasource.stage.ConfigurationStage
Create a new hikari data source
builder(DataSource, Database<T, U>) - Static method in class de.chojo.sadu.updater.SqlUpdater
Creates a new BaseSqlUpdaterBuilder with a version set to a string located in resources/database/version.
BYTEA - Static variable in interface de.chojo.sadu.postgresql.types.PostgreSqlTypes
Byte array
BYTES_MAPPER - Static variable in class de.chojo.sadu.mariadb.mapper.MariaDbMapper
 
BYTES_MAPPER - Static variable in class de.chojo.sadu.mysql.mapper.MySqlMapper
 
BYTES_MAPPER - Static variable in class de.chojo.sadu.postgresql.mapper.PostgresqlMapper
 
BYTES_MAPPER - Static variable in class de.chojo.sadu.sqlite.mapper.SqLiteMapper
 

C

CHAR - Static variable in interface de.chojo.sadu.mariadb.types.MariaDbTypes
Fixed < 255 with padding
CHAR - Static variable in interface de.chojo.sadu.mysql.types.MySqlTypes
Fixed < 255 with padding
CHAR - Static variable in interface de.chojo.sadu.postgresql.types.PostgreSqlTypes
Up to 1 GB
classLoader - Variable in class de.chojo.sadu.updater.BaseSqlUpdaterBuilder
 
close() - Method in class de.chojo.sadu.updater.LockedConnectionDelegate
 
commit() - Method in class de.chojo.sadu.updater.LockedConnectionDelegate
 
ConfigurationStage - Interface in de.chojo.sadu.datasource.stage
Configuration stage, which is used to configurate a HikariConfig.
configure(Consumer<T>) - Method in class de.chojo.sadu.datasource.DataSourceCreator
 
configure(Consumer<T>) - Method in interface de.chojo.sadu.datasource.stage.JdbcStage
configure the jdbc builder
connectTimeout(int) - Method in class de.chojo.sadu.mariadb.jdbc.MariaDbJdbc
The connection timeout value, in milliseconds, or zero for no timeout.
connectTimeout(int) - Method in class de.chojo.sadu.mysql.jdbc.MySQLJdbc
The connection timeout value, in milliseconds, or zero for no timeout.
connectTimeout(int) - Method in class de.chojo.sadu.postgresql.jdbc.PostgreSqlJdbc
The connection timeout value, in milliseconds, or zero for no timeout.
create() - Method in class de.chojo.sadu.datasource.DataSourceCreator
 
create() - Method in interface de.chojo.sadu.datasource.stage.JdbcStage
Create a configuration with these properties.
create(Database<T, ?>) - Static method in class de.chojo.sadu.datasource.DataSourceCreator
Create a new DataSource creator.
createSchema(String) - Method in class de.chojo.sadu.postgresql.databases.PostgreSql
 
createVersionTableQuery(String) - Method in class de.chojo.sadu.sqlite.databases.SqLite
 
currentSchema(String) - Method in class de.chojo.sadu.postgresql.jdbc.PostgreSqlJdbc
Specify the schema or several schema to be set in the search-path.
currentSchema(String...) - Method in class de.chojo.sadu.postgresql.jdbc.PostgreSqlJdbc
Specify the schema or several schema to be set in the search-path.

D

database() - Method in record class de.chojo.sadu.datasource.configuration.SchemaDatabaseConfig
Returns the value of the database record component.
database() - Method in record class de.chojo.sadu.datasource.configuration.SimpleDatabaseConfig
Returns the value of the database record component.
DataSourceCreator<T extends de.chojo.sadu.core.jdbc.JdbcConfig<?>> - Class in de.chojo.sadu.datasource
Class to create a HikariDataSource with a builder pattern.
DATE - Static variable in interface de.chojo.sadu.mariadb.types.MariaDbTypes
Date
DATE - Static variable in interface de.chojo.sadu.mysql.types.MySqlTypes
Date
DATE - Static variable in interface de.chojo.sadu.postgresql.types.PostgreSqlTypes
Date
de.chojo.sadu.datasource - module de.chojo.sadu.datasource
 
de.chojo.sadu.datasource - package de.chojo.sadu.datasource
Implementation of a datasource creator
de.chojo.sadu.datasource.configuration - package de.chojo.sadu.datasource.configuration
 
de.chojo.sadu.datasource.exceptions - package de.chojo.sadu.datasource.exceptions
Exceptions that might be thrown when creating a datasource
de.chojo.sadu.datasource.stage - package de.chojo.sadu.datasource.stage
Contains the stages of a data source creator
de.chojo.sadu.mariadb - module de.chojo.sadu.mariadb
 
de.chojo.sadu.mariadb.databases - package de.chojo.sadu.mariadb.databases
 
de.chojo.sadu.mariadb.jdbc - package de.chojo.sadu.mariadb.jdbc
 
de.chojo.sadu.mariadb.mapper - package de.chojo.sadu.mariadb.mapper
 
de.chojo.sadu.mariadb.types - package de.chojo.sadu.mariadb.types
 
de.chojo.sadu.mysql - module de.chojo.sadu.mysql
 
de.chojo.sadu.mysql.databases - package de.chojo.sadu.mysql.databases
 
de.chojo.sadu.mysql.jdbc - package de.chojo.sadu.mysql.jdbc
 
de.chojo.sadu.mysql.mapper - package de.chojo.sadu.mysql.mapper
 
de.chojo.sadu.mysql.types - package de.chojo.sadu.mysql.types
 
de.chojo.sadu.postgresql - module de.chojo.sadu.postgresql
 
de.chojo.sadu.postgresql.databases - package de.chojo.sadu.postgresql.databases
 
de.chojo.sadu.postgresql.jdbc - package de.chojo.sadu.postgresql.jdbc
 
de.chojo.sadu.postgresql.mapper - package de.chojo.sadu.postgresql.mapper
 
de.chojo.sadu.postgresql.types - package de.chojo.sadu.postgresql.types
 
de.chojo.sadu.postgresql.updater - package de.chojo.sadu.postgresql.updater
 
de.chojo.sadu.sqlite - module de.chojo.sadu.sqlite
 
de.chojo.sadu.sqlite.databases - package de.chojo.sadu.sqlite.databases
 
de.chojo.sadu.sqlite.jdbc - package de.chojo.sadu.sqlite.jdbc
 
de.chojo.sadu.sqlite.mapper - package de.chojo.sadu.sqlite.mapper
 
de.chojo.sadu.sqlite.types - package de.chojo.sadu.sqlite.types
 
de.chojo.sadu.updater - module de.chojo.sadu.updater
 
de.chojo.sadu.updater - package de.chojo.sadu.updater
Holds the implementation for the sql updater
DECIMAL - Static variable in interface de.chojo.sadu.mariadb.types.MariaDbTypes
exact fixed point
DECIMAL - Static variable in interface de.chojo.sadu.mysql.types.MySqlTypes
exact fixed point
DECIMAL - Static variable in interface de.chojo.sadu.postgresql.types.PostgreSqlTypes
exact fixed point
defaultDriverClass() - Method in class de.chojo.sadu.mariadb.jdbc.MariaDbJdbc
 
defaultDriverClass() - Method in class de.chojo.sadu.mysql.jdbc.MySQLJdbc
 
defaultDriverClass() - Method in class de.chojo.sadu.postgresql.jdbc.PostgreSqlJdbc
 
defaultDriverClass() - Method in class de.chojo.sadu.sqlite.jdbc.SqLiteJdbc
 
DISABLE - Enum constant in enum class de.chojo.sadu.mariadb.jdbc.MariaDbJdbc.SslMode
Do not use SSL/TLS
DISABLE - Enum constant in enum class de.chojo.sadu.postgresql.jdbc.PostgreSqlJdbc.SslMode
No validation
DOUBLE - Static variable in interface de.chojo.sadu.mariadb.types.MariaDbTypes
double precision
DOUBLE - Static variable in interface de.chojo.sadu.mysql.types.MySqlTypes
double precision
DOUBLE - Static variable in interface de.chojo.sadu.postgresql.types.PostgreSqlTypes
double precision
DOUBLE_MAPPER - Static variable in class de.chojo.sadu.mariadb.mapper.MariaDbMapper
 
DOUBLE_MAPPER - Static variable in class de.chojo.sadu.mysql.mapper.MySqlMapper
 
DOUBLE_MAPPER - Static variable in class de.chojo.sadu.postgresql.mapper.PostgresqlMapper
 
DOUBLE_MAPPER - Static variable in class de.chojo.sadu.sqlite.mapper.SqLiteMapper
 
driver() - Method in class de.chojo.sadu.mariadb.jdbc.MariaDbJdbc
 
driver() - Method in class de.chojo.sadu.mysql.jdbc.MySQLJdbc
 
driver() - Method in class de.chojo.sadu.postgresql.jdbc.PostgreSqlJdbc
 
driver() - Method in class de.chojo.sadu.sqlite.jdbc.SqLiteJdbc
 
DriverClassNotFoundException - Exception in de.chojo.sadu.datasource.exceptions
Thrown when a driver class is not found.
DriverClassNotFoundException(String, ClassNotFoundException) - Constructor for exception de.chojo.sadu.datasource.exceptions.DriverClassNotFoundException
 
dumpQueriesOnException(boolean) - Method in class de.chojo.sadu.mariadb.jdbc.MariaDbJdbc
If set to 'true', an exception is thrown during query execution containing a query string.
dumpQueriesOnException(boolean) - Method in class de.chojo.sadu.postgresql.jdbc.PostgreSqlJdbc
If set to 'true', an exception is thrown during query execution containing a query string.

E

editHikariConfig(Consumer<HikariConfig>) - Method in class de.chojo.sadu.datasource.DataSourceCreator
 
editHikariConfig(Consumer<HikariConfig>) - Method in interface de.chojo.sadu.datasource.stage.ConfigurationStage
Allows the direct mutation of the HikariConfig, should be used for config options, that are not represented by a delegate.
enabledSslCipherSuites(String) - Method in class de.chojo.sadu.mariadb.jdbc.MariaDbJdbc
Force TLS/SSL cipher (comma separated list).
equals(Object) - Method in record class de.chojo.sadu.datasource.configuration.SchemaDatabaseConfig
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class de.chojo.sadu.datasource.configuration.SimpleDatabaseConfig
Indicates whether some other object is "equal to" this one.
execute() - Method in class de.chojo.sadu.postgresql.updater.PostgreSqlUpdaterBuilder
 
execute() - Method in class de.chojo.sadu.updater.BaseSqlUpdaterBuilder
Build the updater and start the update process.

F

FLOAT - Static variable in interface de.chojo.sadu.mariadb.types.MariaDbTypes
single precision
FLOAT - Static variable in interface de.chojo.sadu.mysql.types.MySqlTypes
single precision
FLOAT_MAPPER - Static variable in class de.chojo.sadu.mariadb.mapper.MariaDbMapper
 
FLOAT_MAPPER - Static variable in class de.chojo.sadu.mysql.mapper.MySqlMapper
 
FLOAT_MAPPER - Static variable in class de.chojo.sadu.postgresql.mapper.PostgresqlMapper
 
FLOAT_MAPPER - Static variable in class de.chojo.sadu.sqlite.mapper.SqLiteMapper
 
forceDatabaseConsistency() - Method in class de.chojo.sadu.postgresql.updater.PostgreSqlUpdater
 
forceDatabaseConsistency() - Method in class de.chojo.sadu.updater.SqlUpdater
 
forSchema(String) - Method in class de.chojo.sadu.datasource.DataSourceCreator
 
forSchema(String) - Method in interface de.chojo.sadu.datasource.stage.ConfigurationStage
Set the default schema name to be set on connections.

G

get() - Static method in class de.chojo.sadu.mariadb.databases.MariaDb
The MariaDb type.
get() - Static method in class de.chojo.sadu.mysql.databases.MySql
The MySQL type.
get() - Static method in class de.chojo.sadu.postgresql.databases.PostgreSql
The PostgreSQL type.
get() - Static method in class de.chojo.sadu.sqlite.databases.SqLite
The SqLite type.
getDefaultMapper() - Static method in class de.chojo.sadu.mariadb.mapper.MariaDbMapper
 
getDefaultMapper() - Static method in class de.chojo.sadu.mysql.mapper.MySqlMapper
 
getDefaultMapper() - Static method in class de.chojo.sadu.postgresql.mapper.PostgresqlMapper
 
getDefaultMapper() - Static method in class de.chojo.sadu.sqlite.mapper.SqLiteMapper
 

H

hashCode() - Method in record class de.chojo.sadu.datasource.configuration.SchemaDatabaseConfig
Returns a hash code value for this object.
hashCode() - Method in record class de.chojo.sadu.datasource.configuration.SimpleDatabaseConfig
Returns a hash code value for this object.
hasSchemas() - Method in class de.chojo.sadu.postgresql.databases.PostgreSql
 
host() - Method in record class de.chojo.sadu.datasource.configuration.SchemaDatabaseConfig
Returns the value of the host record component.
host() - Method in record class de.chojo.sadu.datasource.configuration.SimpleDatabaseConfig
Returns the value of the host record component.

I

init() - Method in class de.chojo.sadu.updater.SqlUpdater
 
INT - Static variable in interface de.chojo.sadu.mariadb.types.MariaDbTypes
-2,147,483,648 and 2,147,483,647
INT - Static variable in interface de.chojo.sadu.mysql.types.MySqlTypes
-2,147,483,648 and 2,147,483,647
INTEGER - Static variable in interface de.chojo.sadu.postgresql.types.PostgreSqlTypes
-2,147,483,648 and 2,147,483,647
INTEGER - Static variable in interface de.chojo.sadu.sqlite.types.SqLiteTypes
SqLite integer type.
INTEGER_MAPPER - Static variable in class de.chojo.sadu.mariadb.mapper.MariaDbMapper
 
INTEGER_MAPPER - Static variable in class de.chojo.sadu.mysql.mapper.MySqlMapper
 
INTEGER_MAPPER - Static variable in class de.chojo.sadu.postgresql.mapper.PostgresqlMapper
 
INTEGER_MAPPER - Static variable in class de.chojo.sadu.sqlite.mapper.SqLiteMapper
 

J

jdbcBuilder() - Method in class de.chojo.sadu.mariadb.databases.MariaDb
 
jdbcBuilder() - Method in class de.chojo.sadu.mysql.databases.MySql
 
jdbcBuilder() - Method in class de.chojo.sadu.postgresql.databases.PostgreSql
 
jdbcBuilder() - Method in class de.chojo.sadu.sqlite.databases.SqLite
 
JdbcStage<T> - Interface in de.chojo.sadu.datasource.stage
A stage which represents a property creator for a data source.
JSON - Static variable in interface de.chojo.sadu.postgresql.types.PostgreSqlTypes
JSON
JSONB - Static variable in interface de.chojo.sadu.postgresql.types.PostgreSqlTypes
JSONB

K

keyStore(String) - Method in class de.chojo.sadu.mariadb.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.sadu.mariadb.jdbc.MariaDbJdbc
Password for the client certificate keyStore (similar to java System property "javax.net.ssl.keyStorePassword").
keyStoreType(String) - Method in class de.chojo.sadu.mariadb.jdbc.MariaDbJdbc
Indicate key store type (JKS/PKCS12).

L

LockedConnectionDelegate - Class in de.chojo.sadu.updater
A locked connection that can not be used to commit and can not be closed or rolled back.
LockedConnectionDelegate(Connection) - Constructor for class de.chojo.sadu.updater.LockedConnectionDelegate
 
LONG_MAPPER - Static variable in class de.chojo.sadu.mariadb.mapper.MariaDbMapper
 
LONG_MAPPER - Static variable in class de.chojo.sadu.mysql.mapper.MySqlMapper
 
LONG_MAPPER - Static variable in class de.chojo.sadu.postgresql.mapper.PostgresqlMapper
 
LONG_MAPPER - Static variable in class de.chojo.sadu.sqlite.mapper.SqLiteMapper
 
LONGBLOB - Static variable in interface de.chojo.sadu.mariadb.types.MariaDbTypes
< 4,294,967,295
LONGBLOB - Static variable in interface de.chojo.sadu.mysql.types.MySqlTypes
< 4,294,967,295
LONGTEXT - Static variable in interface de.chojo.sadu.mariadb.types.MariaDbTypes
< 4,294,967,295 Bytes
LONGTEXT - Static variable in interface de.chojo.sadu.mysql.types.MySqlTypes
< 4,294,967,295 Bytes

M

mariadb() - Static method in class de.chojo.sadu.mariadb.databases.MariaDb
The MariaDb type.
MariaDb - Class in de.chojo.sadu.mariadb.databases
Represents a MariaDb database.
MariaDbJdbc - Class in de.chojo.sadu.mariadb.jdbc
A builder to create a MariaDB jdbc url.
MariaDbJdbc() - Constructor for class de.chojo.sadu.mariadb.jdbc.MariaDbJdbc
 
MariaDbJdbc.SslMode - Enum Class in de.chojo.sadu.mariadb.jdbc
Represents different SSL modes.
MariaDbMapper - Class in de.chojo.sadu.mariadb.mapper
 
MariaDbTypes - Interface in de.chojo.sadu.mariadb.types
Types present in a MariaDB database.
maxQuerySizeToLog(int) - Method in class de.chojo.sadu.mariadb.jdbc.MariaDbJdbc
Only the first characters corresponding to this options size will be displayed in logs Default: 1024.
MEDIUMBLOB - Static variable in interface de.chojo.sadu.mariadb.types.MariaDbTypes
< 16,777,215 Bytes
MEDIUMBLOB - Static variable in interface de.chojo.sadu.mysql.types.MySqlTypes
< 16,777,215 Bytes
MEDIUMINT - Static variable in interface de.chojo.sadu.mariadb.types.MariaDbTypes
-8,288,608 and 8,388,607
MEDIUMINT - Static variable in interface de.chojo.sadu.mysql.types.MySqlTypes
-8,288,608 and 8,388,607
MEDIUMTEXT - Static variable in interface de.chojo.sadu.mariadb.types.MariaDbTypes
< 16,777,215 Bytes
MEDIUMTEXT - Static variable in interface de.chojo.sadu.mysql.types.MySqlTypes
< 16,777,215 Bytes
memory() - Method in class de.chojo.sadu.sqlite.jdbc.SqLiteJdbc
Sets the database to in-memory mode.
mysql() - Static method in class de.chojo.sadu.mysql.databases.MySql
The MySQL type.
MySql - Class in de.chojo.sadu.mysql.databases
Represents a SqLite database.
MySQLJdbc - Class in de.chojo.sadu.mysql.jdbc
A builder to create a MySQL jdbc url.
MySQLJdbc() - Constructor for class de.chojo.sadu.mysql.jdbc.MySQLJdbc
 
MySqlMapper - Class in de.chojo.sadu.mysql.mapper
 
MySqlTypes - Interface in de.chojo.sadu.mysql.types
Types present in a MySQL database.

N

name() - Method in class de.chojo.sadu.mariadb.databases.MariaDb
 
name() - Method in class de.chojo.sadu.mysql.databases.MySql
 
name() - Method in class de.chojo.sadu.postgresql.databases.PostgreSql
 
name() - Method in class de.chojo.sadu.sqlite.databases.SqLite
 
newSqlUpdaterBuilder() - Method in class de.chojo.sadu.mariadb.databases.MariaDb
 
newSqlUpdaterBuilder() - Method in class de.chojo.sadu.mysql.databases.MySql
 
newSqlUpdaterBuilder() - Method in class de.chojo.sadu.postgresql.databases.PostgreSql
 
newSqlUpdaterBuilder() - Method in class de.chojo.sadu.sqlite.databases.SqLite
 
NUMERIC - Static variable in interface de.chojo.sadu.postgresql.types.PostgreSqlTypes
exact fixed point

P

password() - Method in record class de.chojo.sadu.datasource.configuration.SchemaDatabaseConfig
Returns the value of the password record component.
password() - Method in record class de.chojo.sadu.datasource.configuration.SimpleDatabaseConfig
Returns the value of the password record component.
path(File) - Method in class de.chojo.sadu.sqlite.jdbc.SqLiteJdbc
Set the path of the db file
path(String) - Method in class de.chojo.sadu.sqlite.jdbc.SqLiteJdbc
Set the path of the db file
path(Path) - Method in class de.chojo.sadu.sqlite.jdbc.SqLiteJdbc
Set the path of the db file
port() - Method in record class de.chojo.sadu.datasource.configuration.SchemaDatabaseConfig
Returns the value of the port record component.
port() - Method in record class de.chojo.sadu.datasource.configuration.SimpleDatabaseConfig
Returns the value of the port record component.
postgresql() - Static method in class de.chojo.sadu.postgresql.databases.PostgreSql
The PostgreSQL type.
PostgreSql - Class in de.chojo.sadu.postgresql.databases
Represents a PostgreSQL database.
PostgreSqlJdbc - Class in de.chojo.sadu.postgresql.jdbc
A builder to create a PostgreSQL jdbc url.
PostgreSqlJdbc() - Constructor for class de.chojo.sadu.postgresql.jdbc.PostgreSqlJdbc
 
PostgreSqlJdbc.SslMode - Enum Class in de.chojo.sadu.postgresql.jdbc
Represents different SSL modes.
PostgresqlMapper - Class in de.chojo.sadu.postgresql.mapper
 
PostgreSqlTypes - Interface in de.chojo.sadu.postgresql.types
Types present in a PostgreSQL database.
PostgreSqlUpdater - Class in de.chojo.sadu.postgresql.updater
 
PostgreSqlUpdater(DataSource, String, QueryReplacement[], SqlVersion, Database<PostgreSqlJdbc, PostgreSqlUpdaterBuilder>, String[], Map<SqlVersion, ThrowingConsumer<Connection, SQLException>>, Map<SqlVersion, ThrowingConsumer<Connection, SQLException>>, ClassLoader) - Constructor for class de.chojo.sadu.postgresql.updater.PostgreSqlUpdater
 
PostgreSqlUpdaterBuilder - Class in de.chojo.sadu.postgresql.updater
 
PostgreSqlUpdaterBuilder(Database<PostgreSqlJdbc, PostgreSqlUpdaterBuilder>) - Constructor for class de.chojo.sadu.postgresql.updater.PostgreSqlUpdaterBuilder
 
postUpdateHook - Variable in class de.chojo.sadu.updater.BaseSqlUpdaterBuilder
 
postUpdateHook(SqlVersion, ThrowingConsumer<Connection, SQLException>) - Method in class de.chojo.sadu.updater.BaseSqlUpdaterBuilder
 
PREFER - Enum constant in enum class de.chojo.sadu.postgresql.jdbc.PostgreSqlJdbc.SslMode
No validation
preUpdateHook - Variable in class de.chojo.sadu.updater.BaseSqlUpdaterBuilder
 
preUpdateHook(SqlVersion, ThrowingConsumer<Connection, SQLException>) - Method in class de.chojo.sadu.updater.BaseSqlUpdaterBuilder
 

Q

QueryReplacement - Class in de.chojo.sadu.updater
Represents a replacement inside a sql query.
QueryReplacement(String, String) - Constructor for class de.chojo.sadu.updater.QueryReplacement
Creates a new replacement

R

REAL - Static variable in interface de.chojo.sadu.postgresql.types.PostgreSqlTypes
exact fixed point
REAL - Static variable in interface de.chojo.sadu.sqlite.types.SqLiteTypes
SqLite real type
releaseSavepoint(Savepoint) - Method in class de.chojo.sadu.updater.LockedConnectionDelegate
 
replacements - Variable in class de.chojo.sadu.updater.BaseSqlUpdaterBuilder
 
REQUIRE - Enum constant in enum class de.chojo.sadu.postgresql.jdbc.PostgreSqlJdbc.SslMode
Only use SSL/TLS for encryption.
rollback() - Method in class de.chojo.sadu.updater.LockedConnectionDelegate
 
rollback(Savepoint) - Method in class de.chojo.sadu.updater.LockedConnectionDelegate
 

S

schema() - Method in record class de.chojo.sadu.datasource.configuration.SchemaDatabaseConfig
Returns the value of the schema record component.
SchemaDatabaseConfig - Record Class in de.chojo.sadu.datasource.configuration
Record which provides basic data for a database connection with a schema
SchemaDatabaseConfig(String, String, String, String, String, String) - Constructor for record class de.chojo.sadu.datasource.configuration.SchemaDatabaseConfig
Creates an instance of a SchemaDatabaseConfig record class.
schemaExists() - Method in class de.chojo.sadu.postgresql.databases.PostgreSql
 
self() - Method in class de.chojo.sadu.updater.BaseSqlUpdaterBuilder
Returns the instance with the correct type.
serverSslCert(String) - Method in class de.chojo.sadu.mariadb.jdbc.MariaDbJdbc
Permits providing server's certificate in DER form, or server's CA certificate.
setAutoCommit(boolean) - Method in class de.chojo.sadu.updater.LockedConnectionDelegate
 
setReplacements(QueryReplacement...) - Method in class de.chojo.sadu.updater.BaseSqlUpdaterBuilder
Replacements which should be applied to the executed scripts.
setSchemas(String...) - Method in class de.chojo.sadu.postgresql.updater.PostgreSqlUpdaterBuilder
Set the schemas which should be created if they do not exist.
setSource(DataSource) - Method in class de.chojo.sadu.updater.BaseSqlUpdaterBuilder
 
setVersion(SqlVersion) - Method in class de.chojo.sadu.updater.BaseSqlUpdaterBuilder
 
setVersionTable(String) - Method in class de.chojo.sadu.updater.BaseSqlUpdaterBuilder
The version table which contains major and patch version.
SHORT_MAPPER - Static variable in class de.chojo.sadu.mariadb.mapper.MariaDbMapper
 
SHORT_MAPPER - Static variable in class de.chojo.sadu.postgresql.mapper.PostgresqlMapper
 
SimpleDatabaseConfig - Record Class in de.chojo.sadu.datasource.configuration
Record which provides basic data for a database connection
SimpleDatabaseConfig(String, String, String, String, String) - Constructor for record class de.chojo.sadu.datasource.configuration.SimpleDatabaseConfig
Creates an instance of a SimpleDatabaseConfig record class.
SMALLINT - Static variable in interface de.chojo.sadu.mariadb.types.MariaDbTypes
-32,768 and 32,767
SMALLINT - Static variable in interface de.chojo.sadu.mysql.types.MySqlTypes
-32,768 and 32,767
SMALLINT - Static variable in interface de.chojo.sadu.postgresql.types.PostgreSqlTypes
-32,768 and 32,767
source - Variable in class de.chojo.sadu.updater.BaseSqlUpdaterBuilder
 
source() - Method in class de.chojo.sadu.updater.SqlUpdater
 
splitStatements(String) - Method in class de.chojo.sadu.mariadb.databases.MariaDb
 
splitStatements(String) - Method in class de.chojo.sadu.mysql.databases.MySql
 
splitStatements(String) - Method in class de.chojo.sadu.sqlite.databases.SqLite
 
sqlite() - Static method in class de.chojo.sadu.sqlite.databases.SqLite
The SqLite type.
SqLite - Class in de.chojo.sadu.sqlite.databases
Represents a SqLite database.
SqLiteJdbc - Class in de.chojo.sadu.sqlite.jdbc
A builder to create a SqLite jdbc url.
SqLiteJdbc() - Constructor for class de.chojo.sadu.sqlite.jdbc.SqLiteJdbc
Creates a new builder for a sqlite jdbc url.
SqLiteMapper - Class in de.chojo.sadu.sqlite.mapper
 
SqLiteTypes - Interface in de.chojo.sadu.sqlite.types
Types present in a SqLite database.
SqlUpdater<T extends de.chojo.sadu.core.jdbc.JdbcConfig<?>,U extends BaseSqlUpdaterBuilder<T,?>> - Class in de.chojo.sadu.updater
An SQL updater which performs database updates via upgrade scripts.
SqlUpdater(DataSource, String, QueryReplacement[], SqlVersion, Database<T, U>, Map<SqlVersion, ThrowingConsumer<Connection, SQLException>>, Map<SqlVersion, ThrowingConsumer<Connection, SQLException>>, ClassLoader) - Constructor for class de.chojo.sadu.updater.SqlUpdater
 
ssl(boolean) - Method in class de.chojo.sadu.postgresql.jdbc.PostgreSqlJdbc
Connect using SSL.
sslcert(String) - Method in class de.chojo.sadu.postgresql.jdbc.PostgreSqlJdbc
Provide the full path for the certificate file.
sslFactory(String) - Method in class de.chojo.sadu.postgresql.jdbc.PostgreSqlJdbc
The provided value is a class name to use as the SSLSocketFactory when establishing a SSL connection.
sslhostnameverifier(String) - Method in class de.chojo.sadu.postgresql.jdbc.PostgreSqlJdbc
Class name of hostname verifier.
sslkey(String) - Method in class de.chojo.sadu.postgresql.jdbc.PostgreSqlJdbc
Provide the full path for the key file.
sslMode(MariaDbJdbc.SslMode) - Method in class de.chojo.sadu.mariadb.jdbc.MariaDbJdbc
Enables SSL/TLS in a specific mode.
sslMode(PostgreSqlJdbc.SslMode) - Method in class de.chojo.sadu.postgresql.jdbc.PostgreSqlJdbc
Enables SSL/TLS in a specific mode.
sslpassword(int) - Method in class de.chojo.sadu.postgresql.jdbc.PostgreSqlJdbc
If provided will be used by ConsoleCallbackHandler
sslpasswordcallback(String) - Method in class de.chojo.sadu.postgresql.jdbc.PostgreSqlJdbc
Class name of the SSL password provider.
sslrootcert(String) - Method in class de.chojo.sadu.postgresql.jdbc.PostgreSqlJdbc
File name of the SSL root certificate.
STRING_MAPPER - Static variable in class de.chojo.sadu.mariadb.mapper.MariaDbMapper
 
STRING_MAPPER - Static variable in class de.chojo.sadu.mysql.mapper.MySqlMapper
 
STRING_MAPPER - Static variable in class de.chojo.sadu.postgresql.mapper.PostgresqlMapper
 
STRING_MAPPER - Static variable in class de.chojo.sadu.sqlite.mapper.SqLiteMapper
 

T

TEXT - Static variable in interface de.chojo.sadu.mariadb.types.MariaDbTypes
< 65,353 Bytes
TEXT - Static variable in interface de.chojo.sadu.mysql.types.MySqlTypes
< 65,353 Bytes
TEXT - Static variable in interface de.chojo.sadu.postgresql.types.PostgreSqlTypes
A text with "unlimited" length
TEXT - Static variable in interface de.chojo.sadu.sqlite.types.SqLiteTypes
SqLite Text type
TIME - Static variable in interface de.chojo.sadu.mariadb.types.MariaDbTypes
Time
TIME - Static variable in interface de.chojo.sadu.mysql.types.MySqlTypes
Time
TIME - Static variable in interface de.chojo.sadu.postgresql.types.PostgreSqlTypes
Time
TIMESTAMP - Static variable in interface de.chojo.sadu.mariadb.types.MariaDbTypes
Timestamp
TIMESTAMP - Static variable in interface de.chojo.sadu.mysql.types.MySqlTypes
Timestamp
TIMESTAMP - Static variable in interface de.chojo.sadu.postgresql.types.PostgreSqlTypes
Timestamp without timezone
TIMESTAMPTZ - Static variable in interface de.chojo.sadu.postgresql.types.PostgreSqlTypes
Timestamp with timezone
TINYBLOB - Static variable in interface de.chojo.sadu.mariadb.types.MariaDbTypes
< 255 Bytes
TINYBLOB - Static variable in interface de.chojo.sadu.mysql.types.MySqlTypes
< 255 Bytes
TINYINT - Static variable in interface de.chojo.sadu.mariadb.types.MariaDbTypes
-128 and 127
TINYINT - Static variable in interface de.chojo.sadu.mysql.types.MySqlTypes
-128 and 127
TINYTEXT - Static variable in interface de.chojo.sadu.mariadb.types.MariaDbTypes
< 255 Bytes
TINYTEXT - Static variable in interface de.chojo.sadu.mysql.types.MySqlTypes
< 255 Bytes
toString() - Method in record class de.chojo.sadu.datasource.configuration.SchemaDatabaseConfig
Returns a string representation of this record class.
toString() - Method in record class de.chojo.sadu.datasource.configuration.SimpleDatabaseConfig
Returns a string representation of this record class.
toString() - Method in enum class de.chojo.sadu.mariadb.jdbc.MariaDbJdbc.SslMode
 
toString() - Method in enum class de.chojo.sadu.postgresql.jdbc.PostgreSqlJdbc.SslMode
 
TRUST - Enum constant in enum class de.chojo.sadu.mariadb.jdbc.MariaDbJdbc.SslMode
Only use SSL/TLS for encryption.
type - Variable in class de.chojo.sadu.updater.BaseSqlUpdaterBuilder
 
type() - Method in class de.chojo.sadu.updater.SqlUpdater
 

U

UpdateException - Exception in de.chojo.sadu.updater
Represents an exception thrown while the database got updated.
UpdateException(String) - Constructor for exception de.chojo.sadu.updater.UpdateException
A new update exception
UpdateException(String, Throwable) - Constructor for exception de.chojo.sadu.updater.UpdateException
/** A new update exception
user() - Method in record class de.chojo.sadu.datasource.configuration.SchemaDatabaseConfig
Returns the value of the user record component.
user() - Method in record class de.chojo.sadu.datasource.configuration.SimpleDatabaseConfig
Returns the value of the user record component.
userCredentials() - Method in class de.chojo.sadu.mariadb.jdbc.MariaDbJdbc
 
useServerPrepStmts() - Method in class de.chojo.sadu.mariadb.jdbc.MariaDbJdbc
PrepareStatement are prepared on the server side before executing.
usingPassword(String) - Method in class de.chojo.sadu.datasource.DataSourceCreator
 
usingPassword(String) - Method in interface de.chojo.sadu.datasource.stage.ConfigurationStage
Set the default password to use for DataSource.getConnection(username, password) calls.
usingUsername(String) - Method in class de.chojo.sadu.datasource.DataSourceCreator
 
usingUsername(String) - Method in interface de.chojo.sadu.datasource.stage.ConfigurationStage
Set the default username used for DataSource.getConnection(username, password) calls.
UUID_MAPPER - Static variable in class de.chojo.sadu.mariadb.mapper.MariaDbMapper
 
UUID_MAPPER - Static variable in class de.chojo.sadu.mysql.mapper.MySqlMapper
 
UUID_MAPPER - Static variable in class de.chojo.sadu.postgresql.mapper.PostgresqlMapper
 
UUID_MAPPER - Static variable in class de.chojo.sadu.sqlite.mapper.SqLiteMapper
 

V

valueOf(String) - Static method in enum class de.chojo.sadu.mariadb.jdbc.MariaDbJdbc.SslMode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class de.chojo.sadu.postgresql.jdbc.PostgreSqlJdbc.SslMode
Returns the enum constant of this class with the specified name.
values() - Static method in enum class de.chojo.sadu.mariadb.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.sadu.postgresql.jdbc.PostgreSqlJdbc.SslMode
Returns an array containing the constants of this enum class, in the order they are declared.
VARBINARY - Static variable in interface de.chojo.sadu.mariadb.types.MariaDbTypes
< 65,353 Bytes
VARBINARY - Static variable in interface de.chojo.sadu.mysql.types.MySqlTypes
< 65,353 Bytes
VARCHAR - Static variable in interface de.chojo.sadu.mariadb.types.MariaDbTypes
< 65,353 Bytes
VARCHAR - Static variable in interface de.chojo.sadu.mysql.types.MySqlTypes
< 65,353 Bytes
VARCHAR - Static variable in interface de.chojo.sadu.postgresql.types.PostgreSqlTypes
A text with "unlimited" length
VERIFY_CA - Enum constant in enum class de.chojo.sadu.mariadb.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.sadu.postgresql.jdbc.PostgreSqlJdbc.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.sadu.mariadb.jdbc.MariaDbJdbc.SslMode
Use SSL/TLS for encryption, certificate verification, and hostname verification.
VERIFY_FULL - Enum constant in enum class de.chojo.sadu.postgresql.jdbc.PostgreSqlJdbc.SslMode
Use SSL/TLS for encryption, certificate verification, and hostname verification.
version - Variable in class de.chojo.sadu.updater.BaseSqlUpdaterBuilder
 
versionTable - Variable in class de.chojo.sadu.updater.BaseSqlUpdaterBuilder
 

W

withAutoCommit(boolean) - Method in class de.chojo.sadu.datasource.DataSourceCreator
 
withAutoCommit(boolean) - Method in interface de.chojo.sadu.datasource.stage.ConfigurationStage
Set the default auto-commit behavior of connections in the pool.
withClassLoader(ClassLoader) - Method in class de.chojo.sadu.updater.BaseSqlUpdaterBuilder
 
withConfig(DatabaseConfig) - Method in class de.chojo.sadu.postgresql.jdbc.PostgreSqlJdbc
 
withConnectionTimeout(long) - Method in class de.chojo.sadu.datasource.DataSourceCreator
 
withConnectionTimeout(long) - Method in interface de.chojo.sadu.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.sadu.datasource.DataSourceCreator
 
withDataSourceClassName(Class<? extends DataSource>) - Method in interface de.chojo.sadu.datasource.stage.ConfigurationStage
Set the fully qualified class name of the JDBC DataSource that will be used create Connections.
withHikariConfig(HikariConfig) - Method in class de.chojo.sadu.datasource.DataSourceCreator
 
withHikariConfig(HikariConfig) - Method in interface de.chojo.sadu.datasource.stage.ConfigurationStage
Allows to override the currently set hikari config.
withIdleTimeout(long) - Method in class de.chojo.sadu.datasource.DataSourceCreator
 
withIdleTimeout(long) - Method in interface de.chojo.sadu.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.sadu.datasource.DataSourceCreator
 
withKeepaliveTime(long) - Method in interface de.chojo.sadu.datasource.stage.ConfigurationStage
This property controls the keepalive interval for a connection in the pool.
withMaximumPoolSize(int) - Method in class de.chojo.sadu.datasource.DataSourceCreator
 
withMaximumPoolSize(int) - Method in interface de.chojo.sadu.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.sadu.datasource.DataSourceCreator
 
withMaxLifetime(long) - Method in interface de.chojo.sadu.datasource.stage.ConfigurationStage
This property controls the maximum lifetime of a connection in the pool.
withMinimumIdle(int) - Method in class de.chojo.sadu.datasource.DataSourceCreator
 
withMinimumIdle(int) - Method in interface de.chojo.sadu.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.sadu.datasource.DataSourceCreator
 
withPoolName(String) - Method in interface de.chojo.sadu.datasource.stage.ConfigurationStage
Set the name of the connection pool.
withScheduledExecutor(ScheduledExecutorService) - Method in class de.chojo.sadu.datasource.DataSourceCreator
 
withScheduledExecutor(ScheduledExecutorService) - Method in interface de.chojo.sadu.datasource.stage.ConfigurationStage
Set the ScheduledExecutorService used for housekeeping.
withThreadFactory(ThreadFactory) - Method in class de.chojo.sadu.datasource.DataSourceCreator
 
withThreadFactory(ThreadFactory) - Method in interface de.chojo.sadu.datasource.stage.ConfigurationStage
Set the thread factory to be used to create threads.
A B C D E F G H I J K L M N P Q R S T U V W 
All Classes and Interfaces|All Packages|Serialized Form