public static class DeletionTransformer.Factory extends Object implements TransformerFactory
| Constructor and Description |
|---|
DeletionTransformer.Factory(OutputStreamWriter scriptFileWriter,
int maxBodySize,
Session session,
DBMS targetDBMSConfiguration,
ExecutionContext executionContext)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Session.ResultSetReader |
create(Table table)
Creates transformer (as
Session.ResultSetReader which
transforms rows of a given table into an external representation. |
public DeletionTransformer.Factory(OutputStreamWriter scriptFileWriter, int maxBodySize, Session session, DBMS targetDBMSConfiguration, ExecutionContext executionContext)
table - the table to read fromscriptFileWriter - the file to write tomaxBodySize - maximum length of SQL values list (for generated deletes)targetDBMSConfiguration - configuration of the target DBMSpublic Session.ResultSetReader create(Table table) throws SQLException
Session.ResultSetReader which
transforms rows of a given table into an external representation.create in interface TransformerFactorytable - the tableSQLException