public class WritableDateObjectInspector extends AbstractPrimitiveWritableObjectInspector implements SettableDateObjectInspector
PrimitiveObjectInspector.PrimitiveCategoryObjectInspector.CategorytypeInfo| Constructor and Description |
|---|
WritableDateObjectInspector() |
| 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.
|
Object |
create(Date d) |
Date |
getPrimitiveJavaObject(Object o)
Get the Java Primitive object.
|
DateWritable |
getPrimitiveWritableObject(Object o)
Return the data in an instance of primitive writable Object.
|
Object |
set(Object o,
Date d) |
Object |
set(Object o,
DateWritable d) |
preferWritablegetCategory, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeInfo, getTypeName, precision, scaleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeInfo, precision, preferWritable, scalegetCategory, getTypeNamepublic DateWritable getPrimitiveWritableObject(Object o)
PrimitiveObjectInspectorgetPrimitiveWritableObject in interface DateObjectInspectorgetPrimitiveWritableObject in interface PrimitiveObjectInspectorgetPrimitiveWritableObject in class AbstractPrimitiveWritableObjectInspectorpublic Date getPrimitiveJavaObject(Object o)
PrimitiveObjectInspectorgetPrimitiveJavaObject in interface DateObjectInspectorgetPrimitiveJavaObject in interface PrimitiveObjectInspectorpublic Object copyObject(Object o)
PrimitiveObjectInspectorcopyObject in interface PrimitiveObjectInspectorpublic Object set(Object o, Date d)
set in interface SettableDateObjectInspectorpublic Object set(Object o, DateWritable d)
set in interface SettableDateObjectInspectorpublic Object create(Date d)
create in interface SettableDateObjectInspectorCopyright © 2017 The Apache Software Foundation. All rights reserved.