org.apache.hadoop.hive.serde2.objectinspector.primitive
Interface HiveVarcharObjectInspector

All Superinterfaces:
Cloneable, ObjectInspector, PrimitiveObjectInspector, PrimitiveTypeSpec
All Known Subinterfaces:
SettableHiveVarcharObjectInspector
All Known Implementing Classes:
JavaHiveVarcharObjectInspector, LazyHiveVarcharObjectInspector, WritableConstantHiveVarcharObjectInspector, WritableHiveVarcharObjectInspector

public interface HiveVarcharObjectInspector
extends PrimitiveObjectInspector


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector
PrimitiveObjectInspector.PrimitiveCategory
 
Nested classes/interfaces inherited from interface org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector
ObjectInspector.Category
 
Method Summary
 HiveVarchar getPrimitiveJavaObject(Object o)
          Get the Java Primitive object.
 HiveVarcharWritable getPrimitiveWritableObject(Object o)
          Return the data in an instance of primitive writable Object.
 
Methods inherited from interface org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector
copyObject, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeParams, preferWritable, setTypeParams
 
Methods inherited from interface org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector
getCategory, getTypeName
 

Method Detail

getPrimitiveWritableObject

HiveVarcharWritable getPrimitiveWritableObject(Object o)
Description copied from interface: PrimitiveObjectInspector
Return the data in an instance of primitive writable Object. If the Object is already a primitive writable Object, just return o.

Specified by:
getPrimitiveWritableObject in interface PrimitiveObjectInspector

getPrimitiveJavaObject

HiveVarchar getPrimitiveJavaObject(Object o)
Description copied from interface: PrimitiveObjectInspector
Get the Java Primitive object.

Specified by:
getPrimitiveJavaObject in interface PrimitiveObjectInspector


Copyright © 2012 The Apache Software Foundation