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

All Superinterfaces:
Cloneable, ObjectInspector, PrimitiveObjectInspector
All Known Subinterfaces:
SettableTimestampObjectInspector
All Known Implementing Classes:
JavaTimestampObjectInspector, LazyTimestampObjectInspector, WritableConstantTimestampObjectInspector, WritableTimestampObjectInspector

public interface TimestampObjectInspector
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
 Timestamp getPrimitiveJavaObject(Object o)
          Get the Java Primitive object.
 TimestampWritable 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, preferWritable
 
Methods inherited from interface org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector
getCategory, getTypeName
 

Method Detail

getPrimitiveWritableObject

TimestampWritable 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

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

Specified by:
getPrimitiveJavaObject in interface PrimitiveObjectInspector


Copyright © 2011 The Apache Software Foundation