org.apache.pig.impl.io
Class NullableBooleanWritable

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

public class NullableBooleanWritable
extends PigNullableWritable


Field Summary
 
Fields inherited from class org.apache.pig.impl.io.PigNullableWritable
idxSpace, mqFlag, mValue
 
Constructor Summary
NullableBooleanWritable()
           
NullableBooleanWritable(boolean value)
           
 
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

NullableBooleanWritable

public NullableBooleanWritable()

NullableBooleanWritable

public NullableBooleanWritable(boolean value)
Parameters:
value -
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