protected class DBOutputFormat.DBRecordWriter extends Object implements RecordWriter<K,V>
| 限定符 | 构造器和说明 |
|---|---|
protected |
DBOutputFormat.DBRecordWriter(Connection connection,
PreparedStatement statement) |
protected DBOutputFormat.DBRecordWriter(Connection connection, PreparedStatement statement) throws SQLException
SQLExceptionpublic void close(Reporter reporter) throws IOException
RecordWriter to future operations.close 在接口中 RecordWriter<K extends DBWritable,V>reporter - facility to report progress.IOExceptionpublic void write(K key, V value) throws IOException
write 在接口中 RecordWriter<K extends DBWritable,V>key - the key to write.value - the value to write.IOExceptionCopyright © 2009 The Apache Software Foundation