org.apache.hadoop.hive.serde2.lazy
Class LazyPrimitive<OI extends ObjectInspector,T extends org.apache.hadoop.io.Writable>
java.lang.Object
org.apache.hadoop.hive.serde2.lazy.LazyObject<OI>
org.apache.hadoop.hive.serde2.lazy.LazyPrimitive<OI,T>
- Direct Known Subclasses:
- LazyBoolean, LazyByte, LazyDouble, LazyFloat, LazyInteger, LazyLong, LazyShort, LazyString
public abstract class LazyPrimitive<OI extends ObjectInspector,T extends org.apache.hadoop.io.Writable>
- extends LazyObject<OI>
LazyPrimitive stores a primitive Object in a LazyObject.
getObject
public Object getObject()
- Returns the primitive object represented by this LazyObject. This is useful
because it can make sure we have "null" for null objects.
- Specified by:
getObject
in class LazyObject<OI extends ObjectInspector>
getWritableObject
public T getWritableObject()
toString
public String toString()
- Overrides:
toString
in class Object
hashCode
public int hashCode()
- Specified by:
hashCode
in class LazyObject<OI extends ObjectInspector>
Copyright © 2010 The Apache Software Foundation