public class RecordMapper extends Object
| Constructor and Description |
|---|
RecordMapper() |
| Modifier and Type | Method and Description |
|---|---|
void |
copy()
Copy the
RecordReader
data using the RecordWriter. |
public void copy()
throws Exception
RecordReader
data using the RecordWriter.
Note that unless batch is supported by
both the RecordReader and RecordWriter
then writes will happen one at a time.
You can see if batch is enabled via RecordReader.batchesSupported()
and RecordWriter.supportsBatch() respectively.ExceptionCopyright © 2021. All rights reserved.