public class PostgreSQLPerformChangesOperation extends PerformChangesOperation
dbName, deleteds, featureType, featureTypesChanged, inserteds, schemaName, tableName, typeChanged, updateds
conn, helper, logger
Constructor and Description |
---|
PostgreSQLPerformChangesOperation(JDBCHelper helper) |
PostgreSQLPerformChangesOperation(JDBCHelper helper,
String dbName,
String schemaName,
String tableName,
FeatureType featureType,
Iterator<FeatureReferenceProviderServices> deleteds,
Iterator<FeatureProvider> inserteds,
Iterator<FeatureProvider> updateds,
Iterator<FeatureStoreProvider.FeatureTypeChanged> featureTypesChanged) |
Modifier and Type | Method and Description |
---|---|
void |
performInserts(Connection conn,
String database,
String schema,
String table,
FeatureType type,
Iterator<FeatureProvider> inserteds) |
void |
performUpdates(Connection conn,
String database,
String schema,
String table,
FeatureType type,
Iterator<FeatureProvider> updateds) |
void |
performUpdateTable(Connection conn,
String database,
String schema,
String table,
FeatureType original,
FeatureType target) |
buildDeleteSQL, buildInsertSQL, buildUpdateSQL, buildUpdateTableSQL, isTypeChanged, perform, performDeletes
getConnection
continueTransactionAllowed, createSQLBuilder, needTransaction, perform_operation, perform
public PostgreSQLPerformChangesOperation(JDBCHelper helper)
public PostgreSQLPerformChangesOperation(JDBCHelper helper, String dbName, String schemaName, String tableName, FeatureType featureType, Iterator<FeatureReferenceProviderServices> deleteds, Iterator<FeatureProvider> inserteds, Iterator<FeatureProvider> updateds, Iterator<FeatureStoreProvider.FeatureTypeChanged> featureTypesChanged)
public void performInserts(Connection conn, String database, String schema, String table, FeatureType type, Iterator<FeatureProvider> inserteds) throws DataException
performInserts
in class PerformChangesOperation
DataException
public void performUpdates(Connection conn, String database, String schema, String table, FeatureType type, Iterator<FeatureProvider> updateds) throws DataException
performUpdates
in class PerformChangesOperation
DataException
public void performUpdateTable(Connection conn, String database, String schema, String table, FeatureType original, FeatureType target) throws DataException
performUpdateTable
in class PerformChangesOperation
DataException