Class DeletionTransformer.Factory
java.lang.Object
net.sf.jailer.database.DeletionTransformer.Factory
- All Implemented Interfaces:
TransformerFactory
- Enclosing class:
DeletionTransformer
Factory.
- Author:
- Ralf Wisser
-
Constructor Summary
ConstructorsConstructorDescriptionFactory(OutputStreamWriter scriptFileWriter, int maxBodySize, Session session, DBMS targetDBMSConfiguration, ExecutionContext executionContext) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionCreates transformer (asSession.ResultSetReaderwhich transforms rows of a given table into an external representation.
-
Constructor Details
-
Factory
public Factory(OutputStreamWriter scriptFileWriter, int maxBodySize, Session session, DBMS targetDBMSConfiguration, ExecutionContext executionContext) Constructor.- Parameters:
scriptFileWriter- the file to write tomaxBodySize- maximum length of SQL values list (for generated deletes)session- the current sessiontargetDBMSConfiguration- configuration of the target DBMSexecutionContext- the execution context
-
-
Method Details
-
create
Creates transformer (asSession.ResultSetReaderwhich transforms rows of a given table into an external representation.- Specified by:
createin interfaceTransformerFactory- Parameters:
table- the table- Returns:
- a transformer
- Throws:
SQLException
-