class FastCopyHelper.FastCopyBundleElement
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
(package private) java.util.function.Function<FastCopyHelper.FastCopyContext,java.lang.Object[]> |
generateArgs
A
Function that will generate the arguments for the SQL, depending on the given context. |
(package private) java.lang.String |
sql
The SQL that will be executed.
|
| Constructor and Description |
|---|
FastCopyBundleElement(java.lang.String sql,
java.util.function.Function<FastCopyHelper.FastCopyContext,java.lang.Object[]> generateArgs)
Default constructor with two parameters.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
execute(FastCopyHelper.FastCopyContext context)
Method that executes the SQL of this element, with the computed arguments.
|
final java.lang.String sql
final java.util.function.Function<FastCopyHelper.FastCopyContext,java.lang.Object[]> generateArgs
Function that will generate the arguments for the SQL, depending on the given context.FastCopyBundleElement(java.lang.String sql,
java.util.function.Function<FastCopyHelper.FastCopyContext,java.lang.Object[]> generateArgs)
sql - The SQL that will be used.generateArgs - The Function used to generate the arguments.void execute(FastCopyHelper.FastCopyContext context) throws PersistenceException
context - The context used to generate arguments.PersistenceException