public class WritableTimestampObjectInspector extends AbstractPrimitiveWritableObjectInspector implements SettableTimestampObjectInspector
PrimitiveObjectInspector.PrimitiveCategoryObjectInspector.CategorytypeInfo| Constructor and Description |
|---|
WritableTimestampObjectInspector() |
| 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(byte[] bytes,
int offset) |
Object |
create(Timestamp t) |
Timestamp |
getPrimitiveJavaObject(Object o)
Get the Java Primitive object.
|
TimestampWritable |
getPrimitiveWritableObject(Object o)
Return the data in an instance of primitive writable Object.
|
Object |
set(Object o,
byte[] bytes,
int offset) |
Object |
set(Object o,
Timestamp t) |
Object |
set(Object o,
TimestampWritable t) |
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 TimestampWritable getPrimitiveWritableObject(Object o)
PrimitiveObjectInspectorgetPrimitiveWritableObject in interface TimestampObjectInspectorgetPrimitiveWritableObject in interface PrimitiveObjectInspectorgetPrimitiveWritableObject in class AbstractPrimitiveWritableObjectInspectorpublic Timestamp getPrimitiveJavaObject(Object o)
PrimitiveObjectInspectorgetPrimitiveJavaObject in interface TimestampObjectInspectorgetPrimitiveJavaObject in interface PrimitiveObjectInspectorpublic Object copyObject(Object o)
PrimitiveObjectInspectorcopyObject in interface PrimitiveObjectInspectorpublic Object set(Object o, byte[] bytes, int offset)
set in interface SettableTimestampObjectInspectorpublic Object set(Object o, Timestamp t)
set in interface SettableTimestampObjectInspectorpublic Object set(Object o, TimestampWritable t)
set in interface SettableTimestampObjectInspectorpublic Object create(byte[] bytes, int offset)
create in interface SettableTimestampObjectInspectorpublic Object create(Timestamp t)
create in interface SettableTimestampObjectInspectorCopyright © 2017 The Apache Software Foundation. All rights reserved.