org.apache.pig.data
Class BinSedesTuple

java.lang.Object
  extended by org.apache.pig.data.DefaultTuple
      extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.pig.data.DefaultTuple
DefaultTuple.DefaultTupleRawComparator
 
Field Summary
 
Fields inherited from class org.apache.pig.data.DefaultTuple
isNull, mFields
 
Fields inherited from interface org.apache.pig.data.Tuple
NOTNULL, NULL
 
Method Summary
static Class<? extends TupleRawComparator> getComparatorClass()
           
 void readFields(DataInput in)
           
 void write(DataOutput out)
           
 
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

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 © ${year} The Apache Software Foundation