public class ParquetShortInspector extends AbstractPrimitiveJavaObjectInspector implements SettableShortObjectInspector
PrimitiveObjectInspector.PrimitiveCategory
ObjectInspector.Category
typeInfo
Modifier and Type | Method and Description |
---|---|
Object |
create(short val)
Create an object with the value.
|
short |
get(Object o)
Get the short data.
|
Object |
getPrimitiveJavaObject(Object o)
Get the Java Primitive object.
|
Object |
getPrimitiveWritableObject(Object o)
Return the data in an instance of primitive writable Object.
|
Object |
set(Object o,
short val)
Set the object with the value.
|
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 Object getPrimitiveWritableObject(Object o)
PrimitiveObjectInspector
getPrimitiveWritableObject
in interface PrimitiveObjectInspector
public Object getPrimitiveJavaObject(Object o)
PrimitiveObjectInspector
getPrimitiveJavaObject
in interface PrimitiveObjectInspector
getPrimitiveJavaObject
in class AbstractPrimitiveJavaObjectInspector
public Object create(short val)
SettableShortObjectInspector
create
in interface SettableShortObjectInspector
public Object set(Object o, short val)
SettableShortObjectInspector
set
in interface SettableShortObjectInspector
public short get(Object o)
ShortObjectInspector
get
in interface ShortObjectInspector
Copyright © 2017 The Apache Software Foundation. All rights reserved.