public class DBWriter extends Object implements IDBWriter
| Constructor and Description |
|---|
DBWriter(Connection connection,
List<TableInfo> tableInfos,
JDBCUtil dbUtil,
MimeBuffer mimeBuffer) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
getMimeId(String mimeString) |
void |
writeRow(TableInfo table,
Map<Cols,String> data) |
public DBWriter(Connection connection, List<TableInfo> tableInfos, JDBCUtil dbUtil, MimeBuffer mimeBuffer) throws IOException, SQLException
IOExceptionSQLExceptionpublic void writeRow(TableInfo table, Map<Cols,String> data) throws IOException
writeRow in interface IDBWriterIOExceptionpublic void close()
throws IOException
close in interface IDBWriterIOExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.