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
ConstructorsConstructorDescriptionVirtualParameters(QueryParameters parameters, VirtualParametersHandler handler) Creates a newVirtualParametersinstance. -
Method Summary
Modifier and TypeMethodDescriptionvoidcallHandler(DbPreparedStatement statement) Calls the registeredVirtualParametersHandler.
-
Constructor Details
-
VirtualParameters
Creates a newVirtualParametersinstance.- Parameters:
parameters- the actual parameters that are virtual.handler- theVirtualParametersHandlerthat 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
-