public class JavaTimestampLocalTZObjectInspector extends AbstractPrimitiveJavaObjectInspector implements SettableTimestampLocalTZObjectInspector
PrimitiveObjectInspector.PrimitiveCategory
ObjectInspector.Category
typeInfo
Constructor and Description |
---|
JavaTimestampLocalTZObjectInspector() |
JavaTimestampLocalTZObjectInspector(TimestampLocalTZTypeInfo typeInfo) |
Modifier and Type | Method and Description |
---|---|
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) |
copyObject, preferWritable
getCategory, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeInfo, getTypeName, precision, scale
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
copyObject, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeInfo, precision, preferWritable, scale
getCategory, getTypeName
public JavaTimestampLocalTZObjectInspector()
public JavaTimestampLocalTZObjectInspector(TimestampLocalTZTypeInfo typeInfo)
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 TimestampLocalTZWritable getPrimitiveWritableObject(Object o)
PrimitiveObjectInspector
getPrimitiveWritableObject
in interface TimestampLocalTZObjectInspector
getPrimitiveWritableObject
in interface PrimitiveObjectInspector
public TimestampTZ getPrimitiveJavaObject(Object o)
PrimitiveObjectInspector
getPrimitiveJavaObject
in interface TimestampLocalTZObjectInspector
getPrimitiveJavaObject
in interface PrimitiveObjectInspector
getPrimitiveJavaObject
in class AbstractPrimitiveJavaObjectInspector
Copyright © 2022 The Apache Software Foundation. All rights reserved.