org.apache.pig.impl.io
Class NullableTuple

java.lang.Object
  extended by org.apache.pig.impl.io.PigNullableWritable
      extended by org.apache.pig.impl.io.NullableTuple
All Implemented Interfaces:
Comparable, org.apache.hadoop.io.Writable, org.apache.hadoop.io.WritableComparable

public class NullableTuple
extends PigNullableWritable


Field Summary
 
Fields inherited from class org.apache.pig.impl.io.PigNullableWritable
idxSpace, mqFlag, mValue
 
Constructor Summary
NullableTuple()
           
NullableTuple(Tuple t)
           
 
Method Summary
 Object getValueAsPigType()
           
 void readFields(DataInput in)
           
 
Methods inherited from class org.apache.pig.impl.io.PigNullableWritable
compareTo, equals, getIndex, hashCode, isNull, setIndex, setNull, toString, write
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NullableTuple

public NullableTuple()

NullableTuple

public NullableTuple(Tuple t)
Parameters:
t -
Method Detail

getValueAsPigType

public Object getValueAsPigType()
Specified by:
getValueAsPigType in class PigNullableWritable
Returns:
The wrapped value as a pig type, not as a WritableComparable.

readFields

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


Copyright © 2007-2012 The Apache Software Foundation