com.vividsolutions.jump.datastore.postgis
Class PostgisFeatureInputStream

java.lang.Object
  extended by com.vividsolutions.jump.io.BaseFeatureInputStream
      extended by com.vividsolutions.jump.datastore.postgis.PostgisFeatureInputStream
All Implemented Interfaces:
FeatureInputStream

public class PostgisFeatureInputStream
extends BaseFeatureInputStream

Reads features from an Oracle database.


Constructor Summary
PostgisFeatureInputStream(java.sql.Connection conn, java.lang.String queryString)
           
 
Method Summary
 void close()
           
 java.sql.Connection getConnection()
           
 FeatureSchema getFeatureSchema()
           
 
Methods inherited from class com.vividsolutions.jump.io.BaseFeatureInputStream
hasNext, next
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PostgisFeatureInputStream

public PostgisFeatureInputStream(java.sql.Connection conn,
                                 java.lang.String queryString)
Method Detail

getConnection

public java.sql.Connection getConnection()
Returns:
The underlaying Connection.

close

public void close()
           throws java.sql.SQLException
Specified by:
close in interface FeatureInputStream
Specified by:
close in class BaseFeatureInputStream
Throws:
java.sql.SQLException

getFeatureSchema

public FeatureSchema getFeatureSchema()
Specified by:
getFeatureSchema in interface FeatureInputStream
Specified by:
getFeatureSchema in class BaseFeatureInputStream