org.deegree.feature.persistence.sql
Interface FeatureBuilder

All Known Implementing Classes:
FeatureBuilderBlob, FeatureBuilderRelational

public interface FeatureBuilder

Builds Feature instances from SQL result sets.

Version:
$Revision: 30426 $, $Date: 2011-04-13 13:43:48 +0200 (Wed, 13 Apr 2011) $
Author:
Markus Schneider, last edited by: $Author: mschneider $

Method Summary
 Feature buildFeature(ResultSet rs)
          Builds a Feature instance from the current row of the given ResultSet.
 List<String> getInitialSelectColumns()
          Returns the columns for the SELECT statement that is used to retrieve the ResultSet.
 

Method Detail

getInitialSelectColumns

List<String> getInitialSelectColumns()
Returns the columns for the SELECT statement that is used to retrieve the ResultSet.

Returns:
list of columns, never null

buildFeature

Feature buildFeature(ResultSet rs)
                     throws SQLException
Builds a Feature instance from the current row of the given ResultSet.

Parameters:
rs - SQL result set, must not be null
Returns:
created Feature instance, never null
Throws:
SQLException


Copyright © 2011. All Rights Reserved.