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
IOException
SQLException
public void writeRow(TableInfo table, Map<Cols,String> data) throws IOException
writeRow
in interface IDBWriter
IOException
public void close() throws IOException
close
in interface IDBWriter
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.