public class WritableTimestampObjectInspector extends AbstractPrimitiveWritableObjectInspector implements SettableTimestampObjectInspector
PrimitiveObjectInspector.PrimitiveCategoryObjectInspector.CategorytypeParams| Constructor and Description |
|---|
WritableTimestampObjectInspector() |
| 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(byte[] bytes,
int offset) |
java.lang.Object |
create(java.sql.Timestamp t) |
java.sql.Timestamp |
getPrimitiveJavaObject(java.lang.Object o)
Get the Java Primitive object.
|
TimestampWritable |
getPrimitiveWritableObject(java.lang.Object o)
Return the data in an instance of primitive writable Object.
|
java.lang.Object |
set(java.lang.Object o,
byte[] bytes,
int offset) |
java.lang.Object |
set(java.lang.Object o,
java.sql.Timestamp t) |
java.lang.Object |
set(java.lang.Object o,
TimestampWritable t) |
preferWritablegetCategory, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeName, getTypeParams, setTypeParamsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeParams, preferWritable, setTypeParamsgetCategory, getTypeNamepublic TimestampWritable getPrimitiveWritableObject(java.lang.Object o)
PrimitiveObjectInspectorgetPrimitiveWritableObject in interface TimestampObjectInspectorgetPrimitiveWritableObject in interface PrimitiveObjectInspectorgetPrimitiveWritableObject in class AbstractPrimitiveWritableObjectInspectorpublic java.sql.Timestamp getPrimitiveJavaObject(java.lang.Object o)
PrimitiveObjectInspectorgetPrimitiveJavaObject in interface TimestampObjectInspectorgetPrimitiveJavaObject in interface PrimitiveObjectInspectorpublic java.lang.Object copyObject(java.lang.Object o)
PrimitiveObjectInspectorcopyObject in interface PrimitiveObjectInspectorpublic java.lang.Object set(java.lang.Object o,
byte[] bytes,
int offset)
set in interface SettableTimestampObjectInspectorpublic java.lang.Object set(java.lang.Object o,
java.sql.Timestamp t)
set in interface SettableTimestampObjectInspectorpublic java.lang.Object set(java.lang.Object o,
TimestampWritable t)
set in interface SettableTimestampObjectInspectorpublic java.lang.Object create(byte[] bytes,
int offset)
create in interface SettableTimestampObjectInspectorpublic java.lang.Object create(java.sql.Timestamp t)
create in interface SettableTimestampObjectInspectorCopyright © 2012 The Apache Software Foundation