com.vividsolutions.jump.datastore.postgis
Class PostgisDSMetadata

java.lang.Object
  extended by com.vividsolutions.jump.datastore.postgis.PostgisDSMetadata
All Implemented Interfaces:
DataStoreMetadata

public class PostgisDSMetadata
extends java.lang.Object
implements DataStoreMetadata


Constructor Summary
PostgisDSMetadata(PostgisDSConnection conn)
           
 
Method Summary
 java.lang.String[] getColumnNames(java.lang.String datasetName)
           
 java.lang.String[] getDatasetNames()
           
 com.vividsolutions.jts.geom.Envelope getExtents(java.lang.String datasetName, java.lang.String attributeName)
           
 java.lang.String[] getGeometryAttributeNames(java.lang.String datasetName)
           
 SpatialReferenceSystemID getSRID(java.lang.String tableName, java.lang.String colName)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PostgisDSMetadata

public PostgisDSMetadata(PostgisDSConnection conn)
Method Detail

getDatasetNames

public java.lang.String[] getDatasetNames()
Specified by:
getDatasetNames in interface DataStoreMetadata

getExtents

public com.vividsolutions.jts.geom.Envelope getExtents(java.lang.String datasetName,
                                                       java.lang.String attributeName)
Specified by:
getExtents in interface DataStoreMetadata
Returns:
May be null if the extents cannot be determined

getSRID

public SpatialReferenceSystemID getSRID(java.lang.String tableName,
                                        java.lang.String colName)
                                 throws java.sql.SQLException
Throws:
java.sql.SQLException

getGeometryAttributeNames

public java.lang.String[] getGeometryAttributeNames(java.lang.String datasetName)
Specified by:
getGeometryAttributeNames in interface DataStoreMetadata

getColumnNames

public java.lang.String[] getColumnNames(java.lang.String datasetName)