public static class DeletionTransformer.Factory extends java.lang.Object implements TransformerFactory
Constructor and Description |
---|
Factory(java.io.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 Factory(java.io.OutputStreamWriter scriptFileWriter, int maxBodySize, Session session, DBMS targetDBMSConfiguration, ExecutionContext executionContext)
scriptFileWriter
- 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 java.sql.SQLException
Session.ResultSetReader
which
transforms rows of a given table into an external representation.create
in interface TransformerFactory
table
- the tablejava.sql.SQLException