@InterfaceAudience.Private public class BufferPusher<K,V> extends Object implements org.apache.hadoop.mapred.OutputCollector<K,V>
BufferPushee
to collect itConstructor and Description |
---|
BufferPusher(Class<K> iKClass,
Class<V> iVClass,
NativeDataTarget target) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
collect(K key,
V value) |
void |
collect(K key,
V value,
int partition) |
void |
flush() |
public BufferPusher(Class<K> iKClass, Class<V> iVClass, NativeDataTarget target) throws IOException
IOException
public void collect(K key, V value, int partition) throws IOException
IOException
public void collect(K key, V value) throws IOException
collect
in interface org.apache.hadoop.mapred.OutputCollector<K,V>
IOException
public void flush() throws IOException
IOException
public void close() throws IOException
IOException
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.