Package oracle.kv.hadoop.hive.table
Class TableTimestampObjectInspector
- java.lang.Object
-
- org.apache.hadoop.hive.serde2.objectinspector.primitive.AbstractPrimitiveObjectInspector
-
- org.apache.hadoop.hive.serde2.objectinspector.primitive.AbstractPrimitiveJavaObjectInspector
-
- org.apache.hadoop.hive.serde2.objectinspector.primitive.JavaTimestampObjectInspector
-
- oracle.kv.hadoop.hive.table.TableTimestampObjectInspector
-
- All Implemented Interfaces:
Cloneable,ObjectInspector,SettableTimestampObjectInspector,TimestampObjectInspector,PrimitiveObjectInspector
public class TableTimestampObjectInspector extends JavaTimestampObjectInspector
The Hive ObjectInspector that is used to translate KVStore row fields of type FieldDef.Type.TIMESTAMP to Hive column type TIMESTAMP.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector
ObjectInspector.Category
-
Nested classes/interfaces inherited from interface org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector
PrimitiveObjectInspector.PrimitiveCategory
-
-
Field Summary
-
Fields inherited from class org.apache.hadoop.hive.serde2.objectinspector.primitive.AbstractPrimitiveObjectInspector
typeInfo
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Timestampget(Object o)TimestampgetPrimitiveJavaObject(Object o)TimestampWritablegetPrimitiveWritableObject(Object o)-
Methods inherited from class org.apache.hadoop.hive.serde2.objectinspector.primitive.JavaTimestampObjectInspector
copyObject, create, create, set, set, set
-
Methods inherited from class org.apache.hadoop.hive.serde2.objectinspector.primitive.AbstractPrimitiveJavaObjectInspector
preferWritable
-
Methods inherited from class org.apache.hadoop.hive.serde2.objectinspector.primitive.AbstractPrimitiveObjectInspector
getCategory, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeInfo, getTypeName, precision, scale
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector
getCategory, getTypeName
-
Methods inherited from interface org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector
getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeInfo, precision, preferWritable, scale
-
-
-
-
Method Detail
-
getPrimitiveWritableObject
public TimestampWritable getPrimitiveWritableObject(Object o)
- Specified by:
getPrimitiveWritableObjectin interfacePrimitiveObjectInspector- Specified by:
getPrimitiveWritableObjectin interfaceTimestampObjectInspector- Overrides:
getPrimitiveWritableObjectin classJavaTimestampObjectInspector
-
getPrimitiveJavaObject
public Timestamp getPrimitiveJavaObject(Object o)
- Specified by:
getPrimitiveJavaObjectin interfacePrimitiveObjectInspector- Specified by:
getPrimitiveJavaObjectin interfaceTimestampObjectInspector- Overrides:
getPrimitiveJavaObjectin classJavaTimestampObjectInspector
-
get
public Timestamp get(Object o)
- Overrides:
getin classJavaTimestampObjectInspector
-
-