public class WritableDateObjectInspector extends AbstractPrimitiveWritableObjectInspector implements SettableDateObjectInspector
PrimitiveObjectInspector.PrimitiveCategoryObjectInspector.CategorytypeParams| Constructor and Description |
|---|
WritableDateObjectInspector() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
copyObject(java.lang.Object o)
Get a copy of the Object in the same class, so the return value can be
stored independently of the parameter.
|
java.lang.Object |
create(java.sql.Date d) |
java.sql.Date |
getPrimitiveJavaObject(java.lang.Object o)
Get the Java Primitive object.
|
DateWritable |
getPrimitiveWritableObject(java.lang.Object o)
Return the data in an instance of primitive writable Object.
|
java.lang.Object |
set(java.lang.Object o,
java.sql.Date d) |
java.lang.Object |
set(java.lang.Object o,
DateWritable d) |
preferWritablegetCategory, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeName, getTypeParams, setTypeParamsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeParams, preferWritable, setTypeParamsgetCategory, getTypeNamepublic DateWritable getPrimitiveWritableObject(java.lang.Object o)
PrimitiveObjectInspectorgetPrimitiveWritableObject in interface DateObjectInspectorgetPrimitiveWritableObject in interface PrimitiveObjectInspectorgetPrimitiveWritableObject in class AbstractPrimitiveWritableObjectInspectorpublic java.sql.Date getPrimitiveJavaObject(java.lang.Object o)
PrimitiveObjectInspectorgetPrimitiveJavaObject in interface DateObjectInspectorgetPrimitiveJavaObject in interface PrimitiveObjectInspectorpublic java.lang.Object copyObject(java.lang.Object o)
PrimitiveObjectInspectorcopyObject in interface PrimitiveObjectInspectorpublic java.lang.Object set(java.lang.Object o,
java.sql.Date d)
set in interface SettableDateObjectInspectorpublic java.lang.Object set(java.lang.Object o,
DateWritable d)
set in interface SettableDateObjectInspectorpublic java.lang.Object create(java.sql.Date d)
create in interface SettableDateObjectInspectorCopyright © 2012 The Apache Software Foundation