org.apache.pig.impl.io
Class NullableText

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

public class NullableText
extends PigNullableWritable


Field Summary
 
Fields inherited from class org.apache.pig.impl.io.PigNullableWritable
idxSpace, mqFlag, mValue
 
Constructor Summary
NullableText()
           
NullableText(byte[] utf8)
           
NullableText(String string)
           
 
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

NullableText

public NullableText()

NullableText

public NullableText(byte[] utf8)
Parameters:
utf8 -

NullableText

public NullableText(String string)
Parameters:
string -
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 © ${year} The Apache Software Foundation