Mercurial > dive4elements > gnv-client
comparison geo-backend/src/main/java/de/intevation/gnv/geobackend/sde/datasources/ResultSet.java @ 129:110e3ac1b7d2
Library Dependencies Added to pom.xml-File
Import of SDE-Datasources
geo-backend/trunk@5 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Wed, 02 Sep 2009 09:07:03 +0000 |
parents | |
children | e4eacd613356 |
comparison
equal
deleted
inserted
replaced
128:9b3f5a067c29 | 129:110e3ac1b7d2 |
---|---|
1 /** | |
2 * Title: ResultSet, $Header: /share/gdi/SDI-Suite/Repository/projekte/BSH-GDI/genericViewer/src/main/java/de/conterra/bsh/gdi/gnviewer/datasources/ResultSet.java,v 1.2 2008/01/30 12:38:34 blume Exp $ | |
3 * Source: $Source: /share/gdi/SDI-Suite/Repository/projekte/BSH-GDI/genericViewer/src/main/java/de/conterra/bsh/gdi/gnviewer/datasources/ResultSet.java,v $ | |
4 * created by: Stefan Blume (blume) | |
5 * erstellt am: 21.11.2007 | |
6 * Copyright: con terra GmbH, 2005 | |
7 * | |
8 * modified by: $Author: blume $ | |
9 * modified on: $Date: 2008/01/30 12:38:34 $ | |
10 * Version: $Revision: 1.2 $ | |
11 * TAG: $Name: $ | |
12 * locked from: $Locker: $ | |
13 * CVS State: $State: Exp $ | |
14 * Project: $ProjectName$ | |
15 */ | |
16 package de.intevation.gnv.geobackend.sde.datasources; | |
17 | |
18 import org.apache.log4j.Logger; | |
19 | |
20 /** | |
21 * The class <code>ResultSet</code> fulfills the following purposes: | |
22 * <ol> | |
23 * <li>Providing an abstract object for dealing with result sets.</li> | |
24 * </ol> | |
25 * | |
26 * @author blume | |
27 * @version 1.0 | |
28 * @serial 1.0 | |
29 * @see | |
30 * @since 21.11.2007 09:26:53 | |
31 */ | |
32 public abstract class ResultSet { | |
33 | |
34 /** | |
35 * Default Logging instance | |
36 */ | |
37 private static Logger sLogger = Logger.getLogger(ResultSet.class); | |
38 | |
39 /** | |
40 * Returns the number of hits. | |
41 * | |
42 * @return count of results. | |
43 */ | |
44 public abstract int getCount(); | |
45 | |
46 /** | |
47 * Returns the number of columns returned through the query. | |
48 * | |
49 * @return the number of columns. | |
50 */ | |
51 public abstract int getNumberOfColumns(); | |
52 | |
53 /** | |
54 * A ResultSet can tell about the concrete definition of each column. | |
55 * This method returns an array of {@link de.conterra.bsh.gdi.gnviewer.datasources.ColDefinition}-Objects. | |
56 * | |
57 * @return the definitions describing the result set. | |
58 */ | |
59 public abstract ColDefinition[] getColumnDefinitions(); | |
60 | |
61 /** | |
62 * Returns an array of Rows. The rows contain the "content" of the current ResultSet. | |
63 * | |
64 * @return the results itself. | |
65 */ | |
66 public abstract Row[] getResults(); | |
67 | |
68 } |