public class LazyTimestampObjectInspector extends AbstractPrimitiveLazyObjectInspector<TimestampWritableV2> implements TimestampObjectInspector
PrimitiveObjectInspector.PrimitiveCategoryObjectInspector.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, preferWritablegetCategory, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeInfo, getTypeName, precision, scaleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPrimitiveWritableObjectgetJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeInfo, precision, preferWritable, scalegetCategory, getTypeNameprotected TimestampParser timestampParser
public Object copyObject(Object o)
PrimitiveObjectInspectorcopyObject in interface PrimitiveObjectInspectorpublic Timestamp getPrimitiveJavaObject(Object o)
PrimitiveObjectInspectorgetPrimitiveJavaObject in interface TimestampObjectInspectorgetPrimitiveJavaObject in interface PrimitiveObjectInspectorpublic TimestampParser getTimestampParser()
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.