com.vividsolutions.jump.datastore.postgis
Class PostgisResultSetConverter

java.lang.Object
  extended by com.vividsolutions.jump.datastore.postgis.PostgisResultSetConverter

public class PostgisResultSetConverter
extends java.lang.Object

Implements the mapping between a result set and a FeatureSchema and Feature set. This is a transient worker class, whose lifetime should be no longer than the lifetime of the provided ResultSet


Constructor Summary
PostgisResultSetConverter(java.sql.Connection conn, java.sql.ResultSet rs)
           
 
Method Summary
 Feature getFeature()
           
 FeatureSchema getFeatureSchema()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PostgisResultSetConverter

public PostgisResultSetConverter(java.sql.Connection conn,
                                 java.sql.ResultSet rs)
Method Detail

getFeatureSchema

public FeatureSchema getFeatureSchema()
                               throws java.sql.SQLException
Throws:
java.sql.SQLException

getFeature

public Feature getFeature()
                   throws java.lang.Exception
Throws:
java.lang.Exception