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


Method Summary
 void write(Object key, Object value)
          Writes a key/value pair.
 

Method Detail

write

void write(Object key,
           Object value)
           throws IOException
Writes a key/value pair.

Parameters:
key - the key to write
value - the value to write
Throws:
IOException - if an error occurs


Copyright © 2014 Apache Software Foundation. All rights reserved.