Package rife.database
Class VirtualParameters
java.lang.Object
rife.database.VirtualParameters
Internal class to handle virtual parameters of a
DbPreparedStatement
.- Since:
- 1.0
-
Constructor Summary
ConstructorDescriptionVirtualParameters
(QueryParameters parameters, VirtualParametersHandler handler) Creates a newVirtualParameters
instance. -
Method Summary
Modifier and TypeMethodDescriptionvoid
callHandler
(DbPreparedStatement statement) Calls the registeredVirtualParametersHandler
.
-
Constructor Details
-
VirtualParameters
Creates a newVirtualParameters
instance.- Parameters:
parameters
- the actual parameters that are virtual.handler
- theVirtualParametersHandler
that will be used by thecallHandler(DbPreparedStatement)
method.- Since:
- 1.0
-
-
Method Details
-
callHandler
Calls the registeredVirtualParametersHandler
. This is typically called when all virtual parameters have been defined in a prepared statement and the statement is ready to be executed.- Parameters:
statement
- the prepared statement that has all the virtual parameters defined.- Since:
- 1.0
-