public class WritableTimestampLocalTZObjectInspector extends AbstractPrimitiveWritableObjectInspector implements SettableTimestampLocalTZObjectInspector
PrimitiveObjectInspector.PrimitiveCategory
ObjectInspector.Category
typeInfo
Constructor and Description |
---|
WritableTimestampLocalTZObjectInspector() |
WritableTimestampLocalTZObjectInspector(TimestampLocalTZTypeInfo typeInfo) |
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(TimestampTZ t) |
TimestampTZ |
getPrimitiveJavaObject(Object o)
Get the Java Primitive object.
|
TimestampLocalTZWritable |
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,
TimestampLocalTZWritable t) |
Object |
set(Object o,
TimestampTZ t) |
preferWritable
getCategory, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeInfo, getTypeName, precision, scale
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeInfo, precision, preferWritable, scale
getCategory, getTypeName
public WritableTimestampLocalTZObjectInspector()
public WritableTimestampLocalTZObjectInspector(TimestampLocalTZTypeInfo typeInfo)
public TimestampLocalTZWritable getPrimitiveWritableObject(Object o)
PrimitiveObjectInspector
getPrimitiveWritableObject
in interface TimestampLocalTZObjectInspector
getPrimitiveWritableObject
in interface PrimitiveObjectInspector
getPrimitiveWritableObject
in class AbstractPrimitiveWritableObjectInspector
public TimestampTZ getPrimitiveJavaObject(Object o)
PrimitiveObjectInspector
getPrimitiveJavaObject
in interface TimestampLocalTZObjectInspector
getPrimitiveJavaObject
in interface PrimitiveObjectInspector
public Object set(Object o, byte[] bytes, int offset)
set
in interface SettableTimestampLocalTZObjectInspector
public Object set(Object o, TimestampTZ t)
set
in interface SettableTimestampLocalTZObjectInspector
public Object set(Object o, TimestampLocalTZWritable t)
set
in interface SettableTimestampLocalTZObjectInspector
public Object create(byte[] bytes, int offset)
create
in interface SettableTimestampLocalTZObjectInspector
public Object create(TimestampTZ t)
create
in interface SettableTimestampLocalTZObjectInspector
public Object copyObject(Object o)
PrimitiveObjectInspector
copyObject
in interface PrimitiveObjectInspector
Copyright © 2022 The Apache Software Foundation. All rights reserved.