public class JavaTimestampObjectInspector extends AbstractPrimitiveJavaObjectInspector implements SettableTimestampObjectInspector
PrimitiveObjectInspector.PrimitiveCategoryObjectInspector.CategorytypeInfo| Modifier | Constructor and Description |
|---|---|
protected |
JavaTimestampObjectInspector() |
| 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 value)
Deprecated.
|
Object |
create(Timestamp value) |
Timestamp |
get(Object o) |
Timestamp |
getPrimitiveJavaObject(Object o)
Get the Java Primitive object.
|
TimestampWritableV2 |
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 value)
Deprecated.
|
Object |
set(Object o,
Timestamp value) |
Object |
set(Object o,
TimestampWritableV2 tw) |
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 TimestampWritableV2 getPrimitiveWritableObject(Object o)
PrimitiveObjectInspectorgetPrimitiveWritableObject in interface TimestampObjectInspectorgetPrimitiveWritableObject in interface PrimitiveObjectInspectorpublic Timestamp getPrimitiveJavaObject(Object o)
PrimitiveObjectInspectorgetPrimitiveJavaObject in interface TimestampObjectInspectorgetPrimitiveJavaObject in interface PrimitiveObjectInspectorgetPrimitiveJavaObject in class AbstractPrimitiveJavaObjectInspectorpublic Object copyObject(Object o)
PrimitiveObjectInspectorcopyObject in interface PrimitiveObjectInspectorcopyObject in class AbstractPrimitiveJavaObjectInspector@Deprecated public Object set(Object o, Timestamp value)
set in interface SettableTimestampObjectInspectorpublic Object set(Object o, Timestamp value)
set in interface SettableTimestampObjectInspectorpublic Object set(Object o, byte[] bytes, int offset)
set in interface SettableTimestampObjectInspectorpublic Object set(Object o, TimestampWritableV2 tw)
set in interface SettableTimestampObjectInspector@Deprecated public Object create(Timestamp value)
create in interface SettableTimestampObjectInspectorpublic Object create(Timestamp value)
create in interface SettableTimestampObjectInspectorpublic Object create(byte[] bytes, int offset)
create in interface SettableTimestampObjectInspectorCopyright © 2019 The Apache Software Foundation. All Rights Reserved.