@InterfaceAudience.Public
 @InterfaceStability.Evolving
public abstract class KeyValueWriter
extends org.apache.tez.runtime.api.Writer
Writer| Constructor and Description | 
|---|
| KeyValueWriter() | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract void | write(Object key,
     Object value)Writes a key/value pair. | 
public abstract void write(Object key, Object value) throws IOException
key - the key to writevalue - the value to writeIOException - if an error occurs{@link - IOInterruptedException} if IO was interrupted{@link - IOInterruptedException} if IO was performing a blocking operation and was interruptedCopyright © 2024 Apache Software Foundation. All rights reserved.