public class MDBFetchFeatureTypeOperation extends FetchFeatureTypeOperation
FetchFeatureTypeOperation.IndexInformationcrs, defaultGeometryColumn, featureType, geometrySubtype, geometryType, indexesInformation, primaryKeys, tableconn, helper, LOGGER| Constructor and Description |
|---|
MDBFetchFeatureTypeOperation(JDBCHelper helper) |
MDBFetchFeatureTypeOperation(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 EditableFeatureAttributeDescriptor |
getAttributeFromMetadata(EditableFeatureType type,
JDBCConnection conn,
java.sql.ResultSetMetaData rsMetadata,
int colIndex) |
protected int |
getDataTypeFromMetadata(java.sql.ResultSetMetaData rsMetadata,
int colIndex) |
protected java.util.List<java.lang.String> |
getPrimaryKeysFromInformationSchema(JDBCConnection conn) |
java.lang.String |
getSQLToRetrievePrimaryKeysFromInformationSchema() |
fetchFeatureTypeFromMetadata, fetchFeatureTypeFromMetadata, getIndexesInformation, getPrimaryKeysFromMetadata, getSQLToRetrieveMetadataOfTable, getTable, isInPrimaryKeys, performcloseConnection, continueTransactionAllowed, createSQLBuilder, getConnection, needTransaction, perform_operation, performpublic MDBFetchFeatureTypeOperation(JDBCHelper helper)
public MDBFetchFeatureTypeOperation(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 void fetchGeometryTypeAndSRS(EditableFeatureAttributeDescriptor attr, java.sql.ResultSetMetaData rsMetadata, int colIndex)
FetchFeatureTypeOperationfetchGeometryTypeAndSRS in class FetchFeatureTypeOperationprotected java.util.List<java.lang.String> getPrimaryKeysFromInformationSchema(JDBCConnection conn) throws java.sql.SQLException
getPrimaryKeysFromInformationSchema in class FetchFeatureTypeOperationjava.sql.SQLExceptionpublic java.lang.String getSQLToRetrievePrimaryKeysFromInformationSchema()
throws java.sql.SQLException
getSQLToRetrievePrimaryKeysFromInformationSchema in class FetchFeatureTypeOperationjava.sql.SQLExceptionprotected EditableFeatureAttributeDescriptor getAttributeFromMetadata(EditableFeatureType type, JDBCConnection conn, java.sql.ResultSetMetaData rsMetadata, int colIndex) throws java.sql.SQLException
getAttributeFromMetadata in class FetchFeatureTypeOperationjava.sql.SQLExceptionprotected int getDataTypeFromMetadata(java.sql.ResultSetMetaData rsMetadata,
int colIndex)
throws java.sql.SQLException
getDataTypeFromMetadata in class FetchFeatureTypeOperationjava.sql.SQLException