org.deegree.feature.persistence.sql.blob
Class FeatureBuilderBlob

java.lang.Object
  extended by org.deegree.feature.persistence.sql.blob.FeatureBuilderBlob
All Implemented Interfaces:
FeatureBuilder

public class FeatureBuilderBlob
extends Object
implements FeatureBuilder

Builds Feature instances from SQL result set rows (BLOB/hybrid mode).

Version:
$Revision: 25480 $, $Date: 2010-07-22 19:36:56 +0200 (Do, 22. Jul 2010) $
Author:
Markus Schneider, last edited by: $Author: mschneider $

Constructor Summary
FeatureBuilderBlob(SQLFeatureStore fs, BlobMapping blobMapping)
          Creates a new FeatureBuilderBlob instance.
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FeatureBuilderBlob

public FeatureBuilderBlob(SQLFeatureStore fs,
                          BlobMapping blobMapping)
Creates a new FeatureBuilderBlob instance.

Parameters:
fs - feature store, must not be null
blobMapping - blob mapping parameters, must not be null
Method Detail

getInitialSelectColumns

public List<String> getInitialSelectColumns()
Description copied from interface: FeatureBuilder
Returns the columns for the SELECT statement that is used to retrieve the ResultSet.

Specified by:
getInitialSelectColumns in interface FeatureBuilder
Returns:
list of columns, never null

buildFeature

public Feature buildFeature(ResultSet rs)
                     throws SQLException
Description copied from interface: FeatureBuilder
Builds a Feature instance from the current row of the given ResultSet.

Specified by:
buildFeature in interface FeatureBuilder
Parameters:
rs - SQL result set, must not be null
Returns:
created Feature instance, never null
Throws:
SQLException


Copyright © 2011. All Rights Reserved.