@InterfaceAudience.Public
@InterfaceStability.Stable
public interface OutputCollector<K,V>
Modifier and Type | Method and Description |
---|---|
void |
collect(K key,
V value)
Adds a key/value pair to the output.
|
void collect(K key, V value) throws IOException
key
- the key to collect.value
- to value to collect.IOException
Copyright © 2021 Apache Software Foundation. All rights reserved.