Mercurial > dive4elements > gnv-client
view geo-backend/src/main/java/de/intevation/gnv/geobackend/sde/datasources/ResultSet.java @ 894:d674cef2ca0d
Using unix line endings only.
geo-backend/trunk@939 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Sun, 18 Apr 2010 09:22:38 +0000 |
parents | e5e30090c37c |
children | ebeb56428409 |
line wrap: on
line source
package de.intevation.gnv.geobackend.sde.datasources; import org.apache.log4j.Logger; /** * The class <code>ResultSet</code> fulfills the following purposes: * <ol> * <li>Providing an abstract object for dealing with result sets.</li> * </ol> * * @author blume * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a> */ public abstract class ResultSet implements java.sql.ResultSet { /** * Default Logging instance */ private static Logger sLogger = Logger.getLogger(ResultSet.class); /** * Returns the number of hits. * @return count of results. */ public abstract int getCount(); /** * Returns the number of columns returned through the query. * @return the number of columns. */ public abstract int getNumberOfColumns(); /** * A ResultSet can tell about the concrete definition of each column. * This method returns an array of ColDefinition-Objects. * @return the definitions describing the result set. */ public abstract ColDefinition[] getColumnDefinitions(); /** * Returns an array of Rows. The rows contain the "content" of the current ResultSet. * * @return the results itself. */ public abstract Row[] getResults(); }