org.apache.pig.impl.io
Class NullableUnknownWritable

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

public class NullableUnknownWritable
extends PigNullableWritable

This class can be used when data type is 'Unknown' and there is a need for PigNullableWritable object.


Field Summary
 
Fields inherited from class org.apache.pig.impl.io.PigNullableWritable
idxSpace, mqFlag, mValue
 
Constructor Summary
NullableUnknownWritable()
           
NullableUnknownWritable(org.apache.hadoop.io.WritableComparable<?> u)
           
 
Method Summary
 Object getValueAsPigType()
           
 
Methods inherited from class org.apache.pig.impl.io.PigNullableWritable
compareTo, equals, getIndex, hashCode, isNull, readFields, setIndex, setNull, toString, write
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NullableUnknownWritable

public NullableUnknownWritable()

NullableUnknownWritable

public NullableUnknownWritable(org.apache.hadoop.io.WritableComparable<?> u)
Method Detail

getValueAsPigType

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


Copyright © 2007-2012 The Apache Software Foundation