public class PostgreSQLFetchFeatureTypeOperation extends FetchFeatureTypeOperation
FetchFeatureTypeOperation.IndexInformationcrs, defaultGeometryColumn, featureType, geometrySubtype, geometryType, indexesInformation, primaryKeys, tableconn, helper, LOGGER| Constructor and Description |
|---|
PostgreSQLFetchFeatureTypeOperation(JDBCHelper helper) |
PostgreSQLFetchFeatureTypeOperation(JDBCHelper helper,
EditableFeatureType featureType,
OperationsFactory.TableReference table,
java.util.List<java.lang.String> primaryKeys,
java.lang.String defaultGeometryColumn,
IProjection crs,
int geometryType,
int geometrySubtype) |
| Modifier and Type | Method and Description |
|---|---|
void |
fetch(JDBCConnection conn) |
protected void |
fetchGeometryTypeAndSRS(EditableFeatureAttributeDescriptor attr,
java.sql.ResultSetMetaData rsMetadata,
int colIndex)
Inicializa el tipo, subtipo y SRS del attributo de tipo geometria.
|
protected int |
getDataTypeFromMetadata(java.sql.ResultSetMetaData rsMetadata,
int colIndex) |
java.lang.String |
getSQLToRetrievePrimaryKeysFromInformationSchema() |
fetchFeatureTypeFromMetadata, fetchFeatureTypeFromMetadata, getAttributeFromMetadata, getIndexesInformation, getPrimaryKeysFromInformationSchema, getPrimaryKeysFromMetadata, getSQLToRetrieveMetadataOfTable, getTable, isInPrimaryKeys, performcloseConnection, continueTransactionAllowed, createSQLBuilder, getConnection, needTransaction, perform_operation, performpublic PostgreSQLFetchFeatureTypeOperation(JDBCHelper helper)
public PostgreSQLFetchFeatureTypeOperation(JDBCHelper helper, EditableFeatureType featureType, OperationsFactory.TableReference table, java.util.List<java.lang.String> primaryKeys, java.lang.String defaultGeometryColumn, IProjection crs, int geometryType, int geometrySubtype)
public void fetch(JDBCConnection conn) throws DataException
fetch in class FetchFeatureTypeOperationDataExceptionprotected int getDataTypeFromMetadata(java.sql.ResultSetMetaData rsMetadata,
int colIndex)
throws java.sql.SQLException
getDataTypeFromMetadata in class FetchFeatureTypeOperationjava.sql.SQLExceptionpublic java.lang.String getSQLToRetrievePrimaryKeysFromInformationSchema()
throws java.sql.SQLException
getSQLToRetrievePrimaryKeysFromInformationSchema in class FetchFeatureTypeOperationjava.sql.SQLExceptionprotected void fetchGeometryTypeAndSRS(EditableFeatureAttributeDescriptor attr, java.sql.ResultSetMetaData rsMetadata, int colIndex)
FetchFeatureTypeOperationfetchGeometryTypeAndSRS in class FetchFeatureTypeOperation