public class DateTimeOptionInspector extends AbstractValueInspector implements org.apache.hadoop.hive.serde2.objectinspector.primitive.TimestampObjectInspector
DateTimeOption
object.Constructor and Description |
---|
DateTimeOptionInspector()
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
Timestamp |
getPrimitiveJavaObject(Object o) |
org.apache.hadoop.hive.serde2.io.TimestampWritable |
getPrimitiveWritableObject(Object o) |
protected ValueOption<?> |
newObject()
Creates a new instance for supported
ValueOption type. |
copyObject, preferWritable
getCategory, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeInfo, getTypeName, precision, scale
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
protected ValueOption<?> newObject()
AbstractValueInspector
ValueOption
type.newObject
in class AbstractValueInspector
public Timestamp getPrimitiveJavaObject(Object o)
getPrimitiveJavaObject
in interface org.apache.hadoop.hive.serde2.objectinspector.primitive.TimestampObjectInspector
getPrimitiveJavaObject
in interface org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector
public org.apache.hadoop.hive.serde2.io.TimestampWritable getPrimitiveWritableObject(Object o)
getPrimitiveWritableObject
in interface org.apache.hadoop.hive.serde2.objectinspector.primitive.TimestampObjectInspector
getPrimitiveWritableObject
in interface org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.