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
SQLException
public void close(Reporter reporter) throws IOException
RecordWriter
to future operations.close
在接口中 RecordWriter<K extends DBWritable,V>
reporter
- facility to report progress.IOException
public void write(K key, V value) throws IOException
write
在接口中 RecordWriter<K extends DBWritable,V>
key
- the key to write.value
- the value to write.IOException
Copyright © 2009 The Apache Software Foundation