public class SQLiteFetchFeatureTypeOperation extends FetchFeatureTypeOperation
| Modifier and Type | Class and Description |
|---|---|
static class |
SQLiteFetchFeatureTypeOperation.SQLiteColumnInfo |
FetchFeatureTypeOperation.IndexInformationcrs, defaultGeometryColumn, featureType, geometrySubtype, geometryType, indexesInformation, primaryKeys, tableconn, helper, LOGGER| Constructor and Description |
|---|
SQLiteFetchFeatureTypeOperation(JDBCHelper helper) |
SQLiteFetchFeatureTypeOperation(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 SQLiteFetchFeatureTypeOperation(JDBCHelper helper)
public SQLiteFetchFeatureTypeOperation(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 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.SQLExceptionprotected 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.SQLException