Class AbstractResult

java.lang.Object
org.apache.openjpa.jdbc.sql.AbstractResult
All Implemented Interfaces:
Result, Closeable
Direct Known Subclasses:
ResultSetResult

public abstract class AbstractResult extends Object implements Result
A Result implementation designed to be subclassed easily by implementations. All get<type> calls are delegated to the getObjectInternal(Object,int,Object,Joins) method, which should be implemented by subclasses along with nextInternal(), containsInternal(java.lang.Object, org.apache.openjpa.jdbc.sql.Joins), and Result.size(). Most of the methods of this class will accept return values from getObjectInternal(Object,int,Object,Joins) that are not exactly the right type. For example, any numeric type can be returned as any Number type, and dates, locales, characters, and booleans can be returned as strings.
Author:
Abe White
See Also: