public class JavaHiveIntervalYearMonthObjectInspector extends AbstractPrimitiveJavaObjectInspector implements SettableHiveIntervalYearMonthObjectInspector
PrimitiveObjectInspector.PrimitiveCategory
ObjectInspector.Category
typeInfo
Constructor and Description |
---|
JavaHiveIntervalYearMonthObjectInspector() |
Modifier and Type | Method and Description |
---|---|
Object |
create(HiveIntervalYearMonth i) |
HiveIntervalYearMonth |
getPrimitiveJavaObject(Object o)
Get the Java Primitive object.
|
HiveIntervalYearMonthWritable |
getPrimitiveWritableObject(Object o)
Return the data in an instance of primitive writable Object.
|
Object |
set(Object o,
HiveIntervalYearMonth i) |
Object |
set(Object o,
HiveIntervalYearMonthWritable i) |
copyObject, preferWritable
getCategory, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeInfo, getTypeName, precision, scale
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
copyObject, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeInfo, precision, preferWritable, scale
getCategory, getTypeName
public JavaHiveIntervalYearMonthObjectInspector()
public HiveIntervalYearMonth getPrimitiveJavaObject(Object o)
PrimitiveObjectInspector
getPrimitiveJavaObject
in interface HiveIntervalYearMonthObjectInspector
getPrimitiveJavaObject
in interface PrimitiveObjectInspector
getPrimitiveJavaObject
in class AbstractPrimitiveJavaObjectInspector
public HiveIntervalYearMonthWritable getPrimitiveWritableObject(Object o)
PrimitiveObjectInspector
getPrimitiveWritableObject
in interface HiveIntervalYearMonthObjectInspector
getPrimitiveWritableObject
in interface PrimitiveObjectInspector
public Object set(Object o, HiveIntervalYearMonth i)
set
in interface SettableHiveIntervalYearMonthObjectInspector
public Object set(Object o, HiveIntervalYearMonthWritable i)
set
in interface SettableHiveIntervalYearMonthObjectInspector
public Object create(HiveIntervalYearMonth i)
create
in interface SettableHiveIntervalYearMonthObjectInspector
Copyright © 2017 The Apache Software Foundation. All rights reserved.