This class implements all of the methods that are in the interface. Each method runs the SQL statement that is in the method's annotation. Each method also calls the pureQuery runtime engine to process the results that are returned by the statements into the declared result types.
For every annotated-method interface that you generate, pureQuery generates an implementation class. If you write such an interface from scratch in Optim™ Development Studio and rebuild your Java™ project, pureQuery generates an implementation class for that interface, too.
For each declared method, an implementation class includes the method definition, an internal pureQuery StatementDescriptor, a generated RowHandler or ResultHandler (if either of these is required), and an internal pureQuery ParameterHandler (if one is required).
The name of the class is based on the name of the original user-defined interface, with “Impl” appended at the end of the name. The name is never used by other parts of an application. Those parts can reference and use the interface.
In addition to implementing the interface, the implementation class extends the internal pureQuery class BaseData, which in turn implements the external Data interface. This superclass is part of the pureQuery runtime engine and handles the rote, repeated operations that are required to access a database and to process results.