org.apache.hadoop.mapred.OutputCollector<K,V>@Private
public class BufferPusher<K,V>
extends java.lang.Object
implements org.apache.hadoop.mapred.OutputCollector<K,V>
BufferPushee to collect it| Constructor | Description |
|---|---|
BufferPusher(java.lang.Class<K> iKClass,
java.lang.Class<V> iVClass,
NativeDataTarget target) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
|
void |
collect(K key,
V value) |
|
void |
collect(K key,
V value,
int partition) |
|
void |
flush() |
public BufferPusher(java.lang.Class<K> iKClass, java.lang.Class<V> iVClass, NativeDataTarget target) throws java.io.IOException
java.io.IOExceptionpublic void collect(K key, V value, int partition) throws java.io.IOException
java.io.IOExceptionpublic void flush()
throws java.io.IOException
java.io.IOExceptionpublic void close()
throws java.io.IOException
java.io.IOExceptionCopyright © 2008–2025 Apache Software Foundation. All rights reserved.