public class SimpleRowWriter extends Object implements AutoCloseable
| Modifier and Type | Class and Description |
|---|---|
static class |
SimpleRowWriter.Table |
| Constructor and Description |
|---|
SimpleRowWriter(SimpleRowWriter.Table table,
org.postgresql.PGConnection connection) |
SimpleRowWriter(SimpleRowWriter.Table table,
org.postgresql.PGConnection connection,
boolean usePostgresQuoting) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
enableNullCharacterHandler() |
void |
setNullCharacterHandler(Function<String,String> nullCharacterHandler) |
void |
startRow(Consumer<SimpleRow> consumer) |
public SimpleRowWriter(SimpleRowWriter.Table table, org.postgresql.PGConnection connection) throws SQLException
SQLExceptionpublic SimpleRowWriter(SimpleRowWriter.Table table, org.postgresql.PGConnection connection, boolean usePostgresQuoting) throws SQLException
SQLExceptionpublic void close()
close in interface AutoCloseablepublic void enableNullCharacterHandler()
Copyright © 2020. All rights reserved.