An object that reads result set rows and returns corresponding object(s) from them.
Different queries accomplish this in different ways so a query supplies a suitable ResultObjectFactory
to each QueryResult when it is executed. The QueryResult only uses it to turn ResultSet rows into objects
and otherwise manages the ResultSet itself.
For example an implementation of this interface could return a single Persistent object per row (PersistentIDROF).
Another implementation could return all columns of the result set as separate objects.
See Also: QueryResult version: $Revision: 1.4 $ |