org.apache.hadoop.hive.serde2.lazy.objectinspector.primitive
Class LazyHiveVarcharObjectInspector
java.lang.Object
org.apache.hadoop.hive.serde2.objectinspector.primitive.AbstractPrimitiveObjectInspector
org.apache.hadoop.hive.serde2.lazy.objectinspector.primitive.AbstractPrimitiveLazyObjectInspector<HiveVarcharWritable>
org.apache.hadoop.hive.serde2.lazy.objectinspector.primitive.LazyHiveVarcharObjectInspector
- All Implemented Interfaces:
- Cloneable, ObjectInspector, HiveVarcharObjectInspector, PrimitiveObjectInspector, PrimitiveTypeSpec
public class LazyHiveVarcharObjectInspector
- extends AbstractPrimitiveLazyObjectInspector<HiveVarcharWritable>
- implements HiveVarcharObjectInspector
LazyHiveVarcharObjectInspector
public LazyHiveVarcharObjectInspector(PrimitiveObjectInspectorUtils.PrimitiveTypeEntry typeEntry)
copyObject
public Object copyObject(Object o)
- Description copied from interface:
PrimitiveObjectInspector
- Get a copy of the Object in the same class, so the return value can be
stored independently of the parameter.
If the Object is a Primitive Java Object, we just return the parameter
since Primitive Java Object is immutable.
- Specified by:
copyObject
in interface PrimitiveObjectInspector
getPrimitiveJavaObject
public HiveVarchar getPrimitiveJavaObject(Object o)
- Description copied from interface:
PrimitiveObjectInspector
- Get the Java Primitive object.
- Specified by:
getPrimitiveJavaObject
in interface HiveVarcharObjectInspector
- Specified by:
getPrimitiveJavaObject
in interface PrimitiveObjectInspector
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2012 The Apache Software Foundation