Package de.bytefish.pgbulkinsert.row
Class SimpleRowWriter
java.lang.Object
de.bytefish.pgbulkinsert.row.SimpleRowWriter
- All Implemented Interfaces:
AutoCloseable
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionSimpleRowWriter(SimpleRowWriter.Table table, org.postgresql.PGConnection connection) SimpleRowWriter(SimpleRowWriter.Table table, org.postgresql.PGConnection connection, boolean usePostgresQuoting) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidvoidsetNullCharacterHandler(Function<String, String> nullCharacterHandler) void
-
Constructor Details
-
SimpleRowWriter
public SimpleRowWriter(SimpleRowWriter.Table table, org.postgresql.PGConnection connection) throws SQLException - Throws:
SQLException
-
SimpleRowWriter
public SimpleRowWriter(SimpleRowWriter.Table table, org.postgresql.PGConnection connection, boolean usePostgresQuoting) throws SQLException - Throws:
SQLException
-
-
Method Details
-
startRow
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
enableNullCharacterHandler
public void enableNullCharacterHandler() -
setNullCharacterHandler
-