Uses of Interface
de.murmelmeister.library.database.ParameterProcessor
Packages that use ParameterProcessor
-
Uses of ParameterProcessor in de.murmelmeister.library.database
Fields in de.murmelmeister.library.database declared as ParameterProcessorMethods in de.murmelmeister.library.database that return ParameterProcessorModifier and TypeMethodDescriptiondefault ParameterProcessorParameterProcessor.andThen(ParameterProcessor after) Returns a new processor that first executes this processor and then invokes the providedafterprocessor.static ParameterProcessorParameterProcessor.combine(ParameterProcessor... processors) Combines all provided processors into a single processor executed in order.default ParameterProcessorParameterProcessor.compose(ParameterProcessor before) Returns a new processor that first executes the providedbeforeprocessor and then invokes this processor.static ParameterProcessorParameterProcessor.noop()Returns a ParameterProcessor that does nothing when executed.static ParameterProcessorParameterProcessor.of(ParameterProcessor processor) Returns the provided processor or a no-op processor if the provided value isnull.Methods in de.murmelmeister.library.database with parameters of type ParameterProcessorModifier and TypeMethodDescriptiondefault ParameterProcessorParameterProcessor.andThen(ParameterProcessor after) Returns a new processor that first executes this processor and then invokes the providedafterprocessor.static ParameterProcessorParameterProcessor.combine(ParameterProcessor... processors) Combines all provided processors into a single processor executed in order.default ParameterProcessorParameterProcessor.compose(ParameterProcessor before) Returns a new processor that first executes the providedbeforeprocessor and then invokes this processor.booleanDatabase.exists(String sql, ParameterProcessor parameters) Checks if a query, specified by the SQL string and processed parameters, returns any results.Database.existsAsync(String sql, ParameterProcessor parameters) Asynchronously checks if a record exists in the database by executing a query with the provided SQL and parameters.booleanDatabase.existsCallable(String sql, ParameterProcessor parameters) Executes a callable SQL query to check if any results exist.Database.existsCallableAsync(String sql, ParameterProcessor parameters) Asynchronously checks if a stored procedure exists in the database by executing it with the provided parameters.private PreparedStatementDatabase.getBatchStatement(Connection connection, String sql, ParameterProcessor parameters) Prepares a batch SQL statement using the provided connection, SQL query, and parameter operation.private CallableStatementDatabase.getCallableStatement(Connection connection, String sql, ParameterProcessor parameters) Prepares aCallableStatementusing the provided database connection and SQL string, then applies parameter operations to the statement.private PreparedStatementDatabase.getGeneratedKeysStatement(Connection connection, String sql, ParameterProcessor parameters) Prepares aPreparedStatementcapable of returning generated keys using the provided SQL query.private PreparedStatementDatabase.getPreparedStatement(Connection connection, String sql, ParameterProcessor parameters) Prepares aPreparedStatementusing the provided SQL and connection, and applies a parameter operation on the prepared statement before returning it.static ParameterProcessorParameterProcessor.of(ParameterProcessor processor) Returns the provided processor or a no-op processor if the provided value isnull.<T> TDatabase.query(String sql, T fallback, ResultSetProcessor<T> processor, ParameterProcessor parameters) Executes the provided SQL query and processes the resultingResultSetusing the givenResultSetProcessor.<T> CompletableFuture<T> Database.queryAsync(String sql, T fallback, ResultSetProcessor<T> processor, ParameterProcessor parameters) Asynchronously executes a query with the provided SQL and parameters, processes the result set using the providedResultSetProcessor, and returns a CompletableFuture containing the result of typeT.<T> TDatabase.queryCallable(String sql, T fallback, ResultSetProcessor<T> processor, ParameterProcessor parameters) Executes a callable SQL query processes the resultingResultSetusing the givenResultSetProcessor.<T> CompletableFuture<T> Database.queryCallableAsync(String sql, T fallback, ResultSetProcessor<T> processor, ParameterProcessor parameters) Asynchronously executes a callable statement with the specified procedure name and parameters, processes the result set using the providedResultSetProcessor, and returns a CompletableFuture containing the result of typeT.<T> List<T> Database.queryList(String sql, ResultSetProcessor<T> processor, ParameterProcessor parameters) Executes a query with the provided SQL and parameters, processes the result set using the providedResultSetProcessor, and returns a list of results of typeT.<T> CompletableFuture<List<T>> Database.queryListAsync(String sql, ResultSetProcessor<T> processor, ParameterProcessor parameters) Asynchronously executes a query with the provided SQL and parameters, processes the result set using the providedResultSetProcessor, and returns a CompletableFuture containing a list of results of typeT.<T> List<T> Database.queryListCallable(String sql, ResultSetProcessor<T> processor, ParameterProcessor parameters) Executes the given SQL callable statement, processes the result set, and returns a list of objects.<T> CompletableFuture<List<T>> Database.queryListCallableAsync(String sql, ResultSetProcessor<T> processor, ParameterProcessor parameters) Executes a SQL query asynchronously and processes the returned result set into a list of objects.intDatabase.update(String sql, ParameterProcessor parameters) Executes an update operation on the database using the provided SQL statement and parameter processor within a transactional context.longDatabase.updateAndGetGeneratedKeys(String sql, ParameterProcessor parameters) Executes the given SQL update statement within a transaction and retrieves the generated key for the updated record.int[]Database.updateBatch(String sql, ParameterProcessor parameters) Executes a batch update using the provided SQL query and parameter processor and returns an array of update counts indicating the number of rows affected by each batch statement.intDatabase.updateCallable(String sql, ParameterProcessor parameters) Executes a database update operation using a callable SQL statement within a transaction.