| Constructor and Description |
|---|
HubspotRecordWriter(org.apache.hadoop.mapreduce.TaskAttemptContext taskAttemptContext)
Constructor for HubspotRecordWriter object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close(org.apache.hadoop.mapreduce.TaskAttemptContext taskAttemptContext) |
void |
write(org.apache.hadoop.io.NullWritable nullWritable,
String input) |
public HubspotRecordWriter(org.apache.hadoop.mapreduce.TaskAttemptContext taskAttemptContext)
throws IOException
taskAttemptContext - the task attempt contextIOException - on issues with data readingpublic void write(org.apache.hadoop.io.NullWritable nullWritable,
String input)
throws IOException
write in class org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.NullWritable,String>IOExceptionpublic void close(org.apache.hadoop.mapreduce.TaskAttemptContext taskAttemptContext)
close in class org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.NullWritable,String>Copyright © 2022. All rights reserved.