protected static class DoubleOutputFormat.DoubleRecordWriter<K,V>
extends org.apache.hadoop.mapreduce.RecordWriter<K,V>
Modifier and Type | Field and Description |
---|---|
protected DataOutputStream |
out |
Constructor and Description |
---|
DoubleRecordWriter(DataOutputStream out) |
Modifier and Type | Method and Description |
---|---|
void |
close(org.apache.hadoop.mapreduce.TaskAttemptContext context) |
void |
write(K key,
V value) |
protected DataOutputStream out
public DoubleRecordWriter(DataOutputStream out)
public void write(K key, V value) throws IOException
write
in class org.apache.hadoop.mapreduce.RecordWriter<K,V>
IOException
public void close(org.apache.hadoop.mapreduce.TaskAttemptContext context) throws IOException
close
in class org.apache.hadoop.mapreduce.RecordWriter<K,V>
IOException
Copyright © 2013–2022. All rights reserved.