protected class DBOutputFormat.DBRecordWriter extends DBOutputFormat.DBRecordWriter implements RecordWriter<K,V>
Modifier | Constructor and Description |
---|---|
protected |
DBRecordWriter(Connection connection,
PreparedStatement statement) |
Modifier and Type | Method and Description |
---|---|
void |
close(Reporter reporter)
Close this
RecordWriter to future operations. |
close, getConnection, getStatement, write
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
write
protected DBRecordWriter(Connection connection, PreparedStatement statement) throws SQLException
SQLException
public void close(Reporter reporter) throws IOException
RecordWriter
to future operations.close
in interface RecordWriter<K extends DBWritable,V>
reporter
- facility to report progress.IOException
Copyright © 2017 Apache Software Foundation. All Rights Reserved.