Class PostgreSQLFetchFeatureTypeOperation

java.lang.Object
org.gvsig.fmap.dal.store.jdbc2.spi.operations.AbstractConnectionOperation
org.gvsig.fmap.dal.store.jdbc2.spi.operations.FetchFeatureTypeOperation
org.gvsig.postgresql.dal.operations.PostgreSQLFetchFeatureTypeOperation
All Implemented Interfaces:
org.gvsig.fmap.dal.store.jdbc2.spi.operations.ConnectionOperation

public class PostgreSQLFetchFeatureTypeOperation extends org.gvsig.fmap.dal.store.jdbc2.spi.operations.FetchFeatureTypeOperation
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.gvsig.fmap.dal.store.jdbc2.spi.operations.FetchFeatureTypeOperation

    org.gvsig.fmap.dal.store.jdbc2.spi.operations.FetchFeatureTypeOperation.IndexInformation
  • Field Summary

    Fields inherited from class org.gvsig.fmap.dal.store.jdbc2.spi.operations.FetchFeatureTypeOperation

    crs, defaultGeometryColumn, featureType, geometrySubtype, geometryType, indexesInformation, primaryKeys, table

    Fields inherited from class org.gvsig.fmap.dal.store.jdbc2.spi.operations.AbstractConnectionOperation

    conn, helper, LOGGER
  • Constructor Summary

    Constructors
    Constructor
    Description
    PostgreSQLFetchFeatureTypeOperation(org.gvsig.fmap.dal.store.jdbc2.JDBCHelper helper)
     
    PostgreSQLFetchFeatureTypeOperation(org.gvsig.fmap.dal.store.jdbc2.JDBCHelper helper, org.gvsig.fmap.dal.feature.EditableFeatureType featureType, org.gvsig.fmap.dal.store.jdbc2.OperationsFactory.TableReference table, List<String> primaryKeys, String defaultGeometryColumn, org.gvsig.crs.projection.lib.Projection crs, int geometryType, int geometrySubtype)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    fetch(org.gvsig.fmap.dal.store.jdbc2.JDBCConnection conn)
     
    protected void
    fetchGeometryTypeAndSRS(org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor attr, ResultSetMetaData rsMetadata, int colIndex)
     
    protected int
    getDataTypeFromMetadata(ResultSetMetaData rsMetadata, int colIndex)
     
     

    Methods inherited from class org.gvsig.fmap.dal.store.jdbc2.spi.operations.FetchFeatureTypeOperation

    fetchFeatureTypeFromMetadata, fetchFeatureTypeFromMetadata, getAttributeFromMetadata, getIndexesInformation, getPrimaryKeysFromInformationSchema, getPrimaryKeysFromMetadata, getSQLToRetrieveMetadataOfTable, getTable, isInPrimaryKeys, perform

    Methods inherited from class org.gvsig.fmap.dal.store.jdbc2.spi.operations.AbstractConnectionOperation

    closeConnection, continueTransactionAllowed, createSQLBuilder, getConnection, needTransaction, perform, perform_operation

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PostgreSQLFetchFeatureTypeOperation

      public PostgreSQLFetchFeatureTypeOperation(org.gvsig.fmap.dal.store.jdbc2.JDBCHelper helper)
    • PostgreSQLFetchFeatureTypeOperation

      public PostgreSQLFetchFeatureTypeOperation(org.gvsig.fmap.dal.store.jdbc2.JDBCHelper helper, org.gvsig.fmap.dal.feature.EditableFeatureType featureType, org.gvsig.fmap.dal.store.jdbc2.OperationsFactory.TableReference table, List<String> primaryKeys, String defaultGeometryColumn, org.gvsig.crs.projection.lib.Projection crs, int geometryType, int geometrySubtype)
  • Method Details

    • fetch

      public void fetch(org.gvsig.fmap.dal.store.jdbc2.JDBCConnection conn) throws org.gvsig.fmap.dal.exception.DataException
      Overrides:
      fetch in class org.gvsig.fmap.dal.store.jdbc2.spi.operations.FetchFeatureTypeOperation
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • getDataTypeFromMetadata

      protected int getDataTypeFromMetadata(ResultSetMetaData rsMetadata, int colIndex) throws SQLException
      Overrides:
      getDataTypeFromMetadata in class org.gvsig.fmap.dal.store.jdbc2.spi.operations.FetchFeatureTypeOperation
      Throws:
      SQLException
    • getSQLToRetrievePrimaryKeysFromInformationSchema

      public String getSQLToRetrievePrimaryKeysFromInformationSchema() throws SQLException
      Overrides:
      getSQLToRetrievePrimaryKeysFromInformationSchema in class org.gvsig.fmap.dal.store.jdbc2.spi.operations.FetchFeatureTypeOperation
      Throws:
      SQLException
    • fetchGeometryTypeAndSRS

      protected void fetchGeometryTypeAndSRS(org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor attr, ResultSetMetaData rsMetadata, int colIndex)
      Overrides:
      fetchGeometryTypeAndSRS in class org.gvsig.fmap.dal.store.jdbc2.spi.operations.FetchFeatureTypeOperation