Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- abort(Executor) - Method in class de.chojo.sadu.core.connection.ConnectionDelegate
- abort(Executor) - Method in class de.chojo.sadu.updater.LockedConnectionDelegate
- accept(T) - Method in interface de.chojo.sadu.core.exceptions.ThrowingConsumer
-
Performs this operation on the given argument.
- accept(T, U) - Method in interface de.chojo.sadu.core.exceptions.ThrowingBiConsumer
-
Performs this operation on the given argument.
- ActiveQueryConfiguration - Interface in de.chojo.sadu.queries.api.configuration
- ActiveQueryConfigurationImpl - Class in de.chojo.sadu.queries.configuration
- ActiveQueryConfigurationImpl(DataSource, boolean, boolean, Consumer<SQLException>, RowMapperRegistry, QueryContext) - Constructor for class de.chojo.sadu.queries.configuration.ActiveQueryConfigurationImpl
- Adapter<T> - Interface in de.chojo.sadu.queries.api.call.adapter
-
The Adapter interface provides a way to map Java objects to a specific SQL data type and perform the necessary conversions when binding the objects to a PreparedStatement.
- AdapterMapping<T> - Interface in de.chojo.sadu.queries.api.call.adapter
-
The AdapterMapping interface represents a functional interface used to map Java objects to a specific SQL data type and perform the necessary conversions when binding the objects to a PreparedStatement.
- add(Call) - Method in class de.chojo.sadu.queries.calls.BatchCall
-
Adds a
CallImpl
object to the list of calls. - addAlias(String, String) - Method in class de.chojo.sadu.mapper.MapperConfig
-
Adds an alias for a column.
- addColumn(String) - Method in class de.chojo.sadu.mapper.rowmapper.RowMapperBuilder
-
Adds a column to the row mapper
- addColumns(String...) - Method in class de.chojo.sadu.mapper.rowmapper.RowMapperBuilder
-
Adds columns to the row mapper.
- addParameter(String, V) - Method in class de.chojo.sadu.core.jdbc.JdbcConfig
-
Add a new parameter to the url
- 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 interface de.chojo.sadu.core.databases.Database
-
Get the alias for the database name.
- alias() - Method in interface de.chojo.sadu.core.types.SqlType
-
Alias for a type.
- alias() - Method in class de.chojo.sadu.postgresql.databases.PostgreSql
- aliases() - Method in class de.chojo.sadu.mapper.MapperConfig
- all() - Method in interface de.chojo.sadu.queries.api.execution.reading.Reader
-
Retrieves all elements from the Reader.
- all() - Method in class de.chojo.sadu.queries.execution.reading.ReaderImpl
- all() - Static method in class de.chojo.sadu.testing.DatabaseVersionChecks
-
Checks if the version exists, is not blank, and the format is correct.
- 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
- allResults() - Method in interface de.chojo.sadu.queries.api.execution.reading.Reader
-
Retrieves all the results of the query.
- allResults() - Method in class de.chojo.sadu.queries.execution.reading.ReaderImpl
- AppendedQuery - Interface in de.chojo.sadu.queries.api.query
- AppendedQueryImpl - Class in de.chojo.sadu.queries.query
- AppendedQueryImpl(QueryProvider) - Constructor for class de.chojo.sadu.queries.query.AppendedQueryImpl
- applicable(ResultSet) - Method in class de.chojo.sadu.mapper.rowmapper.RowMapper
-
Checks how many rows of the result set are applicable.
- applicable(ResultSetMetaData) - Method in class de.chojo.sadu.mapper.rowmapper.RowMapper
-
Checks how many rows of the result set are applicable.
- applicable(ResultSetMetaData, MapperConfig) - Method in class de.chojo.sadu.mapper.rowmapper.RowMapper
-
Checks how many rows of the result set are applicable.
- applicable(ResultSet, MapperConfig) - Method in class de.chojo.sadu.mapper.rowmapper.RowMapper
-
Checks how many rows of the result set are applicable.
- applicationName(String) - Method in class de.chojo.sadu.postgresql.jdbc.PostgreSqlJdbc
-
Specifies the name of the application that is using the connection.
- apply(TokenizedQuery, PreparedStatement) - Method in interface de.chojo.sadu.queries.api.parameter.BaseParameter
- apply(TokenizedQuery, PreparedStatement) - Method in class de.chojo.sadu.queries.call.CallImpl
- apply(TokenizedQuery, PreparedStatement) - Method in class de.chojo.sadu.queries.parameter.IndexParameter
- apply(TokenizedQuery, PreparedStatement) - Method in class de.chojo.sadu.queries.parameter.TokenParameter
- apply(String) - Method in class de.chojo.sadu.updater.QueryReplacement
-
Applies the replacement on the input query
- apply(PreparedStatement, int, T) - Method in interface de.chojo.sadu.queries.api.call.adapter.Adapter
-
Applies the given object to a PreparedStatement at the specified index using the provided mapping.
- apply(PreparedStatement, int, T) - Method in interface de.chojo.sadu.queries.api.call.adapter.AdapterMapping
-
Applies the given value to a PreparedStatement at the specified index using the provided mapping.
- apply(T) - Method in interface de.chojo.sadu.core.exceptions.ThrowingFunction
-
A function which maps a value to another value and can throw an exception
- apply(T, U) - Method in interface de.chojo.sadu.core.exceptions.ThrowingBiFunction
-
A function which maps a value to another value and can throw an exception
- ArrayConverter - Class in de.chojo.sadu.core.conversion
-
Class to convert sql arrays to java arrays or collections and vice versa.
- AS_BYTES - Static variable in class de.chojo.sadu.queries.call.adapter.UUIDAdapter
-
Represents an Adapter for converting a UUID object to bytes and binding it to a PreparedStatement.
- AS_STRING - Static variable in class de.chojo.sadu.queries.call.adapter.UUIDAdapter
-
Represents an Adapter for converting a UUID object to a String and binding it to a PreparedStatement.
- asBatchCall() - Method in interface de.chojo.sadu.queries.api.call.Call
- asBatchCall() - Method in class de.chojo.sadu.queries.call.CallImpl
-
Converts the current Call object into a BatchCall object.
- assertDatabase(Database<?, ?>...) - Static method in class de.chojo.sadu.testing.DatabaseChecks
-
Asserts the existence of the specified databases.
- assertDatabase(String) - Static method in class de.chojo.sadu.testing.DatabaseChecks
-
Asserts the existence of the specified database.
- assertDatabase(String...) - Static method in class de.chojo.sadu.testing.DatabaseChecks
-
Asserts the existence of the specified databases.
- assertFormat() - Static method in class de.chojo.sadu.testing.DatabaseVersionChecks
-
Asserts that the format of a resource content matches the expected format.
- assertFormat(String) - Static method in class de.chojo.sadu.testing.DatabaseVersionChecks
-
Asserts that the given version string follows the expected format
<major>.<patch>
. - assertQueryResult(Object) - Static method in class de.chojo.sadu.queries.exception.Check
- assertResource(String) - Static method in class de.chojo.sadu.testing.ResourceChecks
-
Asserts that a resource file exists at the specified path.
- assertResource(String, String) - Static method in class de.chojo.sadu.testing.ResourceChecks
-
Asserts the existence of a resource at the specified path.
- assertVersionExists() - Static method in class de.chojo.sadu.testing.DatabaseVersionChecks
-
Checks if the version file exists in the "database" directory.
- assertVersionNotBlank() - Static method in class de.chojo.sadu.testing.DatabaseVersionChecks
-
Asserts that the version in the specified file is not blank.
- asSingleCall() - Method in interface de.chojo.sadu.queries.api.call.Call
- asSingleCall() - Method in class de.chojo.sadu.queries.call.CallImpl
-
Returns a SingletonCall object for the current Call instance.
- atomic - Variable in class de.chojo.sadu.queries.configuration.QueryConfigurationImpl
- atomic() - Method in interface de.chojo.sadu.queries.api.configuration.QueryConfiguration
-
Retrieves the value of the atomic flag.
- atomic() - Method in class de.chojo.sadu.queries.configuration.ConnectedQueryQueryConfigurationDelegate
- atomic() - Method in interface de.chojo.sadu.queries.configuration.QueryConfiguration
-
Deprecated.Retrieves the value of the atomic flag.
- atomic() - Method in class de.chojo.sadu.queries.configuration.QueryConfigurationImpl
- AutoMappedQuery<V> - Class in de.chojo.sadu.queries.execution.reading
-
Class that represents a query that will be mapped via a
RowMapperRegistry
- AutoMappedQuery(CalledSingletonQueryImpl, Class<V>, MapperConfig) - Constructor for class de.chojo.sadu.queries.execution.reading.AutoMappedQuery
B
- BaseParameter - Interface in de.chojo.sadu.queries.api.parameter
- BaseResult - Interface in de.chojo.sadu.queries.api.results
-
The BaseResult interface represents the result of an operation.
- BaseSqlUpdaterBuilder<T extends 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.core.jdbc.JdbcConfig
-
Returns the base url without parameter
- baseUrl() - Method in class de.chojo.sadu.core.jdbc.RemoteJdbcConfig
- baseUrl() - Method in class de.chojo.sadu.sqlite.jdbc.SqLiteJdbc
- batch(Call...) - Method in interface de.chojo.sadu.queries.api.query.ParsedQuery
-
Define a batch call for your query.
- batch(BatchCall) - Method in interface de.chojo.sadu.queries.api.query.ParsedQuery
-
Define a batch call for your query.
- batch(BatchCall) - Method in class de.chojo.sadu.queries.query.ParsedQueryImpl
- batch(CallSupplier<BatchCall>) - Method in interface de.chojo.sadu.queries.api.query.ParsedQuery
-
Define a batch call for your query.
- batch(CallSupplier<BatchCall>) - Method in class de.chojo.sadu.queries.query.ParsedQueryImpl
- batch(List<Call>) - Method in interface de.chojo.sadu.queries.api.query.ParsedQuery
-
Define a batch call for your query.
- batch(Stream<Call>) - Method in interface de.chojo.sadu.queries.api.query.ParsedQuery
-
Define a batch call for your query.
- BatchCall - Class in de.chojo.sadu.queries.calls
-
The BatchCall class represents a collection of calls on the same query.
- BatchCall() - Constructor for class de.chojo.sadu.queries.calls.BatchCall
-
The BatchCall class represents a collection of calls on the same query.
- BatchCall(Call) - Constructor for class de.chojo.sadu.queries.calls.BatchCall
-
Constructs a new instance of BatchCall and adds a single Call to it.
- BatchCall(List<Call>) - Constructor for class de.chojo.sadu.queries.calls.BatchCall
-
Represents a batch call, which is a collection of individual query calls.
- BIG_DECIMAL - Static variable in class de.chojo.sadu.queries.call.adapter.StandardAdapter
- 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
- bind(byte[]) - Method in interface de.chojo.sadu.queries.api.call.Call
- bind(byte[]) - Method in class de.chojo.sadu.queries.call.CallImpl
- bind(Boolean) - Method in interface de.chojo.sadu.queries.api.call.Call
- bind(Boolean) - Method in class de.chojo.sadu.queries.call.CallImpl
- bind(Byte) - Method in interface de.chojo.sadu.queries.api.call.Call
- bind(Byte) - Method in class de.chojo.sadu.queries.call.CallImpl
- bind(Double) - Method in interface de.chojo.sadu.queries.api.call.Call
- bind(Double) - Method in class de.chojo.sadu.queries.call.CallImpl
- bind(Enum<?>) - Method in interface de.chojo.sadu.queries.api.call.Call
- bind(Enum<?>) - Method in class de.chojo.sadu.queries.call.CallImpl
- bind(Float) - Method in interface de.chojo.sadu.queries.api.call.Call
- bind(Float) - Method in class de.chojo.sadu.queries.call.CallImpl
- bind(Integer) - Method in interface de.chojo.sadu.queries.api.call.Call
- bind(Integer) - Method in class de.chojo.sadu.queries.call.CallImpl
- bind(Long) - Method in interface de.chojo.sadu.queries.api.call.Call
- bind(Long) - Method in class de.chojo.sadu.queries.call.CallImpl
- bind(Object[], SqlType) - Method in interface de.chojo.sadu.queries.api.call.Call
- bind(Object[], SqlType) - Method in class de.chojo.sadu.queries.call.CallImpl
- bind(Short) - Method in interface de.chojo.sadu.queries.api.call.Call
- bind(Short) - Method in class de.chojo.sadu.queries.call.CallImpl
- bind(String) - Method in interface de.chojo.sadu.queries.api.call.Call
- bind(String) - Method in class de.chojo.sadu.queries.call.CallImpl
- bind(String, byte[]) - Method in interface de.chojo.sadu.queries.api.call.Call
- bind(String, byte[]) - Method in class de.chojo.sadu.queries.call.CallImpl
- bind(String, Boolean) - Method in interface de.chojo.sadu.queries.api.call.Call
- bind(String, Boolean) - Method in class de.chojo.sadu.queries.call.CallImpl
- bind(String, Byte) - Method in interface de.chojo.sadu.queries.api.call.Call
- bind(String, Byte) - Method in class de.chojo.sadu.queries.call.CallImpl
- bind(String, Double) - Method in interface de.chojo.sadu.queries.api.call.Call
- bind(String, Double) - Method in class de.chojo.sadu.queries.call.CallImpl
- bind(String, Enum<?>) - Method in interface de.chojo.sadu.queries.api.call.Call
- bind(String, Enum<?>) - Method in class de.chojo.sadu.queries.call.CallImpl
- bind(String, Float) - Method in interface de.chojo.sadu.queries.api.call.Call
- bind(String, Float) - Method in class de.chojo.sadu.queries.call.CallImpl
- bind(String, Integer) - Method in interface de.chojo.sadu.queries.api.call.Call
- bind(String, Integer) - Method in class de.chojo.sadu.queries.call.CallImpl
- bind(String, Long) - Method in interface de.chojo.sadu.queries.api.call.Call
- bind(String, Long) - Method in class de.chojo.sadu.queries.call.CallImpl
- bind(String, Object[], SqlType) - Method in interface de.chojo.sadu.queries.api.call.Call
- bind(String, Object[], SqlType) - Method in class de.chojo.sadu.queries.call.CallImpl
- bind(String, Short) - Method in interface de.chojo.sadu.queries.api.call.Call
- bind(String, Short) - Method in class de.chojo.sadu.queries.call.CallImpl
- bind(String, String) - Method in interface de.chojo.sadu.queries.api.call.Call
- bind(String, String) - Method in class de.chojo.sadu.queries.call.CallImpl
- bind(String, BigDecimal) - Method in interface de.chojo.sadu.queries.api.call.Call
- bind(String, BigDecimal) - Method in class de.chojo.sadu.queries.call.CallImpl
- bind(String, URL) - Method in interface de.chojo.sadu.queries.api.call.Call
- bind(String, URL) - Method in class de.chojo.sadu.queries.call.CallImpl
- bind(String, Blob) - Method in interface de.chojo.sadu.queries.api.call.Call
- bind(String, Blob) - Method in class de.chojo.sadu.queries.call.CallImpl
- bind(String, Clob) - Method in interface de.chojo.sadu.queries.api.call.Call
- bind(String, Clob) - Method in class de.chojo.sadu.queries.call.CallImpl
- bind(String, Date) - Method in interface de.chojo.sadu.queries.api.call.Call
- bind(String, Date) - Method in class de.chojo.sadu.queries.call.CallImpl
- bind(String, Ref) - Method in interface de.chojo.sadu.queries.api.call.Call
- bind(String, Ref) - Method in class de.chojo.sadu.queries.call.CallImpl
- bind(String, RowId) - Method in interface de.chojo.sadu.queries.api.call.Call
- bind(String, RowId) - Method in class de.chojo.sadu.queries.call.CallImpl
- bind(String, Time) - Method in interface de.chojo.sadu.queries.api.call.Call
- bind(String, Time) - Method in class de.chojo.sadu.queries.call.CallImpl
- bind(String, Timestamp) - Method in interface de.chojo.sadu.queries.api.call.Call
- bind(String, Timestamp) - Method in class de.chojo.sadu.queries.call.CallImpl
- bind(String, LocalDate) - Method in interface de.chojo.sadu.queries.api.call.Call
- bind(String, LocalDate) - Method in class de.chojo.sadu.queries.call.CallImpl
- bind(String, LocalDateTime) - Method in interface de.chojo.sadu.queries.api.call.Call
- bind(String, LocalDateTime) - Method in class de.chojo.sadu.queries.call.CallImpl
- bind(String, LocalTime) - Method in interface de.chojo.sadu.queries.api.call.Call
- bind(String, LocalTime) - Method in class de.chojo.sadu.queries.call.CallImpl
- bind(String, OffsetDateTime) - Method in interface de.chojo.sadu.queries.api.call.Call
- bind(String, OffsetDateTime) - Method in class de.chojo.sadu.queries.call.CallImpl
- bind(String, OffsetTime) - Method in interface de.chojo.sadu.queries.api.call.Call
- bind(String, OffsetTime) - Method in class de.chojo.sadu.queries.call.CallImpl
- bind(String, ZonedDateTime) - Method in interface de.chojo.sadu.queries.api.call.Call
- bind(String, ZonedDateTime) - Method in class de.chojo.sadu.queries.call.CallImpl
- bind(String, Collection<?>, SqlType) - Method in interface de.chojo.sadu.queries.api.call.Call
- bind(String, Collection<?>, SqlType) - Method in class de.chojo.sadu.queries.call.CallImpl
- bind(String, T, Adapter<T>) - Method in interface de.chojo.sadu.queries.api.call.Call
- bind(String, T, Adapter<T>) - Method in class de.chojo.sadu.queries.call.CallImpl
- bind(BigDecimal) - Method in interface de.chojo.sadu.queries.api.call.Call
- bind(BigDecimal) - Method in class de.chojo.sadu.queries.call.CallImpl
- bind(URL) - Method in interface de.chojo.sadu.queries.api.call.Call
- bind(URL) - Method in class de.chojo.sadu.queries.call.CallImpl
- bind(Blob) - Method in interface de.chojo.sadu.queries.api.call.Call
- bind(Blob) - Method in class de.chojo.sadu.queries.call.CallImpl
- bind(Clob) - Method in interface de.chojo.sadu.queries.api.call.Call
- bind(Clob) - Method in class de.chojo.sadu.queries.call.CallImpl
- bind(Date) - Method in interface de.chojo.sadu.queries.api.call.Call
- bind(Date) - Method in class de.chojo.sadu.queries.call.CallImpl
- bind(Ref) - Method in interface de.chojo.sadu.queries.api.call.Call
- bind(Ref) - Method in class de.chojo.sadu.queries.call.CallImpl
- bind(RowId) - Method in interface de.chojo.sadu.queries.api.call.Call
- bind(RowId) - Method in class de.chojo.sadu.queries.call.CallImpl
- bind(Time) - Method in interface de.chojo.sadu.queries.api.call.Call
- bind(Time) - Method in class de.chojo.sadu.queries.call.CallImpl
- bind(Timestamp) - Method in interface de.chojo.sadu.queries.api.call.Call
- bind(Timestamp) - Method in class de.chojo.sadu.queries.call.CallImpl
- bind(LocalDate) - Method in interface de.chojo.sadu.queries.api.call.Call
- bind(LocalDate) - Method in class de.chojo.sadu.queries.call.CallImpl
- bind(LocalDateTime) - Method in interface de.chojo.sadu.queries.api.call.Call
- bind(LocalDateTime) - Method in class de.chojo.sadu.queries.call.CallImpl
- bind(LocalTime) - Method in interface de.chojo.sadu.queries.api.call.Call
- bind(LocalTime) - Method in class de.chojo.sadu.queries.call.CallImpl
- bind(OffsetDateTime) - Method in interface de.chojo.sadu.queries.api.call.Call
- bind(OffsetDateTime) - Method in class de.chojo.sadu.queries.call.CallImpl
- bind(OffsetTime) - Method in interface de.chojo.sadu.queries.api.call.Call
- bind(OffsetTime) - Method in class de.chojo.sadu.queries.call.CallImpl
- bind(ZonedDateTime) - Method in interface de.chojo.sadu.queries.api.call.Call
- bind(ZonedDateTime) - Method in class de.chojo.sadu.queries.call.CallImpl
- bind(Collection<?>, SqlType) - Method in interface de.chojo.sadu.queries.api.call.Call
- bind(Collection<?>, SqlType) - Method in class de.chojo.sadu.queries.call.CallImpl
- bind(T, Adapter<T>) - Method in interface de.chojo.sadu.queries.api.call.Call
- bind(T, Adapter<T>) - Method in class de.chojo.sadu.queries.call.CallImpl
- 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 class de.chojo.sadu.queries.call.adapter.StandardAdapter
- 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 class de.chojo.sadu.queries.call.adapter.StandardAdapter
- 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
- build() - Method in class de.chojo.sadu.mapper.rowmapper.RowMapperBuilder
-
Build the row mapper.
- build() - Method in class de.chojo.sadu.queries.configuration.QueryConfigurationBuilder
-
Returns a new
QueryConfigurationImpl
object based on the current configuration settings. - builder(DataSource) - Static method in interface de.chojo.sadu.queries.api.configuration.QueryConfiguration
-
Creates a new QueryConfigurationBuilder instance with the given DataSource.
- builder(DataSource) - Static method in interface de.chojo.sadu.queries.configuration.QueryConfiguration
-
Deprecated.Creates a new QueryConfigurationBuilder instance with the given DataSource.
- 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 inresources/database/version
. - BYTE - Static variable in class de.chojo.sadu.queries.call.adapter.StandardAdapter
- BYTE_ARRAY - Static variable in class de.chojo.sadu.queries.call.adapter.StandardAdapter
- 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
- call() - Static method in interface de.chojo.sadu.queries.api.call.Call
-
Creates a new instance of the Call class.
- call() - Method in record class de.chojo.sadu.queries.calls.SingletonCall
-
Returns the value of the
call
record component. - call() - Method in class de.chojo.sadu.queries.execution.reading.ReaderImpl
- call() - Method in class de.chojo.sadu.queries.execution.writing.CalledSingletonQueryImpl
- Call - Interface in de.chojo.sadu.queries.api.call
- callConnection(Supplier<T>, ThrowingFunction<T, Connection, SQLException>) - Method in interface de.chojo.sadu.queries.api.base.ConnectionProvider
- callConnection(Supplier<T>, ThrowingFunction<T, Connection, SQLException>) - Method in interface de.chojo.sadu.queries.api.base.QueryProvider
- callConnection(Supplier<T>, ThrowingFunction<T, Connection, SQLException>) - Method in class de.chojo.sadu.queries.query.QueryImpl
- CalledBatchQuery - Interface in de.chojo.sadu.queries.api.execution.writing
-
The CalledBatchQuery interface represents a batch query that can perform insert, update, and delete operations on a data source.
- CalledBatchQueryImpl - Class in de.chojo.sadu.queries.execution.writing
- CalledBatchQueryImpl(ParsedQueryImpl, BatchCall) - Constructor for class de.chojo.sadu.queries.execution.writing.CalledBatchQueryImpl
- CalledSingletonQuery - Interface in de.chojo.sadu.queries.api.execution.writing
-
Represents a query that can be executed as a singleton call.
- CalledSingletonQueryImpl - Class in de.chojo.sadu.queries.execution.writing
- CalledSingletonQueryImpl(ParsedQueryImpl, SingletonCall) - Constructor for class de.chojo.sadu.queries.execution.writing.CalledSingletonQueryImpl
- CallImpl - Class in de.chojo.sadu.queries.call
-
A call is a subelement of a
Calls
. - CallImpl() - Constructor for class de.chojo.sadu.queries.call.CallImpl
- calls() - Method in interface de.chojo.sadu.queries.api.call.calls.Calls
-
Returns a list of Call objects representing the query calls.
- calls() - Method in class de.chojo.sadu.queries.calls.BatchCall
- calls() - Method in record class de.chojo.sadu.queries.calls.SingletonCall
- Calls - Interface in de.chojo.sadu.queries.api.call.calls
-
The calls class represents the calls of the same query.
- CallSupplier<T extends Calls> - Interface in de.chojo.sadu.queries.calls
- changed() - Method in interface de.chojo.sadu.queries.api.results.writing.manipulation.ManipulationBatchResult
-
Determines whether there were any changes made by the query execution.
- changed() - Method in interface de.chojo.sadu.queries.api.results.writing.manipulation.ManipulationResult
-
Checks whether at least one row was changed.
- changed() - Method in class de.chojo.sadu.queries.results.writing.manipulation.ManipulationBatchResultImpl
- changed() - Method in class de.chojo.sadu.queries.results.writing.manipulation.ManipulationResultImpl
- 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
- Check - Class in de.chojo.sadu.queries.exception
- Check() - Constructor for class de.chojo.sadu.queries.exception.Check
- checkFiles(int, Database<?, ?>...) - Static method in class de.chojo.sadu.testing.PatchChecks
-
Checks if files in the given databases match the specified base version.
- checkFiles(int, String, Database<?, ?>...) - Static method in class de.chojo.sadu.testing.PatchChecks
-
Checks if the files for the given databases need to be updated based on the base version and current version.
- checkFiles(int, String, String...) - Static method in class de.chojo.sadu.testing.PatchChecks
-
Check the consistency of files in the given databases against a reference set of files.
- classLoader - Variable in class de.chojo.sadu.updater.BaseSqlUpdaterBuilder
- clazz() - Method in class de.chojo.sadu.mapper.rowmapper.RowMapper
- cleanStatements(String[]) - Method in interface de.chojo.sadu.core.databases.Database
-
Function supposed to clean statements by removing empty statements
- clearWarnings() - Method in class de.chojo.sadu.core.connection.ConnectionDelegate
- CLOB - Static variable in class de.chojo.sadu.queries.call.adapter.StandardAdapter
- close() - Method in class de.chojo.sadu.core.connection.ConnectionDelegate
- close() - Method in class de.chojo.sadu.queries.configuration.ConnectedQueryConfigurationImpl
- close() - Method in class de.chojo.sadu.queries.configuration.ConnectedQueryQueryConfigurationDelegate
- close() - Method in class de.chojo.sadu.updater.LockedConnectionDelegate
- collect() - Static method in interface de.chojo.sadu.queries.api.call.calls.Calls
-
Returns a collector that accumulates the input elements into a BatchCall object.
- columnNames(ResultSet) - Static method in class de.chojo.sadu.mapper.util.Results
-
Get a set of column names in this result set
- columnNames(ResultSetMetaData) - Static method in class de.chojo.sadu.mapper.util.Results
-
Get a set of column names in this result set
- columns() - Method in class de.chojo.sadu.mapper.rowmapper.RowMapper
- columnTypes(ResultSetMetaData) - Static method in class de.chojo.sadu.mapper.util.Results
- combine(BatchCall) - Method in class de.chojo.sadu.queries.calls.BatchCall
-
Combines the calls from the given BatchCall object with the calls of the current BatchCall object.
- commit() - Method in class de.chojo.sadu.core.connection.ConnectionDelegate
- commit() - Method in class de.chojo.sadu.updater.LockedConnectionDelegate
- compareTo(SqlVersion) - Method in record class de.chojo.sadu.core.updater.SqlVersion
- configuration() - Method in interface de.chojo.sadu.queries.api.base.QueryProvider
- configuration() - Method in class de.chojo.sadu.queries.query.QueryImpl
- 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
- ConnectedQueryConfiguration - Interface in de.chojo.sadu.queries.api.configuration
- ConnectedQueryConfigurationImpl - Class in de.chojo.sadu.queries.configuration
- ConnectedQueryQueryConfigurationDelegate - Class in de.chojo.sadu.queries.configuration
- connection - Variable in class de.chojo.sadu.core.connection.ConnectionDelegate
- connection() - Method in interface de.chojo.sadu.queries.api.configuration.ConnectedQueryConfiguration
- connection() - Method in class de.chojo.sadu.queries.configuration.ConnectedQueryConfigurationImpl
- connection() - Method in class de.chojo.sadu.queries.configuration.ConnectedQueryQueryConfigurationDelegate
- ConnectionDelegate - Class in de.chojo.sadu.core.connection
-
A class that simply delegates all calls to a connection.
- ConnectionDelegate(Connection) - Constructor for class de.chojo.sadu.core.connection.ConnectionDelegate
- ConnectionProvider - Interface in de.chojo.sadu.queries.api.base
- 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.
- context - Variable in class de.chojo.sadu.queries.configuration.ActiveQueryConfigurationImpl
- context() - Method in interface de.chojo.sadu.queries.api.configuration.ActiveQueryConfiguration
- context() - Method in class de.chojo.sadu.queries.configuration.ActiveQueryConfigurationImpl
- context() - Method in class de.chojo.sadu.queries.configuration.ConnectedQueryQueryConfigurationDelegate
- convert(byte[]) - Static method in class de.chojo.sadu.core.conversion.UUIDConverter
-
Convert a byte array to a uuid.
- convert(UUID) - Static method in class de.chojo.sadu.core.conversion.UUIDConverter
-
Convert a uuid to a byte array
- copy() - Method in class de.chojo.sadu.mapper.MapperConfig
- 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.
- create(ThrowingFunction<V, Row, SQLException>) - Static method in interface de.chojo.sadu.mapper.rowmapper.RowMapping
- create(QueryProvider, String, Object...) - Static method in class de.chojo.sadu.queries.query.ParsedQueryImpl
- create(Adapter<T>, ValueReader<T, V>) - Static method in interface de.chojo.sadu.queries.converter.ValueConverter
- create(AdapterMapping<T>, int) - Static method in interface de.chojo.sadu.queries.api.call.adapter.Adapter
-
Creates a new Adapter instance for the given class, mapping, and type.
- create(AdapterMapping<V>, int, Function<T, V>) - Static method in interface de.chojo.sadu.queries.api.call.adapter.Adapter
-
Creates a new Adapter instance for the given class, mapping, and type.
- create(Class<T>, ThrowingBiFunction<Row, Integer, T, SQLException>, List<SqlType>) - Static method in class de.chojo.sadu.mapper.DefaultMapper
- create(Class<T>, AdapterMapping<T>, int) - Static method in interface de.chojo.sadu.queries.api.call.adapter.Adapter
-
Creates a new Adapter instance for the given class, mapping, and type.
- create(Class<T>, ResultSetMetaData) - Static method in exception de.chojo.sadu.mapper.exceptions.MappingException
- create(String) - Static method in class de.chojo.sadu.queries.query.TokenizedQuery
- create(ResultSetMetaData) - Static method in exception de.chojo.sadu.mapper.exceptions.MappingException
- create(Function<V, T>, ThrowingBiFunction<Row, String, V, SQLException>, ThrowingBiFunction<Row, Integer, V, SQLException>) - Static method in interface de.chojo.sadu.mapper.reader.ValueReader
- create(Function<V, T>, ThrowingBiFunction<Row, String, V, SQLException>, ThrowingBiFunction<Row, Integer, V, SQLException>, Supplier<T>) - Static method in interface de.chojo.sadu.mapper.reader.ValueReader
- createArrayOf(String, Object[]) - Method in class de.chojo.sadu.core.connection.ConnectionDelegate
- createBigDecimal(List<SqlType>) - Static method in class de.chojo.sadu.mapper.DefaultMapper
- createBlob() - Method in class de.chojo.sadu.core.connection.ConnectionDelegate
- createBoolean(List<SqlType>) - Static method in class de.chojo.sadu.mapper.DefaultMapper
- createBytes(List<SqlType>) - Static method in class de.chojo.sadu.mapper.DefaultMapper
- createClob() - Method in class de.chojo.sadu.core.connection.ConnectionDelegate
- createDouble(List<SqlType>) - Static method in class de.chojo.sadu.mapper.DefaultMapper
- createFloat(List<SqlType>) - Static method in class de.chojo.sadu.mapper.DefaultMapper
- createInteger(List<SqlType>) - Static method in class de.chojo.sadu.mapper.DefaultMapper
- createLong(List<SqlType>) - Static method in class de.chojo.sadu.mapper.DefaultMapper
- createNClob() - Method in class de.chojo.sadu.core.connection.ConnectionDelegate
- createSchema(String) - Method in interface de.chojo.sadu.core.databases.Database
-
Returns a query to create a schema with this name.
- createSchema(String) - Method in class de.chojo.sadu.postgresql.databases.PostgreSql
- createShort(List<SqlType>) - Static method in class de.chojo.sadu.mapper.DefaultMapper
- createSQLXML() - Method in class de.chojo.sadu.core.connection.ConnectionDelegate
- createStatement() - Method in class de.chojo.sadu.core.connection.ConnectionDelegate
- createStatement(int, int) - Method in class de.chojo.sadu.core.connection.ConnectionDelegate
- createStatement(int, int, int) - Method in class de.chojo.sadu.core.connection.ConnectionDelegate
- createString(List<SqlType>) - Static method in class de.chojo.sadu.mapper.DefaultMapper
- createStruct(String, Object[]) - Method in class de.chojo.sadu.core.connection.ConnectionDelegate
- createUuid(List<SqlType>, List<SqlType>) - Static method in class de.chojo.sadu.mapper.DefaultMapper
- createVersionTableQuery(String) - Method in interface de.chojo.sadu.core.databases.Database
-
Creates a query to create a version table on the database.
- createVersionTableQuery(String) - Method in interface de.chojo.sadu.core.databases.DefaultDatabase
- createVersionTableQuery(String) - Method in class de.chojo.sadu.sqlite.databases.SqLite
- Credentials(JdbProperty<?>, JdbProperty<?>) - Constructor for class de.chojo.sadu.core.jdbc.RemoteJdbcConfig.Credentials
- 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 interface de.chojo.sadu.core.configuration.DatabaseConfig
-
Returns the database for the database connection.
- 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. - database(String) - Method in class de.chojo.sadu.core.jdbc.RemoteJdbcConfig
-
Sets the database for the connection.
- Database<T extends JdbcConfig<?>,
U extends UpdaterBuilder<T, ?>> - Interface in de.chojo.sadu.core.databases -
Defines a sql type and handles RDBMS specific actions.
- DatabaseChecks - Class in de.chojo.sadu.testing
-
Class to check for existence of databases.
- DatabaseConfig - Interface in de.chojo.sadu.core.configuration
-
This interface represents the configuration for a database connection.
- DatabaseVersionChecks - Class in de.chojo.sadu.testing
-
The DatabaseVersionChecks class provides methods for checking the content of the version file.
- dataSource - Variable in class de.chojo.sadu.queries.configuration.QueryConfigurationImpl
- dataSource() - Method in interface de.chojo.sadu.queries.api.configuration.QueryConfiguration
-
Returns the DataSource object associated with this QueryConfiguration.
- dataSource() - Method in class de.chojo.sadu.queries.configuration.ConnectedQueryQueryConfigurationDelegate
- dataSource() - Method in interface de.chojo.sadu.queries.configuration.QueryConfiguration
-
Deprecated.Returns the DataSource object associated with this QueryConfiguration.
- dataSource() - Method in class de.chojo.sadu.queries.configuration.QueryConfigurationImpl
- DataSourceCreator<T extends JdbcConfig<?>> - Class in de.chojo.sadu.datasource
-
Class to create a
HikariDataSource
with a builder pattern. - DataSourceProvider - Interface in de.chojo.sadu.core.base
-
A class which can provide a datasource
- 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
- DATE - Static variable in class de.chojo.sadu.queries.call.adapter.StandardAdapter
- de.chojo.sadu.core.base - package de.chojo.sadu.core.base
-
General base classes.
- de.chojo.sadu.core.configuration - package de.chojo.sadu.core.configuration
- de.chojo.sadu.core.connection - package de.chojo.sadu.core.connection
- de.chojo.sadu.core.conversion - package de.chojo.sadu.core.conversion
-
Utilities to convert values
- de.chojo.sadu.core.databases - package de.chojo.sadu.core.databases
-
Base for defining a database implementation
- de.chojo.sadu.core.databases.exceptions - package de.chojo.sadu.core.databases.exceptions
-
Exceptions that might be thrown when working with a database implementation
- de.chojo.sadu.core.exceptions - package de.chojo.sadu.core.exceptions
-
Base for handling exceptions in functional interfaces
- de.chojo.sadu.core.jdbc - package de.chojo.sadu.core.jdbc
-
Base for creating a jdbc url
- de.chojo.sadu.core.types - package de.chojo.sadu.core.types
-
Base for implementing a new SQL type
- de.chojo.sadu.core.updater - package de.chojo.sadu.core.updater
- 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.mapper - package de.chojo.sadu.mapper
-
The mapper package is responsible to map rows into a java object.
- de.chojo.sadu.mapper.annotation - package de.chojo.sadu.mapper.annotation
- de.chojo.sadu.mapper.exceptions - package de.chojo.sadu.mapper.exceptions
-
Exceptions that might be thrown when working with mappings.
- de.chojo.sadu.mapper.reader - package de.chojo.sadu.mapper.reader
- de.chojo.sadu.mapper.rowmapper - package de.chojo.sadu.mapper.rowmapper
-
Classes and interfaces used to map rows
- de.chojo.sadu.mapper.util - package de.chojo.sadu.mapper.util
-
Utilities used by the mapper
- de.chojo.sadu.mapper.wrapper - package de.chojo.sadu.mapper.wrapper
-
Holds wrapper for java types
- 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.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.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.queries.api.base - package de.chojo.sadu.queries.api.base
-
api base module for general interfaces
- de.chojo.sadu.queries.api.call - package de.chojo.sadu.queries.api.call
-
Defines pi for creating a query call
- de.chojo.sadu.queries.api.call.adapter - package de.chojo.sadu.queries.api.call.adapter
-
Defines the api for adding data to a statement
- de.chojo.sadu.queries.api.call.calls - package de.chojo.sadu.queries.api.call.calls
-
Defines the api for creating calls
- de.chojo.sadu.queries.api.configuration - package de.chojo.sadu.queries.api.configuration
- de.chojo.sadu.queries.api.configuration.context - package de.chojo.sadu.queries.api.configuration.context
- de.chojo.sadu.queries.api.exception - package de.chojo.sadu.queries.api.exception
- de.chojo.sadu.queries.api.execution.reading - package de.chojo.sadu.queries.api.execution.reading
-
Defines the api for reading data
- de.chojo.sadu.queries.api.execution.writing - package de.chojo.sadu.queries.api.execution.writing
-
Defines the api for writing data
- de.chojo.sadu.queries.api.parameter - package de.chojo.sadu.queries.api.parameter
-
Defines the api for a parameter
- de.chojo.sadu.queries.api.query - package de.chojo.sadu.queries.api.query
-
Defines the api for creating a query
- de.chojo.sadu.queries.api.results - package de.chojo.sadu.queries.api.results
-
Defined the api for result handling
- de.chojo.sadu.queries.api.results.reading - package de.chojo.sadu.queries.api.results.reading
-
Defines the api for result reading
- de.chojo.sadu.queries.api.results.writing.insertion - package de.chojo.sadu.queries.api.results.writing.insertion
-
Defines the result of an insertion action.
- de.chojo.sadu.queries.api.results.writing.manipulation - package de.chojo.sadu.queries.api.results.writing.manipulation
-
Defines the result of a manipulation action like deleting and updating.
- de.chojo.sadu.queries.api.storage - package de.chojo.sadu.queries.api.storage
-
Defines api for query storage
- de.chojo.sadu.queries.call - package de.chojo.sadu.queries.call
-
Implementation for creating calls
- de.chojo.sadu.queries.call.adapter - package de.chojo.sadu.queries.call.adapter
-
Implementation for adapters that bind java objects to a prepared statement
- de.chojo.sadu.queries.calls - package de.chojo.sadu.queries.calls
-
Holds the implementation of
Calls
- de.chojo.sadu.queries.configuration - package de.chojo.sadu.queries.configuration
-
Implementation for query configuration.
- de.chojo.sadu.queries.configuration.context - package de.chojo.sadu.queries.configuration.context
- de.chojo.sadu.queries.converter - package de.chojo.sadu.queries.converter
- de.chojo.sadu.queries.exception - package de.chojo.sadu.queries.exception
-
General exception definitions
- de.chojo.sadu.queries.execution.reading - package de.chojo.sadu.queries.execution.reading
-
Implementation for executing reading queries.
- de.chojo.sadu.queries.execution.writing - package de.chojo.sadu.queries.execution.writing
-
Implementatino for executing writing queries.
- de.chojo.sadu.queries.parameter - package de.chojo.sadu.queries.parameter
-
Implementatino for parameter
- de.chojo.sadu.queries.query - package de.chojo.sadu.queries.query
-
Implementations for queries
- de.chojo.sadu.queries.results.reading - package de.chojo.sadu.queries.results.reading
-
Implementation for retrieving results of a reading query.
- de.chojo.sadu.queries.results.writing.insertion - package de.chojo.sadu.queries.results.writing.insertion
-
Implementation for results of an insertion query.
- de.chojo.sadu.queries.results.writing.manipulation - package de.chojo.sadu.queries.results.writing.manipulation
-
Implementation for results of an update or delete query.
- de.chojo.sadu.queries.storage - package de.chojo.sadu.queries.storage
-
Implementation of the query storage.
- 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.testing - package de.chojo.sadu.testing
-
The tests package contains utils to simply validate the integrity of sadus updater files using junit.
- 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
- DEFAULT - Static variable in class de.chojo.sadu.mapper.MapperConfig
- DEFAULT - Static variable in interface de.chojo.sadu.queries.api.configuration.QueryConfiguration
- DEFAULT_DELIMITER_KEYWORD - Static variable in class de.chojo.sadu.core.updater.StatementSplitter
-
This is the default delimiter keyword, which is regularly used to change the delimiter.
- DEFAULT_SPLIT_MARKER - Static variable in class de.chojo.sadu.core.updater.StatementSplitter
-
The default marker, which is regularly used to split statements.
- DefaultDatabase<T extends JdbcConfig<?>,
U extends UpdaterBuilder<T, ?>> - Interface in de.chojo.sadu.core.databases -
Represents a default database
- defaultDriverClass() - Method in class de.chojo.sadu.core.jdbc.JdbcConfig
-
Returns the full path of the driver class
- 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
- DefaultMapper - Class in de.chojo.sadu.mapper
- defaultValue() - Method in interface de.chojo.sadu.mapper.reader.ValueReader
-
A default value that should be returned when the SQL value is null
- delete() - Method in interface de.chojo.sadu.queries.api.execution.writing.CalledBatchQuery
-
Deletes the selected items or records from the data source.
- delete() - Method in interface de.chojo.sadu.queries.api.execution.writing.CalledSingletonQuery
-
Deletes rows from the table based on the specified query.
- delete() - Method in class de.chojo.sadu.queries.execution.writing.CalledBatchQueryImpl
- delete() - Method in class de.chojo.sadu.queries.execution.writing.CalledSingletonQueryImpl
- deleteVersion(String) - Method in interface de.chojo.sadu.core.databases.Database
-
Creates a query to delete all entries from the version table.
- deleteVersion(String) - Method in interface de.chojo.sadu.core.databases.DefaultDatabase
- descr() - Method in interface de.chojo.sadu.core.types.SqlType
- 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 - Static variable in class de.chojo.sadu.queries.call.adapter.StandardAdapter
- 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.core.jdbc.JdbcConfig
-
Returns the driver name of the jdbc url
- 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
- driverClass() - Method in class de.chojo.sadu.core.jdbc.JdbcConfig
-
Get the fully qualified path of the driver class
- driverClass(Class<V>) - Method in class de.chojo.sadu.core.jdbc.JdbcConfig
-
Set the driver class which should be used.
- driverClass(String) - Method in class de.chojo.sadu.core.jdbc.JdbcConfig
-
Set the driver class which should be used.
- 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
- edit() - Method in interface de.chojo.sadu.queries.api.configuration.QueryConfiguration
-
Returns a builder with the defaults being the settings of this config
- edit(DataSource) - Method in interface de.chojo.sadu.queries.api.configuration.QueryConfiguration
-
Returns a builder with the defaults being the settings of this config
- 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.
- empty() - Static method in interface de.chojo.sadu.queries.api.call.calls.Calls
-
Returns an instance of the SingletonCall class that represents an empty call.
- empty(QueryProvider) - Static method in class de.chojo.sadu.queries.results.writing.insertion.InsertionResultImpl
- empty(QueryProvider) - Static method in class de.chojo.sadu.queries.results.writing.manipulation.ManipulationResultImpl
- EMPTY - Static variable in class de.chojo.sadu.core.jdbc.RemoteJdbcConfig.Credentials
- EMPTY - Static variable in record class de.chojo.sadu.queries.calls.SingletonCall
-
Represents an empty call.
- enabledSslCipherSuites(String) - Method in class de.chojo.sadu.mariadb.jdbc.MariaDbJdbc
-
Force TLS/SSL cipher (comma separated list).
- ENUM - Static variable in class de.chojo.sadu.queries.call.adapter.StandardAdapter
- equals(Object) - Method in class de.chojo.sadu.core.jdbc.JdbProperty
- equals(Object) - Method in record class de.chojo.sadu.core.updater.SqlVersion
-
Indicates whether some other object is "equal to" this one.
- 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.
- equals(Object) - Method in record class de.chojo.sadu.queries.calls.SingletonCall
-
Indicates whether some other object is "equal to" this one.
- exceptionHandler - Variable in class de.chojo.sadu.queries.configuration.QueryConfigurationImpl
- exceptionHandler() - Method in interface de.chojo.sadu.queries.api.configuration.QueryConfiguration
-
Retrieves the exception handler
- exceptionHandler() - Method in class de.chojo.sadu.queries.configuration.ConnectedQueryQueryConfigurationDelegate
- exceptionHandler() - Method in class de.chojo.sadu.queries.configuration.QueryConfigurationImpl
- ExceptionHolder - Interface in de.chojo.sadu.queries.api.exception
- exceptions() - Method in interface de.chojo.sadu.queries.api.exception.ExceptionHolder
- exceptions() - Method in interface de.chojo.sadu.queries.api.results.BaseResult
-
Returns a list of exceptions.
- exceptions() - Method in class de.chojo.sadu.queries.configuration.context.SimpleQueryContext
- exceptions() - Method in class de.chojo.sadu.queries.exception.SimpleExceptionHolder
- exceptions() - Method in class de.chojo.sadu.queries.query.QueryImpl
- exceptions() - Method in class de.chojo.sadu.queries.results.reading.MultiResult
- exceptions() - Method in class de.chojo.sadu.queries.results.reading.SingleResult
- exceptions() - Method in class de.chojo.sadu.queries.results.writing.manipulation.ManipulationBatchResultImpl
- exceptions() - Method in class de.chojo.sadu.queries.results.writing.manipulation.ManipulationResultImpl
- ExceptionTransformer - Class in de.chojo.sadu.core.exceptions
-
Utilities for database exception handling.
- 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.
- execute(int, Database<?, ?>...) - Static method in class de.chojo.sadu.testing.SaduTests
-
Executes all sadu related tests
F
- find(Class<T>, ResultSetMetaData, MapperConfig) - Method in class de.chojo.sadu.mapper.RowMapperRegistry
-
Searches for a matching mapper for this result set.
- find(Class<T>, ResultSet, MapperConfig) - Method in class de.chojo.sadu.mapper.RowMapperRegistry
-
Searches for a matching mapper for this result set.
- findOrWildcard(Class<T>, ResultSetMetaData, MapperConfig) - Method in class de.chojo.sadu.mapper.RowMapperRegistry
-
Finds a mapper for a class for the matching column names.
- findOrWildcard(Class<T>, ResultSet, MapperConfig) - Method in class de.chojo.sadu.mapper.RowMapperRegistry
-
Searches for a matching mapper for this result set.
- first() - Method in interface de.chojo.sadu.queries.api.execution.reading.Reader
-
Retrieves the first value from the query result and wraps it in an
Optional
object. - first() - Method in class de.chojo.sadu.queries.execution.reading.ReaderImpl
- firstResult() - Method in interface de.chojo.sadu.queries.api.execution.reading.Reader
-
Retrieves a single result from the query.
- firstResult() - Method in class de.chojo.sadu.queries.execution.reading.ReaderImpl
- 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 - Static variable in class de.chojo.sadu.queries.call.adapter.StandardAdapter
- 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
- forArray(Object[], SqlType) - Static method in class de.chojo.sadu.queries.call.adapter.StandardAdapter
- forceDatabaseConsistency() - Method in class de.chojo.sadu.postgresql.updater.PostgreSqlUpdater
- forceDatabaseConsistency() - Method in class de.chojo.sadu.updater.SqlUpdater
- forClass(Class<T>) - Static method in class de.chojo.sadu.mapper.rowmapper.RowMapper
- forCollection(Collection<?>, SqlType) - Static method in class de.chojo.sadu.queries.call.adapter.StandardAdapter
- forEnum(Class<T>) - Static method in class de.chojo.sadu.mapper.reader.StandardReader
- forEnum(Class<T>) - Static method in class de.chojo.sadu.queries.converter.StandardValueConverter
- forQuery(QueryContext) - Method in interface de.chojo.sadu.queries.api.configuration.QueryConfiguration
-
Returns a new QueryConfiguration object with the provided query and other configuration settings.
- forQuery(QueryContext) - Method in class de.chojo.sadu.queries.configuration.ConnectedQueryConfigurationImpl
- forQuery(QueryContext) - Method in class de.chojo.sadu.queries.configuration.ConnectedQueryQueryConfigurationDelegate
- forQuery(QueryContext) - Method in interface de.chojo.sadu.queries.configuration.QueryConfiguration
-
Deprecated.Returns a new QueryConfiguration object with the provided query and other configuration settings.
- forQuery(QueryContext) - Method in class de.chojo.sadu.queries.configuration.QueryConfigurationImpl
- 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
- generatedKeys(Statement) - Static method in class de.chojo.sadu.mapper.util.Results
- 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() - Method in interface de.chojo.sadu.queries.api.results.reading.Result
-
Retrieves the result of the query as an optional value.
- get() - Static method in class de.chojo.sadu.sqlite.databases.SqLite
-
The SqLite type.
- get(int, ValueReader<T, V>) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object and will convert from the SQL type of the column to the java type using the providedValueReader
- get(String) - Method in interface de.chojo.sadu.queries.api.storage.ResultStorage
- get(String) - Method in class de.chojo.sadu.queries.storage.ResultStorageImpl
- get(String, ValueReader<T, V>) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object and will convert from the SQL type of the column to the java type using the providedValueReader
- getArray(int) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as anArray
object in the Java programming language. - getArray(String) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as anArray
object in the Java programming language. - getAs(String, Class<T>) - Method in interface de.chojo.sadu.queries.api.storage.ResultStorage
- getAs(String, Class<T>) - Method in class de.chojo.sadu.queries.storage.ResultStorageImpl
- getAsciiStream(int) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as a stream of ASCII characters. - getAsciiStream(String) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as a stream of ASCII characters. - getAutoCommit() - Method in class de.chojo.sadu.core.connection.ConnectionDelegate
- getBigDecimal(int) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as ajava.math.BigDecimal
with full precision. - getBigDecimal(String) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as ajava.math.BigDecimal
with full precision. - getBinaryStream(int) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as a stream of uninterpreted bytes. - getBinaryStream(String) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as a stream of uninterpretedbyte
s. - getBlob(int) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as aBlob
object in the Java programming language. - getBlob(String) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as aBlob
object in the Java programming language. - getBoolean(int) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as aboolean
in the Java programming language. - getBoolean(String) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as aboolean
in the Java programming language. - getByte(int) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as abyte
in the Java programming language. - getByte(String) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as abyte
in the Java programming language. - getBytes(int) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as abyte
array in the Java programming language. - getBytes(String) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as abyte
array in the Java programming language. - getCatalog() - Method in class de.chojo.sadu.core.connection.ConnectionDelegate
- getCharacterStream(int) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as ajava.io.Reader
object. - getCharacterStream(String) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as ajava.io.Reader
object. - getClientInfo() - Method in class de.chojo.sadu.core.connection.ConnectionDelegate
- getClientInfo(String) - Method in class de.chojo.sadu.core.connection.ConnectionDelegate
- getClob(int) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as aClob
object in the Java programming language. - getClob(String) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as aClob
object in the Java programming language. - getDate(int) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as ajava.sql.Date
object in the Java programming language. - getDate(int, Calendar) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as ajava.sql.Date
object in the Java programming language. - getDate(String) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as ajava.sql.Date
object in the Java programming language. - getDate(String, Calendar) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as ajava.sql.Date
object in the Java programming language. - getDefault() - Static method in interface de.chojo.sadu.queries.api.configuration.QueryConfiguration
-
Retrieves the default QueryConfiguration.
- getDefault() - Static method in interface de.chojo.sadu.queries.configuration.QueryConfiguration
-
Deprecated.Retrieves the default QueryConfiguration.
- 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
- getDouble(int) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as adouble
in the Java programming language. - getDouble(String) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as adouble
in the Java programming language. - getEnum(int, Class<T>) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as aString
in the Java programming language and maps it to an enum. - getEnum(String, Class<T>) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as aString
in the Java programming language and maps it to an enum. - getErrorCode() - Method in exception de.chojo.sadu.queries.exception.QueryExecutionException
- getErrorCode() - Method in exception de.chojo.sadu.queries.exception.WrappedQueryExecutionException
-
Error code of the exception
- getFirstColumnIndexOfType(ResultSetMetaData, List<SqlType>) - Static method in class de.chojo.sadu.mapper.util.Results
-
Extracts the column index (1 based) of the first column with the requested type.
- getFloat(int) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as afloat
in the Java programming language. - getFloat(String) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as afloat
in the Java programming language. - getHoldability() - Method in class de.chojo.sadu.core.connection.ConnectionDelegate
- getIndexTokenIndex(int) - Method in class de.chojo.sadu.queries.query.TokenizedQuery
- getInt(int) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as anint
in the Java programming language. - getInt(String) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as anint
in the Java programming language. - getList(int) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as aList
in the Java programming language. - getList(String) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as aUUID
in the Java programming language. - getList(String, Class<T>) - Method in interface de.chojo.sadu.queries.api.storage.ResultStorage
- getList(String, Class<T>) - Method in class de.chojo.sadu.queries.storage.ResultStorageImpl
- getLocalDate(int) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Deprecated.
- getLocalDate(int, Calendar) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Deprecated.Use
Row.get(String, ValueReader)
with one of theStandardReader
- getLocalDate(String) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Deprecated.Use
Row.get(String, ValueReader)
with one of theStandardReader
- getLocalDate(String, Calendar) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Deprecated.Use
Row.get(String, ValueReader)
with one of theStandardReader
- getLocalDateTime(int) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Deprecated.Use
Row.get(String, ValueReader)
with one of theStandardReader
- getLocalDateTime(int, Calendar) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Deprecated.Use
Row.get(String, ValueReader)
with one of theStandardReader
- getLocalDateTime(String) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Deprecated.Use
Row.get(String, ValueReader)
with one of theStandardReader
- getLocalDateTime(String, Calendar) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Deprecated.Use
Row.get(String, ValueReader)
with one of theStandardReader
- getLocalTime(int) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Deprecated.Use
Row.get(String, ValueReader)
with one of theStandardReader
- getLocalTime(int, Calendar) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Deprecated.Use
Row.get(String, ValueReader)
with one of theStandardReader
- getLocalTime(String) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Deprecated.Use
Row.get(String, ValueReader)
with one of theStandardReader
- getLocalTime(String, Calendar) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Deprecated.Use
Row.get(String, ValueReader)
with one of theStandardReader
- getLong(int) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as along
in the Java programming language. - getLong(String) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as along
in the Java programming language. - getMessage() - Method in exception de.chojo.sadu.queries.exception.QueryExecutionException
- getMessage() - Method in exception de.chojo.sadu.queries.exception.WrappedQueryExecutionException
- getMetaData() - Method in class de.chojo.sadu.core.connection.ConnectionDelegate
- getMetaData() - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the number, types and properties of this
Row
object's columns. - getNamedTokenIndex(String) - Method in class de.chojo.sadu.queries.query.TokenizedQuery
- getNCharacterStream(int) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as ajava.io.Reader
object. - getNCharacterStream(String) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as ajava.io.Reader
object. - getNClob(int) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as aNClob
object in the Java programming language. - getNClob(String) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as aNClob
object in the Java programming language. - getNetworkTimeout() - Method in class de.chojo.sadu.core.connection.ConnectionDelegate
- getNString(int) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as aString
in the Java programming language. - getNString(String) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as aString
in the Java programming language. - getObject(int) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Gets the value of the designated column in the current row of this
Row
object as anObject
in the Java programming language. - getObject(int, Class<T>) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object and will convert from the SQL type of the column to the requested Java data type, if the conversion is supported. - getObject(int, Map<String, Class<?>>) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as anObject
in the Java programming language. - getObject(String) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Gets the value of the designated column in the current row of this
Row
object as anObject
in the Java programming language. - getObject(String, Class<T>) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object and will convert from the SQL type of the column to the requested Java data type, if the conversion is supported. - getObject(String, Map<String, Class<?>>) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as anObject
in the Java programming language. - getOffsetDateTime(int) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Deprecated.Use
Row.get(String, ValueReader)
with one of theStandardReader
- getOffsetDateTime(int, Calendar) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Deprecated.
- getOffsetDateTime(String) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Deprecated.Use
Row.get(String, ValueReader)
with one of theStandardReader
- getOffsetDateTime(String, Calendar) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Deprecated.Use
Row.get(String, ValueReader)
with one of theStandardReader
- getOffsetTime(int) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Deprecated.Use
Row.get(String, ValueReader)
with one of theStandardReader
- getOffsetTime(int, Calendar) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Deprecated.Use
Row.get(String, ValueReader)
with one of theStandardReader
- getOffsetTime(String) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Deprecated.Use
Row.get(String, ValueReader)
with one of theStandardReader
- getOffsetTime(String, Calendar) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Deprecated.Use
Row.get(String, ValueReader)
with one of theStandardReader
- getRef(int) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as aRef
object in the Java programming language. - getRef(String) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as aRef
object in the Java programming language. - getRowId(int) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as ajava.sql.RowId
object in the Java programming language. - getRowId(String) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as ajava.sql.RowId
object in the Java programming language. - getSchema() - Method in class de.chojo.sadu.core.connection.ConnectionDelegate
- getShort(int) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as ashort
in the Java programming language. - getShort(String) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as ashort
in the Java programming language. - getSQLState() - Method in exception de.chojo.sadu.queries.exception.QueryExecutionException
- getSQLState() - Method in exception de.chojo.sadu.queries.exception.WrappedQueryExecutionException
-
SQL state of the exception
- getSQLXML(int) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
as ajava.sql.SQLXML
object in the Java programming language. - getSQLXML(String) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
as ajava.sql.SQLXML
object in the Java programming language. - getString(int) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as aString
in the Java programming language. - getString(String) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as aString
in the Java programming language. - getTime(int) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as ajava.sql.Time
object in the Java programming language. - getTime(int, Calendar) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as ajava.sql.Time
object in the Java programming language. - getTime(String) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as ajava.sql.Time
object in the Java programming language. - getTime(String, Calendar) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as ajava.sql.Time
object in the Java programming language. - getTimestamp(int) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as ajava.sql.Timestamp
object in the Java programming language. - getTimestamp(int, Calendar) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as ajava.sql.Timestamp
object in the Java programming language. - getTimestamp(String) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as ajava.sql.Timestamp
object in the Java programming language. - getTimestamp(String, Calendar) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as ajava.sql.Timestamp
object in the Java programming language. - getTransactionIsolation() - Method in class de.chojo.sadu.core.connection.ConnectionDelegate
- getTypeMap() - Method in class de.chojo.sadu.core.connection.ConnectionDelegate
- getURL(int) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as ajava.net.URL
object in the Java programming language. - getURL(String) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Retrieves the value of the designated column in the current row of this
Row
object as ajava.net.URL
object in the Java programming language. - getUuidFromBytes(int) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Deprecated.Use
Row.get(String, ValueReader)
with one of theStandardReader
- getUuidFromBytes(String) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Deprecated.Use
Row.get(String, ValueReader)
with one of theStandardReader
- getUuidFromString(int) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Deprecated.Use
Row.get(String, ValueReader)
with one of theStandardReader
- getUuidFromString(String) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Deprecated.Use
Row.get(String, ValueReader)
with one of theStandardReader
- getWarnings() - Method in class de.chojo.sadu.core.connection.ConnectionDelegate
- getZonedDateTime(int) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Deprecated.Use
Row.get(String, ValueReader)
with one of theStandardReader
- getZonedDateTime(int, Calendar) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Deprecated.Use
Row.get(String, ValueReader)
with one of theStandardReader
- getZonedDateTime(String) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Deprecated.Use
Row.get(String, ValueReader)
with one of theStandardReader
- getZonedDateTime(String, Calendar) - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Deprecated.Use
Row.get(String, ValueReader)
with one of theStandardReader
H
- handleException(SQLException) - Method in interface de.chojo.sadu.queries.api.configuration.ActiveQueryConfiguration
-
Handles a SQLException by invoking the exceptionHandler consumer, logging the exception, and potentially throwing a WrappedQueryExecutionException.
- handleException(SQLException) - Method in class de.chojo.sadu.queries.configuration.ActiveQueryConfigurationImpl
- handleException(SQLException) - Method in class de.chojo.sadu.queries.configuration.ConnectedQueryQueryConfigurationDelegate
- handleException(SQLException) - Method in class de.chojo.sadu.queries.query.QueryImpl
- hasExceptions() - Method in interface de.chojo.sadu.queries.api.results.BaseResult
-
Returns a boolean value indicating whether there are any exceptions in the result.
- hashCode() - Method in class de.chojo.sadu.core.jdbc.JdbProperty
- hashCode() - Method in record class de.chojo.sadu.core.updater.SqlVersion
-
Returns a hash code value for this object.
- 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.
- hashCode() - Method in record class de.chojo.sadu.queries.calls.SingletonCall
-
Returns a hash code value for this object.
- hasSchemas() - Method in interface de.chojo.sadu.core.databases.Database
-
Indicates if this type supports schemas.
- hasSchemas() - Method in class de.chojo.sadu.postgresql.databases.PostgreSql
- host() - Method in interface de.chojo.sadu.core.configuration.DatabaseConfig
-
Returns the address of the database server.
- 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. - host(String) - Method in class de.chojo.sadu.core.jdbc.RemoteJdbcConfig
-
Set the host name of the connection
I
- ifChanged(Consumer<Integer>) - Method in interface de.chojo.sadu.queries.api.results.writing.manipulation.ManipulationResult
-
Executes the given consumer if at least one row was changed.
- ifChangedOrElse(Consumer<Integer>, Consumer<ManipulationResult>) - Method in interface de.chojo.sadu.queries.api.results.writing.manipulation.ManipulationResult
-
Executes the provided consumers based on the result of a manipulation operation.
- ifEmpty(Consumer<ManipulationResult>) - Method in interface de.chojo.sadu.queries.api.results.writing.manipulation.ManipulationResult
-
Executes the given Consumer if the ManipulationResult has no changes.
- IllegalQueryReturnTypeException - Exception in de.chojo.sadu.queries.exception
- IllegalQueryReturnTypeException(String) - Constructor for exception de.chojo.sadu.queries.exception.IllegalQueryReturnTypeException
- indexedReader() - Method in interface de.chojo.sadu.mapper.reader.ValueReader
-
Function that provides access to a reader that returns the column value via column index
- IndexParameter - Class in de.chojo.sadu.queries.parameter
- IndexParameter(int, ThrowingBiConsumer<PreparedStatement, Integer, SQLException>) - Constructor for class de.chojo.sadu.queries.parameter.IndexParameter
- init() - Method in class de.chojo.sadu.updater.SqlUpdater
- initCause(Throwable) - Method in exception de.chojo.sadu.queries.exception.QueryExecutionException
- initCause(Throwable) - Method in exception de.chojo.sadu.queries.exception.WrappedQueryExecutionException
- insert() - Method in interface de.chojo.sadu.queries.api.execution.writing.CalledBatchQuery
-
Inserts the specified values into the table.
- insert() - Method in interface de.chojo.sadu.queries.api.execution.writing.CalledSingletonQuery
-
Inserts a row into the database table represented by the initial symbol of the containing class, and returns the result of the manipulation operation.
- insert() - Method in class de.chojo.sadu.queries.execution.writing.CalledBatchQueryImpl
- insert() - Method in class de.chojo.sadu.queries.execution.writing.CalledSingletonQueryImpl
- insertAndGetKeys() - Method in interface de.chojo.sadu.queries.api.execution.writing.CalledBatchQuery
-
Inserts the specified values into the table.
- insertAndGetKeys() - Method in interface de.chojo.sadu.queries.api.execution.writing.CalledSingletonQuery
-
Inserts a row into the database table represented by the initial symbol of the containing class, and returns the result of the manipulation operation.
- insertAndGetKeys() - Method in class de.chojo.sadu.queries.execution.writing.CalledBatchQueryImpl
- insertAndGetKeys() - Method in class de.chojo.sadu.queries.execution.writing.CalledSingletonQueryImpl
- InsertionBatchResult<T extends InsertionResult> - Interface in de.chojo.sadu.queries.api.results.writing.insertion
-
The InsertionBatchResult interface represents the result of a batch insertion operation.
- InsertionBatchResultImpl - Class in de.chojo.sadu.queries.results.writing.insertion
- InsertionBatchResultImpl(QueryProvider, List<InsertionResult>) - Constructor for class de.chojo.sadu.queries.results.writing.insertion.InsertionBatchResultImpl
- InsertionResult - Interface in de.chojo.sadu.queries.api.results.writing.insertion
-
The InsertionResult interface represents the result of an insertion operation.
- InsertionResultImpl - Class in de.chojo.sadu.queries.results.writing.insertion
- InsertionResultImpl(QueryProvider, int, List<Long>) - Constructor for class de.chojo.sadu.queries.results.writing.insertion.InsertionResultImpl
- insertVersion(String) - Method in interface de.chojo.sadu.core.databases.Database
-
Creates a query to insert a version into the version table.
- insertVersion(String) - Method in interface de.chojo.sadu.core.databases.DefaultDatabase
- INSTANT_AS_MILLIS - Static variable in class de.chojo.sadu.queries.call.adapter.StandardAdapter
-
Stores an instant as epoch millis
- INSTANT_AS_SECONDS - Static variable in class de.chojo.sadu.queries.call.adapter.StandardAdapter
-
Stores an instant as epoch seconds
- INSTANT_AS_TIMESTAMP - Static variable in class de.chojo.sadu.queries.call.adapter.StandardAdapter
-
Stores an instant as a timestamp
- INSTANT_FROM_MILLIS - Static variable in class de.chojo.sadu.mapper.reader.StandardReader
- INSTANT_FROM_SECONDS - Static variable in class de.chojo.sadu.mapper.reader.StandardReader
- INSTANT_FROM_TIMESTAMP - Static variable in class de.chojo.sadu.mapper.reader.StandardReader
- INSTANT_MILLIS - Static variable in class de.chojo.sadu.queries.converter.StandardValueConverter
-
Writes and reads
Instant
as unix epoch in milliseconds - INSTANT_SECONDS - Static variable in class de.chojo.sadu.queries.converter.StandardValueConverter
-
Writes and reads
Instant
as unix epoch in seconds - INSTANT_TIMESTAMP - Static variable in class de.chojo.sadu.queries.converter.StandardValueConverter
- 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 class de.chojo.sadu.queries.call.adapter.StandardAdapter
- 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
- InvalidMappingException - Exception in de.chojo.sadu.mapper.exceptions
- InvalidMappingException(String) - Constructor for exception de.chojo.sadu.mapper.exceptions.InvalidMappingException
- InvalidMappingException(String, Throwable) - Constructor for exception de.chojo.sadu.mapper.exceptions.InvalidMappingException
- ipv4(String) - Method in class de.chojo.sadu.core.jdbc.RemoteJdbcConfig
-
Sets the host to an ipv4 address.
- ipv6(String) - Method in class de.chojo.sadu.core.jdbc.RemoteJdbcConfig
-
Sets the host to an ipv6 address.
- isClosed() - Method in class de.chojo.sadu.core.connection.ConnectionDelegate
- isNewer(SqlVersion) - Method in record class de.chojo.sadu.core.updater.SqlVersion
- isOlder(SqlVersion) - Method in record class de.chojo.sadu.core.updater.SqlVersion
- isReadOnly() - Method in class de.chojo.sadu.core.connection.ConnectionDelegate
- isStrict() - Method in class de.chojo.sadu.mapper.MapperConfig
-
When true only mappers will be used, which have a mapping value for all columns or the wild card mapper if present and no matching mapper was found.
- isSuccess() - Method in interface de.chojo.sadu.queries.api.results.writing.manipulation.ManipulationResult
-
Checks whether the manipulation operation was successful.
- isValid(int) - Method in class de.chojo.sadu.core.connection.ConnectionDelegate
- isWildcard() - Method in class de.chojo.sadu.mapper.rowmapper.RowMapper
- isWrapperFor(Class<?>) - Method in class de.chojo.sadu.core.connection.ConnectionDelegate
J
- jdbcBuilder() - Method in interface de.chojo.sadu.core.databases.Database
-
Returns the
JdbcConfig
implementation for this database - 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
- JdbcConfig<T extends JdbcConfig<?>> - Class in de.chojo.sadu.core.jdbc
-
A base builder to create a jdbc url.
- JdbcConfig() - Constructor for class de.chojo.sadu.core.jdbc.JdbcConfig
- JdbcStage<T> - Interface in de.chojo.sadu.datasource.stage
-
A stage which represents a property creator for a data source.
- jdbcUrl() - Method in class de.chojo.sadu.core.jdbc.JdbcConfig
-
Get the jdbc url which combines the results of
JdbcConfig.baseUrl()
andJdbcConfig.parameter()
- JdbProperty<T> - Class in de.chojo.sadu.core.jdbc
-
A key value pair used to represent url parameter
- JdbProperty(String, T) - Constructor for class de.chojo.sadu.core.jdbc.JdbProperty
-
Creates a new jdbc property
- 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
- key() - Method in class de.chojo.sadu.core.jdbc.JdbProperty
-
The property key
- keys() - Method in interface de.chojo.sadu.queries.api.results.writing.insertion.InsertionBatchResult
-
Retrieves the keys of the inserted rows of all executed statements.
- keys() - Method in interface de.chojo.sadu.queries.api.results.writing.insertion.InsertionResult
-
Retrieves the keys of the inserted rows.
- keys() - Method in class de.chojo.sadu.queries.results.writing.insertion.InsertionBatchResultImpl
- keys() - Method in class de.chojo.sadu.queries.results.writing.insertion.InsertionResultImpl
- 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
- load() - Static method in record class de.chojo.sadu.core.updater.SqlVersion
- load(ClassLoader) - Static method in record class de.chojo.sadu.core.updater.SqlVersion
- LOCAL_DATE - Static variable in class de.chojo.sadu.mapper.reader.StandardReader
- LOCAL_DATE - Static variable in class de.chojo.sadu.queries.call.adapter.StandardAdapter
- LOCAL_DATE - Static variable in class de.chojo.sadu.queries.converter.StandardValueConverter
- LOCAL_DATE_TIME - Static variable in class de.chojo.sadu.mapper.reader.StandardReader
- LOCAL_DATE_TIME - Static variable in class de.chojo.sadu.queries.call.adapter.StandardAdapter
- LOCAL_DATE_TIME - Static variable in class de.chojo.sadu.queries.converter.StandardValueConverter
-
Writes and reads
LocalDateTime
asTimestamp
- LOCAL_TIME - Static variable in class de.chojo.sadu.mapper.reader.StandardReader
- LOCAL_TIME - Static variable in class de.chojo.sadu.queries.call.adapter.StandardAdapter
- LOCAL_TIME - Static variable in class de.chojo.sadu.queries.converter.StandardValueConverter
- localDate(Calendar) - Static method in class de.chojo.sadu.mapper.reader.StandardReader
- localDate(Calendar) - Static method in class de.chojo.sadu.queries.call.adapter.StandardAdapter
- localDate(Calendar) - Static method in class de.chojo.sadu.queries.converter.StandardValueConverter
- localDateTime(Calendar) - Static method in class de.chojo.sadu.mapper.reader.StandardReader
- localDateTime(Calendar) - Static method in class de.chojo.sadu.queries.call.adapter.StandardAdapter
- localDateTime(Calendar) - Static method in class de.chojo.sadu.queries.converter.StandardValueConverter
-
Writes and reads
LocalDateTime
asTimestamp
- localhost() - Method in class de.chojo.sadu.core.jdbc.RemoteJdbcConfig
-
Sets the host explicit to local host.
- localTime(Calendar) - Static method in class de.chojo.sadu.mapper.reader.StandardReader
- localTime(Calendar) - Static method in class de.chojo.sadu.queries.call.adapter.StandardAdapter
- localTime(Calendar) - Static method in class de.chojo.sadu.queries.converter.StandardValueConverter
- 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
- logException(Exception) - Method in interface de.chojo.sadu.queries.api.exception.ExceptionHolder
- logException(Exception) - Method in class de.chojo.sadu.queries.configuration.context.SimpleQueryContext
- logException(Exception) - Method in class de.chojo.sadu.queries.exception.SimpleExceptionHolder
- logException(Exception) - Method in class de.chojo.sadu.queries.query.QueryImpl
- login(String, String) - Method in class de.chojo.sadu.core.jdbc.RemoteJdbcConfig
-
Sets the login data
- LONG - Static variable in class de.chojo.sadu.queries.call.adapter.StandardAdapter
- 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
- major() - Method in record class de.chojo.sadu.core.updater.SqlVersion
-
Major version
- ManipulationBatchResult<T extends ManipulationResult> - Interface in de.chojo.sadu.queries.api.results.writing.manipulation
-
The ManipulationBatchResult interface represents the result of a batch manipulation operation.
- ManipulationBatchResultImpl<T extends ManipulationResult> - Class in de.chojo.sadu.queries.results.writing.manipulation
-
Result of a
CalledBatchQueryImpl
- ManipulationBatchResultImpl(QueryProvider, List<T>) - Constructor for class de.chojo.sadu.queries.results.writing.manipulation.ManipulationBatchResultImpl
- ManipulationResult - Interface in de.chojo.sadu.queries.api.results.writing.manipulation
-
The ManipulationResult interface represents the result of a manipulation operation, such as an insert, update, or delete operation.
- ManipulationResultImpl - Class in de.chojo.sadu.queries.results.writing.manipulation
-
Result of a
CalledSingletonQueryImpl
. - ManipulationResultImpl(QueryProvider, int) - Constructor for class de.chojo.sadu.queries.results.writing.manipulation.ManipulationResultImpl
- map(RowMapping<V>) - Method in interface de.chojo.sadu.queries.api.execution.writing.CalledSingletonQuery
-
Maps the result of the query to a Reader of type V by applying the provided ThrowingFunction.
- map(RowMapping<V>) - Method in class de.chojo.sadu.queries.execution.writing.CalledSingletonQueryImpl
- map(Row) - Method in class de.chojo.sadu.mapper.rowmapper.RowMapper
- map(Row) - Method in interface de.chojo.sadu.mapper.rowmapper.RowMapping
- map(Function<T, R>) - Method in interface de.chojo.sadu.queries.api.results.reading.Result
-
Applies a map function to the result of a query.
- mapAs(Class<V>) - Method in interface de.chojo.sadu.queries.api.execution.writing.CalledSingletonQuery
-
Maps the current result set to the specified class type and returns a Reader object.
- mapAs(Class<V>) - Method in class de.chojo.sadu.queries.execution.writing.CalledSingletonQueryImpl
- mapAs(Class<V>, MapperConfig) - Method in interface de.chojo.sadu.queries.api.execution.writing.CalledSingletonQuery
-
Maps the result of a query to the specified class using the provided MapperConfig.
- mapAs(Class<V>, MapperConfig) - Method in class de.chojo.sadu.queries.execution.writing.CalledSingletonQueryImpl
- MappedQuery<V> - Class in de.chojo.sadu.queries.execution.reading
- MappedQuery(CalledSingletonQueryImpl, RowMapping<V>) - Constructor for class de.chojo.sadu.queries.execution.reading.MappedQuery
- mapper(RowMapping<T>) - Method in interface de.chojo.sadu.mapper.rowmapper.PartialRowMapper
-
Adds a mapper to map a row to the required object.
- mapper(RowMapping<T>) - Method in class de.chojo.sadu.mapper.rowmapper.RowMapperBuilder
- mapper(ResultSet) - Method in class de.chojo.sadu.queries.execution.reading.AutoMappedQuery
- mapper(ResultSet) - Method in class de.chojo.sadu.queries.execution.reading.MappedQuery
- mapper(ResultSet) - Method in class de.chojo.sadu.queries.execution.reading.ReaderImpl
- mapperConfig() - Method in class de.chojo.sadu.queries.execution.reading.AutoMappedQuery
- mapperConfig() - Method in class de.chojo.sadu.queries.execution.reading.ReaderImpl
- MapperConfig - Class in de.chojo.sadu.mapper
-
The config of a
RowMapper
. - MapperConfig() - Constructor for class de.chojo.sadu.mapper.MapperConfig
- mapping() - Method in interface de.chojo.sadu.queries.api.call.adapter.Adapter
-
Returns the AdapterMapping for the given Adapter instance.
- MappingAlreadyRegisteredException - Exception in de.chojo.sadu.mapper.exceptions
- MappingAlreadyRegisteredException(String) - Constructor for exception de.chojo.sadu.mapper.exceptions.MappingAlreadyRegisteredException
- MappingException - Exception in de.chojo.sadu.mapper.exceptions
- MappingException(String) - Constructor for exception de.chojo.sadu.mapper.exceptions.MappingException
- MappingProvider - Annotation Interface in de.chojo.sadu.mapper.annotation
-
Annotation used to mark a constructor or method as a
RowMapping
provider. - 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.
- matches(String) - Method in interface de.chojo.sadu.core.databases.Database
-
Checks if the given name matches the
Database.name()
or anyDatabase.alias()
. - 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.
- MultiResult<T> - Class in de.chojo.sadu.queries.results.reading
-
Result of a
ReaderImpl.allResults()
call - MultiResult(QueryProvider, T) - Constructor for class de.chojo.sadu.queries.results.reading.MultiResult
- 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 interface de.chojo.sadu.core.databases.Database
-
Get a unique name to identify the database.
- name() - Method in interface de.chojo.sadu.core.types.SqlType
-
Name of type
- 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
- namedReader() - Method in interface de.chojo.sadu.mapper.reader.ValueReader
-
Function that provides access to a reader that returns the column value via column name
- nativeSQL(String) - Method in class de.chojo.sadu.core.connection.ConnectionDelegate
- newSqlUpdaterBuilder() - Method in interface de.chojo.sadu.core.databases.Database
-
Instantiates an implementation of
UpdaterBuilder
- 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
- NotImplementedException - Exception in de.chojo.sadu.core.databases.exceptions
-
Thrown when a method is called which is not implemented but supported by this type.
- NotImplementedException(String) - Constructor for exception de.chojo.sadu.core.databases.exceptions.NotImplementedException
- NotSupportedException - Exception in de.chojo.sadu.core.databases.exceptions
-
Thrown when a method is called which is not supported by this type.
- NotSupportedException(String) - Constructor for exception de.chojo.sadu.core.databases.exceptions.NotSupportedException
- NUMERIC - Static variable in interface de.chojo.sadu.postgresql.types.PostgreSqlTypes
-
exact fixed point
O
- of() - Static method in interface de.chojo.sadu.queries.api.call.Call
-
Creates a new instance of the Call class.
- OFFSET_DATE_TIME - Static variable in class de.chojo.sadu.mapper.reader.StandardReader
- OFFSET_DATE_TIME - Static variable in class de.chojo.sadu.queries.call.adapter.StandardAdapter
-
Writes an offset date time after converting it to an
Instant
storing it in UTC - OFFSET_DATE_TIME - Static variable in class de.chojo.sadu.queries.converter.StandardValueConverter
-
Writes and reads
OffsetDateTime
asTimestamp
. - OFFSET_TIME - Static variable in class de.chojo.sadu.mapper.reader.StandardReader
- OFFSET_TIME - Static variable in class de.chojo.sadu.queries.call.adapter.StandardAdapter
- OFFSET_TIME - Static variable in class de.chojo.sadu.queries.converter.StandardValueConverter
-
Writes and reads
OffsetTime
asTime
. - offsetDateTime(Calendar) - Static method in class de.chojo.sadu.mapper.reader.StandardReader
- offsetDateTime(Calendar) - Static method in class de.chojo.sadu.queries.call.adapter.StandardAdapter
- offsetDateTime(Calendar) - Static method in class de.chojo.sadu.queries.converter.StandardValueConverter
-
Writes and reads
ZonedDateTime
asTimestamp
. - offsetTime(Calendar) - Static method in class de.chojo.sadu.mapper.reader.StandardReader
- offsetTime(Calendar) - Static method in class de.chojo.sadu.queries.call.adapter.StandardAdapter
- offsetTime(Calendar) - Static method in class de.chojo.sadu.queries.converter.StandardValueConverter
-
Writes and reads
OffsetTime
asTime
. - ofName(String, String...) - Static method in interface de.chojo.sadu.core.types.SqlType
-
Creates a new sql type with a name
P
- parameter() - Method in class de.chojo.sadu.core.jdbc.JdbcConfig
-
Build the
JdbcConfig.parameter
, which were added - parameterRaw() - Method in class de.chojo.sadu.core.jdbc.JdbcConfig
- ParsedQuery - Interface in de.chojo.sadu.queries.api.query
-
A Parsed query that is ready for execution
- ParsedQueryImpl - Class in de.chojo.sadu.queries.query
- PartialRowMapper<T> - Interface in de.chojo.sadu.mapper.rowmapper
-
Represents a partially configured
RowMapper
- password() - Method in interface de.chojo.sadu.core.configuration.DatabaseConfig
-
Returns the password for the database user.
- password() - Method in class de.chojo.sadu.core.jdbc.RemoteJdbcConfig.Credentials
- 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. - password(String) - Method in class de.chojo.sadu.core.jdbc.RemoteJdbcConfig
-
Sets the password for the connection.
- patch() - Method in record class de.chojo.sadu.core.updater.SqlVersion
-
Patch version
- PatchChecks - Class in de.chojo.sadu.testing
-
The PatchChecks class provides methods for checking the presence of patch files for the databases.
- 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 interface de.chojo.sadu.core.configuration.DatabaseConfig
-
Returns the port for the database connection.
- 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. - port(int) - Method in class de.chojo.sadu.core.jdbc.RemoteJdbcConfig
-
Set the port.
- port(String) - Method in class de.chojo.sadu.core.jdbc.RemoteJdbcConfig
-
Set the port.
- 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
- prepareCall(String) - Method in class de.chojo.sadu.core.connection.ConnectionDelegate
- prepareCall(String, int, int) - Method in class de.chojo.sadu.core.connection.ConnectionDelegate
- prepareCall(String, int, int, int) - Method in class de.chojo.sadu.core.connection.ConnectionDelegate
- prepareStatement(String) - Method in class de.chojo.sadu.core.connection.ConnectionDelegate
- prepareStatement(String, int) - Method in class de.chojo.sadu.core.connection.ConnectionDelegate
- prepareStatement(String, int[]) - Method in class de.chojo.sadu.core.connection.ConnectionDelegate
- prepareStatement(String, int, int) - Method in class de.chojo.sadu.core.connection.ConnectionDelegate
- prepareStatement(String, int, int, int) - Method in class de.chojo.sadu.core.connection.ConnectionDelegate
- prepareStatement(String, String[]) - Method in class de.chojo.sadu.core.connection.ConnectionDelegate
- prettyException(String, SQLException) - Static method in class de.chojo.sadu.core.exceptions.ExceptionTransformer
-
Transforms a SQLException in an easy readable string with a message.
- prettyException(SQLException) - Static method in class de.chojo.sadu.core.exceptions.ExceptionTransformer
-
Transforms a SQLException in an easy readable string with a message.
- preUpdateHook - Variable in class de.chojo.sadu.updater.BaseSqlUpdaterBuilder
- preUpdateHook(SqlVersion, ThrowingConsumer<Connection, SQLException>) - Method in class de.chojo.sadu.updater.BaseSqlUpdaterBuilder
Q
- query() - Method in interface de.chojo.sadu.queries.api.base.QueryProvider
- query() - Method in class de.chojo.sadu.queries.execution.reading.ReaderImpl
- query() - Method in class de.chojo.sadu.queries.execution.writing.CalledBatchQueryImpl
- query() - Method in class de.chojo.sadu.queries.execution.writing.CalledSingletonQueryImpl
- query() - Method in class de.chojo.sadu.queries.query.AppendedQueryImpl
- query() - Method in class de.chojo.sadu.queries.query.ParsedQueryImpl
- query() - Method in class de.chojo.sadu.queries.query.QueryImpl
- query() - Method in class de.chojo.sadu.queries.results.reading.MultiResult
- query() - Method in class de.chojo.sadu.queries.results.reading.SingleResult
- query() - Method in class de.chojo.sadu.queries.results.writing.manipulation.ManipulationBatchResultImpl
- query() - Method in class de.chojo.sadu.queries.results.writing.manipulation.ManipulationResultImpl
- query(QueryConfiguration, String, Object...) - Static method in interface de.chojo.sadu.queries.api.query.Query
-
Create a new query.
- query(String, Object...) - Method in interface de.chojo.sadu.queries.api.configuration.QueryConfiguration
-
Executes a SQL query with the given SQL statement and format arguments.
- query(String, Object...) - Method in interface de.chojo.sadu.queries.api.query.AppendedQuery
-
Execute another query with the same chain.
- query(String, Object...) - Static method in interface de.chojo.sadu.queries.api.query.Query
-
Create a new query using the default query configuration.
- query(String, Object...) - Method in class de.chojo.sadu.queries.configuration.ConnectedQueryQueryConfigurationDelegate
- query(String, Object...) - Method in interface de.chojo.sadu.queries.configuration.QueryConfiguration
-
Deprecated.Executes a SQL query with the given SQL statement and format arguments.
- query(String, Object...) - Method in class de.chojo.sadu.queries.configuration.QueryConfigurationImpl
- query(String, Object...) - Method in class de.chojo.sadu.queries.query.AppendedQueryImpl
- Query - Interface in de.chojo.sadu.queries.api.query
-
Starting point for executing one or more queries.
- QueryConfiguration - Interface in de.chojo.sadu.queries.api.configuration
- QueryConfiguration - Interface in de.chojo.sadu.queries.configuration
-
Deprecated, for removal: This API element is subject to removal in a future version.
- QueryConfigurationBuilder - Class in de.chojo.sadu.queries.configuration
- QueryConfigurationBuilder(DataSource) - Constructor for class de.chojo.sadu.queries.configuration.QueryConfigurationBuilder
-
QueryConfigurationBuilder is a builder class used to create an instance of QueryConfiguration.
- QueryConfigurationImpl - Class in de.chojo.sadu.queries.configuration
- QueryContext - Interface in de.chojo.sadu.queries.api.configuration.context
- QueryExecutionException - Exception in de.chojo.sadu.queries.exception
- QueryExecutionException(String) - Constructor for exception de.chojo.sadu.queries.exception.QueryExecutionException
-
Creates a new exception
- QueryImpl - Class in de.chojo.sadu.queries.query
- QueryImpl(QueryConfiguration) - Constructor for class de.chojo.sadu.queries.query.QueryImpl
- QueryProvider - Interface in de.chojo.sadu.queries.api.base
- 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
- reader() - Method in interface de.chojo.sadu.mapper.reader.ValueReader
-
A reader that takes the sql type and converts it into a java type.
- Reader<V> - Interface in de.chojo.sadu.queries.api.execution.reading
-
Interface for retrieving data from a query.
- ReaderImpl<V> - Class in de.chojo.sadu.queries.execution.reading
- ReaderImpl(CalledSingletonQueryImpl) - Constructor for class de.chojo.sadu.queries.execution.reading.ReaderImpl
- 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
- REF - Static variable in class de.chojo.sadu.queries.call.adapter.StandardAdapter
- register(RowMapper<?>) - Method in class de.chojo.sadu.mapper.RowMapperRegistry
-
Registers a new mapper for a class.
- register(RowMapper<?>...) - Method in class de.chojo.sadu.mapper.RowMapperRegistry
-
Registers new mapper.
- register(Class<V>) - Method in class de.chojo.sadu.mapper.RowMapperRegistry
-
Registers row mapper of a class if they contain a constructor or static method annotated with
MappingProvider
- register(List<RowMapper<?>>) - Method in class de.chojo.sadu.mapper.RowMapperRegistry
-
Registers new mapper.
- releaseSavepoint(Savepoint) - Method in class de.chojo.sadu.core.connection.ConnectionDelegate
- releaseSavepoint(Savepoint) - Method in class de.chojo.sadu.updater.LockedConnectionDelegate
- RemoteJdbcConfig<T extends RemoteJdbcConfig<?>> - Class in de.chojo.sadu.core.jdbc
-
A base builder to create a remote database jdbc url.
- RemoteJdbcConfig() - Constructor for class de.chojo.sadu.core.jdbc.RemoteJdbcConfig
- RemoteJdbcConfig.Credentials - Class in de.chojo.sadu.core.jdbc
- removeParameter(String) - Method in class de.chojo.sadu.core.jdbc.JdbcConfig
-
Removes the parameter from the parameter list
- 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.
- ResourceChecks - Class in de.chojo.sadu.testing
-
The ResourceChecks class provides utility methods for checking the existence of resources.
- resourceContent(String) - Static method in class de.chojo.sadu.testing.TestUtil
-
Returns the content of a resource file located at the given path.
- resourcePath - Static variable in class de.chojo.sadu.testing.TestUtil
-
The resourcePath variable represents the path to the main resources directory.
- resourcePath() - Static method in class de.chojo.sadu.testing.TestUtil
-
Returns the resource path.
- result() - Method in interface de.chojo.sadu.queries.api.results.reading.Result
-
Get the result of the query
- result() - Method in class de.chojo.sadu.queries.results.reading.MultiResult
- result() - Method in class de.chojo.sadu.queries.results.reading.SingleResult
- Result<T> - Interface in de.chojo.sadu.queries.api.results.reading
-
Base of a result returned by a
MappedQuery
- results() - Method in interface de.chojo.sadu.queries.api.results.writing.manipulation.ManipulationBatchResult
-
Returns a list of ManipulationResult representing the results of each indivudual manipulation operation.
- results() - Method in class de.chojo.sadu.queries.results.writing.manipulation.ManipulationBatchResultImpl
- Results - Class in de.chojo.sadu.mapper.util
-
Utility class to handle and extract data from
ResultSet
s andResultSetMetaData
- resultSet() - Method in class de.chojo.sadu.mapper.wrapper.Row
-
Get the underlying result set.
- ResultStorage - Interface in de.chojo.sadu.queries.api.storage
- ResultStorageImpl - Class in de.chojo.sadu.queries.storage
- ResultStorageImpl() - Constructor for class de.chojo.sadu.queries.storage.ResultStorageImpl
- rollback() - Method in class de.chojo.sadu.core.connection.ConnectionDelegate
- rollback() - Method in class de.chojo.sadu.updater.LockedConnectionDelegate
- rollback(Savepoint) - Method in class de.chojo.sadu.core.connection.ConnectionDelegate
- rollback(Savepoint) - Method in class de.chojo.sadu.updater.LockedConnectionDelegate
- Row - Class in de.chojo.sadu.mapper.wrapper
-
Represents the row of a result set.
- Row(ResultSet, MapperConfig) - Constructor for class de.chojo.sadu.mapper.wrapper.Row
-
Wraps a result set into a row
- ROW_ID - Static variable in class de.chojo.sadu.queries.call.adapter.StandardAdapter
- RowMapper<T> - Class in de.chojo.sadu.mapper.rowmapper
-
Class representing the mapping of a column to an object.
- RowMapperBuilder<T> - Class in de.chojo.sadu.mapper.rowmapper
-
A builder to build a
RowMapper
. - rowMapperRegistry - Variable in class de.chojo.sadu.queries.configuration.QueryConfigurationImpl
- rowMapperRegistry() - Method in interface de.chojo.sadu.queries.api.configuration.QueryConfiguration
-
Retrieves the
RowMapperRegistry
object from the QueryConfiguration. - rowMapperRegistry() - Method in class de.chojo.sadu.queries.configuration.ConnectedQueryQueryConfigurationDelegate
- rowMapperRegistry() - Method in interface de.chojo.sadu.queries.configuration.QueryConfiguration
-
Deprecated.Retrieves the
RowMapperRegistry
object from the QueryConfiguration. - rowMapperRegistry() - Method in class de.chojo.sadu.queries.configuration.QueryConfigurationImpl
- RowMapperRegistry - Class in de.chojo.sadu.mapper
-
Class to register
RowMapper
to map rows to objects. - RowMapperRegistry() - Constructor for class de.chojo.sadu.mapper.RowMapperRegistry
- RowMapping<T> - Interface in de.chojo.sadu.mapper.rowmapper
- rows() - Method in interface de.chojo.sadu.queries.api.results.writing.manipulation.ManipulationBatchResult
-
Retrieves the number of rows affected by the all executions of the query.
- rows() - Method in interface de.chojo.sadu.queries.api.results.writing.manipulation.ManipulationResult
-
Returns the total number of changed rows resulting from a manipulation operation.
- rows() - Method in class de.chojo.sadu.queries.results.writing.manipulation.ManipulationBatchResultImpl
- rows() - Method in class de.chojo.sadu.queries.results.writing.manipulation.ManipulationResultImpl
S
- SaduTests - Class in de.chojo.sadu.testing
- schema() - Method in interface de.chojo.sadu.core.configuration.SchemaProvider
- 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 interface de.chojo.sadu.core.databases.Database
-
Returns a query which returns a boolean indicating if a schema with this name exists.
- schemaExists() - Method in class de.chojo.sadu.postgresql.databases.PostgreSql
- SchemaProvider - Interface in de.chojo.sadu.core.configuration
- self() - Method in class de.chojo.sadu.core.jdbc.JdbcConfig
-
Returns the instance with the correct type.
- 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.
- setAtomic(boolean) - Method in class de.chojo.sadu.queries.configuration.QueryConfigurationBuilder
-
Sets the atomic flag for the QueryConfigurationBuilder.
- setAutoCommit(boolean) - Method in class de.chojo.sadu.core.connection.ConnectionDelegate
- setAutoCommit(boolean) - Method in class de.chojo.sadu.updater.LockedConnectionDelegate
- setCatalog(String) - Method in class de.chojo.sadu.core.connection.ConnectionDelegate
- setClientInfo(String, String) - Method in class de.chojo.sadu.core.connection.ConnectionDelegate
- setClientInfo(Properties) - Method in class de.chojo.sadu.core.connection.ConnectionDelegate
- setDefault(QueryConfiguration) - Static method in interface de.chojo.sadu.queries.api.configuration.QueryConfiguration
-
Sets the default query configuration.
- setDefault(QueryConfiguration) - Static method in interface de.chojo.sadu.queries.configuration.QueryConfiguration
-
Deprecated.Sets the default query configuration.
- setExceptionHandler(Consumer<SQLException>) - Method in class de.chojo.sadu.queries.configuration.QueryConfigurationBuilder
-
Sets the exception handler for handling SQLExceptions that may occur during database operations.
- setHoldability(int) - Method in class de.chojo.sadu.core.connection.ConnectionDelegate
- setNetworkTimeout(Executor, int) - Method in class de.chojo.sadu.core.connection.ConnectionDelegate
- setReadOnly(boolean) - Method in class de.chojo.sadu.core.connection.ConnectionDelegate
- setReplacements(QueryReplacement...) - Method in class de.chojo.sadu.updater.BaseSqlUpdaterBuilder
-
Replacements which should be applied to the executed scripts.
- setRowMapperRegistry(RowMapperRegistry) - Method in class de.chojo.sadu.queries.configuration.QueryConfigurationBuilder
-
Sets the
RowMapperRegistry
for theQueryConfigurationImpl
. - setSavepoint() - Method in class de.chojo.sadu.core.connection.ConnectionDelegate
- setSavepoint(String) - Method in class de.chojo.sadu.core.connection.ConnectionDelegate
- setSchema(String) - Method in class de.chojo.sadu.core.connection.ConnectionDelegate
- 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 interface de.chojo.sadu.core.updater.UpdaterBuilder
-
Set the datasource that should be used
- setSource(DataSource) - Method in class de.chojo.sadu.updater.BaseSqlUpdaterBuilder
- setThrowExceptions(boolean) - Method in class de.chojo.sadu.queries.configuration.QueryConfigurationBuilder
-
Sets the flag indicating whether exceptions thrown during database queries should be thrown or logged.
- setTransactionIsolation(int) - Method in class de.chojo.sadu.core.connection.ConnectionDelegate
- setTypeMap(Map<String, Class<?>>) - Method in class de.chojo.sadu.core.connection.ConnectionDelegate
- setVersion(SqlVersion) - Method in interface de.chojo.sadu.core.updater.UpdaterBuilder
-
Set the current db version that is expected
- 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 - Static variable in class de.chojo.sadu.queries.call.adapter.StandardAdapter
- 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. - SimpleExceptionHolder - Class in de.chojo.sadu.queries.exception
- SimpleExceptionHolder() - Constructor for class de.chojo.sadu.queries.exception.SimpleExceptionHolder
- SimpleQueryContext - Class in de.chojo.sadu.queries.configuration.context
- SimpleQueryContext(QueryImpl) - Constructor for class de.chojo.sadu.queries.configuration.context.SimpleQueryContext
- single() - Method in interface de.chojo.sadu.queries.api.query.ParsedQuery
-
Define a call without any parameter set.
- single(Call) - Method in interface de.chojo.sadu.queries.api.query.ParsedQuery
-
Define a call for your query.
- single(CallSupplier<SingletonCall>) - Method in interface de.chojo.sadu.queries.api.query.ParsedQuery
-
Define a call for your query.
- single(CallSupplier<SingletonCall>) - Method in class de.chojo.sadu.queries.query.ParsedQueryImpl
- single(SingletonCall) - Method in interface de.chojo.sadu.queries.api.query.ParsedQuery
-
Define a call for your query.
- single(SingletonCall) - Method in class de.chojo.sadu.queries.query.ParsedQueryImpl
- SingleResult<T> - Class in de.chojo.sadu.queries.results.reading
-
Result of a
ReaderImpl.firstResult()
call - SingleResult(QueryProvider, T) - Constructor for class de.chojo.sadu.queries.results.reading.SingleResult
- SingletonCall - Record Class in de.chojo.sadu.queries.calls
-
The SingletonCall class represents a SingletonCall object that contains a single query call representing a specific query.
- SingletonCall(Call) - Constructor for record class de.chojo.sadu.queries.calls.SingletonCall
-
Creates an instance of a
SingletonCall
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 interface de.chojo.sadu.core.base.DataSourceProvider
-
Get the underlying datasource
- source() - Method in interface de.chojo.sadu.queries.api.base.QueryProvider
- source() - Method in class de.chojo.sadu.queries.query.QueryImpl
- source() - Method in class de.chojo.sadu.updater.SqlUpdater
- split(String) - Static method in class de.chojo.sadu.core.updater.StatementSplitter
-
Splits a string of SQL statements into an array of statements.
- split(String, String) - Static method in class de.chojo.sadu.core.updater.StatementSplitter
-
Splits a string of SQL statements into an array of statements.
- split(String, String, String) - Static method in class de.chojo.sadu.core.updater.StatementSplitter
-
Splits a string of SQL statements into an array of statements.
- splitStatements(String) - Method in interface de.chojo.sadu.core.databases.Database
-
The split queries, if the db does not allow to execute multiple queries this function should return every query in one string.
- 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
- sql() - Method in class de.chojo.sadu.queries.execution.reading.ReaderImpl
- sql() - Method in class de.chojo.sadu.queries.execution.writing.CalledSingletonQueryImpl
- sql() - Method in class de.chojo.sadu.queries.query.ParsedQueryImpl
- sql() - Method in class de.chojo.sadu.queries.query.TokenizedQuery
- 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.
- SqlType - Interface in de.chojo.sadu.core.types
-
Represents a named data type in a database.
- SqlUpdater<T extends 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
- SqlVersion - Record Class in de.chojo.sadu.core.updater
-
Class representing a version maintained by the SqlUpdaterBuilder
- SqlVersion(int, int) - Constructor for record class de.chojo.sadu.core.updater.SqlVersion
-
A new SqlVersion with a major and patch version
- 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.
- StandardAdapter - Class in de.chojo.sadu.queries.call.adapter
-
The StandardAdapter class provides a set of static instances of Adapter, which map Java objects to specific SQL data types and provide the necessary conversions when binding the objects to a PreparedStatement.
- StandardReader - Class in de.chojo.sadu.mapper.reader
-
Default implementations of
ValueReader
. - StandardReader() - Constructor for class de.chojo.sadu.mapper.reader.StandardReader
- StandardValueConverter - Class in de.chojo.sadu.queries.converter
-
The StandardValueConverter class provides a set of predefined ValueConverters for various types.
- StandardValueConverter() - Constructor for class de.chojo.sadu.queries.converter.StandardValueConverter
- StatementSplitter - Class in de.chojo.sadu.core.updater
-
Splits a string of SQL statements into an array of statements.
- storage() - Method in class de.chojo.sadu.queries.query.QueryImpl
- store(String, Result<?>) - Method in class de.chojo.sadu.queries.storage.ResultStorageImpl
- storeAllAndAppend(String) - Method in interface de.chojo.sadu.queries.api.execution.reading.Reader
-
Stores all query results and allows to create a new query.
- storeAllAndAppend(String) - Method in class de.chojo.sadu.queries.execution.reading.ReaderImpl
- storeOneAndAppend(String) - Method in interface de.chojo.sadu.queries.api.execution.reading.Reader
-
Stores a query result and allows to create a new query.
- storeOneAndAppend(String) - Method in class de.chojo.sadu.queries.execution.reading.ReaderImpl
- strict() - Method in class de.chojo.sadu.mapper.MapperConfig
-
This will only use mappers which have a mapping value for all columns or the wild card mapper if present and no matching mapper was found.
- STRING - Static variable in class de.chojo.sadu.queries.call.adapter.StandardAdapter
- 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
- supply(ResultStorage) - Method in interface de.chojo.sadu.queries.calls.CallSupplier
T
- TestUtil - Class in de.chojo.sadu.testing
- 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
- throwExceptions - Variable in class de.chojo.sadu.queries.configuration.QueryConfigurationImpl
- throwExceptions() - Method in interface de.chojo.sadu.queries.api.configuration.QueryConfiguration
-
Retrieves the value of the throwExceptions field.
- throwExceptions() - Method in class de.chojo.sadu.queries.configuration.ConnectedQueryQueryConfigurationDelegate
- throwExceptions() - Method in interface de.chojo.sadu.queries.configuration.QueryConfiguration
-
Deprecated.Retrieves the value of the throwExceptions field.
- throwExceptions() - Method in class de.chojo.sadu.queries.configuration.QueryConfigurationImpl
- ThrowingBiConsumer<T,
U, E extends Exception> - Interface in de.chojo.sadu.core.exceptions -
Represents an operation that accepts a single input argument and returns no result.
- ThrowingBiFunction<T,
U, R, E extends Exception> - Interface in de.chojo.sadu.core.exceptions -
Represents a function which can throw an exception.
- ThrowingConsumer<T,
E extends Exception> - Interface in de.chojo.sadu.core.exceptions -
Represents an operation that accepts a single input argument and returns no result.
- ThrowingFunction<R,
T, E extends Exception> - Interface in de.chojo.sadu.core.exceptions -
Represents a function which can throw an exception.
- 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
- TIME - Static variable in class de.chojo.sadu.queries.call.adapter.StandardAdapter
- 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
- TIMESTAMP - Static variable in class de.chojo.sadu.queries.call.adapter.StandardAdapter
- 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
- toArray(ResultSet, int, T[]) - Static method in class de.chojo.sadu.core.conversion.ArrayConverter
-
Converts a column of a result set to an java array.
- toArray(ResultSet, String, T[]) - Static method in class de.chojo.sadu.core.conversion.ArrayConverter
-
Converts a column of a result set to an java array.
- toArray(Array) - Static method in class de.chojo.sadu.core.conversion.ArrayConverter
-
Convert a SQL
Array
into a java array of the requested return type. - toArray(ResultSet, int) - Static method in class de.chojo.sadu.core.conversion.ArrayConverter
-
Converts an array of a result set column to a java array
- toArray(ResultSet, String) - Static method in class de.chojo.sadu.core.conversion.ArrayConverter
-
Converts an array of a result set column to a java array
- toCollection(Array) - Static method in class de.chojo.sadu.core.conversion.ArrayConverter
-
Convert a SQL
Array
into a java array of the requested return type. - toCollection(ResultSet, String, Supplier<T>) - Static method in class de.chojo.sadu.core.conversion.ArrayConverter
-
Convert a SQL
Array
into a java array of the requested return type. - TokenizedQuery - Class in de.chojo.sadu.queries.query
- TokenizedQuery(String, Map<Integer, Integer>, Map<String, List<Integer>>) - Constructor for class de.chojo.sadu.queries.query.TokenizedQuery
- tokenizedSql() - Method in class de.chojo.sadu.queries.query.TokenizedQuery
- TokenParameter - Class in de.chojo.sadu.queries.parameter
- TokenParameter(String, ThrowingBiConsumer<PreparedStatement, Integer, SQLException>) - Constructor for class de.chojo.sadu.queries.parameter.TokenParameter
- toList(ResultSet, int) - Static method in class de.chojo.sadu.core.conversion.ArrayConverter
-
Converts a column of a result set to a list.
- toList(ResultSet, String) - Static method in class de.chojo.sadu.core.conversion.ArrayConverter
-
Converts a column of a result set to a list.
- toSet(ResultSet, String) - Static method in class de.chojo.sadu.core.conversion.ArrayConverter
-
Converts a column of a result set to a set.
- toSqlArray(Connection, SqlType, Object[]) - Static method in class de.chojo.sadu.core.conversion.ArrayConverter
-
Convert a java array to a sql array of the required type.
- toSqlArray(Connection, SqlType, Collection<?>) - Static method in class de.chojo.sadu.core.conversion.ArrayConverter
-
Convert a java collection to a sql array of the required type.
- toString() - Method in record class de.chojo.sadu.core.updater.SqlVersion
-
Returns a string representation of this record class.
- 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 class de.chojo.sadu.mapper.rowmapper.RowMapper
- toString() - Method in enum class de.chojo.sadu.mariadb.jdbc.MariaDbJdbc.SslMode
- toString() - Method in enum class de.chojo.sadu.postgresql.jdbc.PostgreSqlJdbc.SslMode
- toString() - Method in record class de.chojo.sadu.queries.calls.SingletonCall
-
Returns a string representation of this record class.
- 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 interface de.chojo.sadu.queries.api.call.adapter.Adapter
-
Returns the sql type of the Adapter as defined by
Types
- type() - Method in class de.chojo.sadu.updater.SqlUpdater
U
- unwrap(Class<T>) - Method in class de.chojo.sadu.core.connection.ConnectionDelegate
- update() - Method in interface de.chojo.sadu.queries.api.execution.writing.CalledBatchQuery
-
Executes update operations as part of a batch query.
- update() - Method in interface de.chojo.sadu.queries.api.execution.writing.CalledSingletonQuery
-
Updates the data in the database based on the provided query.
- update() - Method in class de.chojo.sadu.queries.execution.writing.CalledBatchQueryImpl
- update() - Method in class de.chojo.sadu.queries.execution.writing.CalledSingletonQueryImpl
- 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
- UpdaterBuilder<T extends JdbcConfig<?>,
S extends UpdaterBuilder<T, ?>> - Interface in de.chojo.sadu.core.updater - URL - Static variable in class de.chojo.sadu.queries.call.adapter.StandardAdapter
- user() - Method in interface de.chojo.sadu.core.configuration.DatabaseConfig
-
Retrieves the username associated with the database connection.
- user() - Method in class de.chojo.sadu.core.jdbc.RemoteJdbcConfig.Credentials
- 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. - user(String) - Method in class de.chojo.sadu.core.jdbc.RemoteJdbcConfig
-
Sets the user for the connection.
- userCredentials() - Method in class de.chojo.sadu.core.jdbc.RemoteJdbcConfig
-
Returns user credentials if the dataSourceCreator should set the credentials instead of jdbc url
- 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_BYTES - Static variable in class de.chojo.sadu.queries.converter.StandardValueConverter
- UUID_FROM_BYTES - Static variable in class de.chojo.sadu.mapper.reader.StandardReader
- UUID_FROM_STRING - Static variable in class de.chojo.sadu.mapper.reader.StandardReader
- 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
- UUID_STRING - Static variable in class de.chojo.sadu.queries.converter.StandardValueConverter
- UUIDAdapter - Class in de.chojo.sadu.queries.call.adapter
-
The UUIDAdapter class provides two Adapter instances for converting UUID objects to different types when binding them to a PreparedStatement.
- UUIDConverter - Class in de.chojo.sadu.core.conversion
-
Convert uuids to bytes and vice versa
V
- value() - Method in class de.chojo.sadu.core.jdbc.JdbProperty
-
The url encoded value of the property
- value() - Element in annotation interface de.chojo.sadu.mapper.annotation.MappingProvider
- ValueConverter<T,
V> - Interface in de.chojo.sadu.queries.converter -
A value converter that serves as an
AdapterMapping
andValueReader
- 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.
- valueRaw() - Method in class de.chojo.sadu.core.jdbc.JdbProperty
- ValueReader<T,
V> - Interface in de.chojo.sadu.mapper.reader -
Definition of a ValueReader to read columns from a
Row
and parse it to a java type. - 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
- versionQuery(String) - Method in interface de.chojo.sadu.core.databases.Database
-
Gets a query to read the version from the version table
- versionQuery(String) - Method in interface de.chojo.sadu.core.databases.DefaultDatabase
- versionTable - Variable in class de.chojo.sadu.updater.BaseSqlUpdaterBuilder
W
- wildcard(Class<T>) - Method in class de.chojo.sadu.mapper.RowMapperRegistry
-
Gets the wild card mapper if registered.
- 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 interface de.chojo.sadu.core.updater.UpdaterBuilder
-
Set the Classloader that should be used to load resourced.
- withClassLoader(ClassLoader) - Method in class de.chojo.sadu.updater.BaseSqlUpdaterBuilder
- withConfig(DatabaseConfig) - Method in class de.chojo.sadu.core.jdbc.RemoteJdbcConfig
-
Apply the given
DatabaseConfig
to configure the connection settings. - withConfig(DatabaseConfig) - Method in class de.chojo.sadu.postgresql.jdbc.PostgreSqlJdbc
- withConnection(Connection) - Method in interface de.chojo.sadu.queries.api.configuration.QueryConfiguration
-
Inject a connection into this configuration
- withConnection(Connection) - Method in class de.chojo.sadu.queries.configuration.ConnectedQueryConfigurationImpl
- withConnection(Connection) - Method in class de.chojo.sadu.queries.configuration.ConnectedQueryQueryConfigurationDelegate
- withConnection(Connection) - Method in class de.chojo.sadu.queries.configuration.QueryConfigurationImpl
- 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.
- withSingleTransaction() - Method in interface de.chojo.sadu.queries.api.configuration.QueryConfiguration
-
Returns a new instance of the ConnectedQueryConfiguration class with the "single transaction" configuration applied.
- withSingleTransaction() - Method in class de.chojo.sadu.queries.configuration.ConnectedQueryQueryConfigurationDelegate
- withSingleTransaction() - Method in interface de.chojo.sadu.queries.configuration.QueryConfiguration
-
Deprecated.Returns a new instance of the ConnectedQueryConfiguration class with the "single transaction" configuration applied.
- withSingleTransaction() - Method in class de.chojo.sadu.queries.configuration.QueryConfigurationImpl
- 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.
- WrappedQueryExecutionException - Exception in de.chojo.sadu.queries.exception
- WrappedQueryExecutionException(String) - Constructor for exception de.chojo.sadu.queries.exception.WrappedQueryExecutionException
-
Creates a new exception.
Z
- ZONED_DATE_TIME - Static variable in class de.chojo.sadu.mapper.reader.StandardReader
- ZONED_DATE_TIME - Static variable in class de.chojo.sadu.queries.call.adapter.StandardAdapter
-
Writes a zoned date time after converting it to an
Instant
storing it in UTC - ZONED_DATE_TIME - Static variable in class de.chojo.sadu.queries.converter.StandardValueConverter
-
Writes and reads
ZonedDateTime
asTimestamp
. - zonedDateTime(Calendar) - Static method in class de.chojo.sadu.mapper.reader.StandardReader
- zonedDateTime(Calendar) - Static method in class de.chojo.sadu.queries.call.adapter.StandardAdapter
- zonedDateTime(Calendar) - Static method in class de.chojo.sadu.queries.converter.StandardValueConverter
-
Writes and reads
ZonedDateTime
asTimestamp
.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
Row.get(String, ValueReader)
with one of theStandardReader