org.apache.tez.runtime.library.api
Interface KeyValueWriter
- All Superinterfaces:
- org.apache.tez.runtime.api.Writer
- All Known Implementing Classes:
- FileBasedKVWriter
public interface KeyValueWriter
- extends org.apache.tez.runtime.api.Writer
A key/value(s) pair based Writer
write
void write(Object key,
Object value)
throws IOException
- Writes a key/value pair.
- Parameters:
key - the key to writevalue - the value to write
- Throws:
IOException - if an error occurs
Copyright © 2014 Apache Software Foundation. All rights reserved.