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
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
TextMapWritable
public TextMapWritable()
TextMapWritable
public TextMapWritable(Class<T> valueClazz)
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.