org.apache.pig.data
Class BinSedesTuple
java.lang.Object
org.apache.pig.data.DefaultTuple
org.apache.pig.data.BinSedesTuple
- All Implemented Interfaces:
- Serializable, Comparable, org.apache.hadoop.io.Writable, org.apache.hadoop.io.WritableComparable, Tuple
@InterfaceAudience.Private
public class BinSedesTuple
- extends DefaultTuple
This tuple has a faster (de)serialization mechanism. It to be used for
storing intermediate data between Map and Reduce and between MR jobs.
This is for internal pig use only. The serialization format can change, so
do not use it for storing any persistant data (ie in load/store functions).
- See Also:
- Serialized Form
Methods inherited from class org.apache.pig.data.DefaultTuple |
append, compareTo, equals, get, getAll, getMemorySize, getType, hashCode, isNull, isNull, reference, set, setNull, size, toDelimitedString, toString |
write
public void write(DataOutput out)
throws IOException
- Specified by:
write
in interface org.apache.hadoop.io.Writable
- Overrides:
write
in class DefaultTuple
- Throws:
IOException
readFields
public void readFields(DataInput in)
throws IOException
- Specified by:
readFields
in interface org.apache.hadoop.io.Writable
- Overrides:
readFields
in class DefaultTuple
- Throws:
IOException
getComparatorClass
public static Class<? extends TupleRawComparator> getComparatorClass()
Copyright © 2012 The Apache Software Foundation