@InterfaceAudience.Private public class NativeMapOutputCollectorDelegator<K,V> extends Object implements org.apache.hadoop.mapred.MapOutputCollector<K,V>
Constructor and Description |
---|
NativeMapOutputCollectorDelegator() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
collect(K key,
V value,
int partition) |
void |
flush() |
void |
init(org.apache.hadoop.mapred.MapOutputCollector.Context context) |
public void collect(K key, V value, int partition) throws IOException, InterruptedException
collect
in interface org.apache.hadoop.mapred.MapOutputCollector<K,V>
IOException
InterruptedException
public void close() throws IOException, InterruptedException
close
in interface org.apache.hadoop.mapred.MapOutputCollector<K,V>
IOException
InterruptedException
public void flush() throws IOException, InterruptedException, ClassNotFoundException
flush
in interface org.apache.hadoop.mapred.MapOutputCollector<K,V>
IOException
InterruptedException
ClassNotFoundException
public void init(org.apache.hadoop.mapred.MapOutputCollector.Context context) throws IOException, ClassNotFoundException
init
in interface org.apache.hadoop.mapred.MapOutputCollector<K,V>
IOException
ClassNotFoundException
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.