This project has retired. For details please refer to its Attic page.
TextMapWritable (Apache Crunch 0.4.0-incubating API)

org.apache.crunch.types.writable
Class TextMapWritable<T extends org.apache.hadoop.io.Writable>

java.lang.Object
  extended by org.apache.crunch.types.writable.TextMapWritable<T>
All Implemented Interfaces:
org.apache.hadoop.io.Writable

public class TextMapWritable<T extends org.apache.hadoop.io.Writable>
extends Object
implements org.apache.hadoop.io.Writable


Constructor Summary
TextMapWritable()
           
TextMapWritable(Class<T> valueClazz)
           
 
Method Summary
 Set<Map.Entry<org.apache.hadoop.io.Text,T>> entrySet()
           
 void put(org.apache.hadoop.io.Text txt, T value)
           
 void readFields(DataInput in)
           
 void write(DataOutput out)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextMapWritable

public TextMapWritable()

TextMapWritable

public TextMapWritable(Class<T> valueClazz)
Method Detail

put

public void put(org.apache.hadoop.io.Text txt,
                T value)

entrySet

public Set<Map.Entry<org.apache.hadoop.io.Text,T>> entrySet()

readFields

public void readFields(DataInput in)
                throws IOException
Specified by:
readFields in interface org.apache.hadoop.io.Writable
Throws:
IOException

write

public void write(DataOutput out)
           throws IOException
Specified by:
write in interface org.apache.hadoop.io.Writable
Throws:
IOException


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.