org.apache.hadoop.streaming.io
Class KeyOnlyTextInputWriter

java.lang.Object
  extended by org.apache.hadoop.streaming.io.InputWriter<Object,Object>
      extended by org.apache.hadoop.streaming.io.TextInputWriter
          extended by org.apache.hadoop.streaming.io.KeyOnlyTextInputWriter

public class KeyOnlyTextInputWriter
extends TextInputWriter


Field Summary
 
Fields inherited from class org.apache.hadoop.streaming.io.TextInputWriter
clientOut
 
Constructor Summary
KeyOnlyTextInputWriter()
           
 
Method Summary
 void writeKey(Object key)
          Writes an input key.
 void writeValue(Object value)
          Writes an input value.
 
Methods inherited from class org.apache.hadoop.streaming.io.TextInputWriter
initialize, writeUTF8
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyOnlyTextInputWriter

public KeyOnlyTextInputWriter()
Method Detail

writeKey

public void writeKey(Object key)
              throws IOException
Description copied from class: InputWriter
Writes an input key.

Overrides:
writeKey in class TextInputWriter
Throws:
IOException

writeValue

public void writeValue(Object value)
                throws IOException
Description copied from class: InputWriter
Writes an input value.

Overrides:
writeValue in class TextInputWriter
Throws:
IOException


Copyright © 2014 Apache Software Foundation. All Rights Reserved.