public class LazyTimestampObjectInspector extends AbstractPrimitiveLazyObjectInspector<TimestampWritableV2> implements TimestampObjectInspector
PrimitiveObjectInspector.PrimitiveCategory
ObjectInspector.Category
Modifier and Type | Field and Description |
---|---|
protected List<String> |
timestampFormats |
protected TimestampParser |
timestampParser |
typeInfo
Modifier and Type | Method and Description |
---|---|
Object |
copyObject(Object o)
Get a copy of the Object in the same class, so the return value can be
stored independently of the parameter.
|
Timestamp |
getPrimitiveJavaObject(Object o)
Get the Java Primitive object.
|
List<String> |
getTimestampFormats() |
TimestampParser |
getTimestampParser() |
getPrimitiveWritableObject, preferWritable
getCategory, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeInfo, getTypeName, precision, scale
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPrimitiveWritableObject
getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeInfo, precision, preferWritable, scale
getCategory, getTypeName
protected TimestampParser timestampParser
public Object copyObject(Object o)
PrimitiveObjectInspector
copyObject
in interface PrimitiveObjectInspector
public Timestamp getPrimitiveJavaObject(Object o)
PrimitiveObjectInspector
getPrimitiveJavaObject
in interface TimestampObjectInspector
getPrimitiveJavaObject
in interface PrimitiveObjectInspector
public TimestampParser getTimestampParser()
Copyright © 2019 The Apache Software Foundation. All rights reserved.