public class JavaByteObjectInspector extends AbstractPrimitiveJavaObjectInspector implements SettableByteObjectInspector
PrimitiveObjectInspector.PrimitiveCategory
ObjectInspector.Category
typeInfo
Modifier and Type | Method and Description |
---|---|
Object |
create(byte value)
Create an object with the value.
|
byte |
get(Object o)
Get the byte data.
|
Object |
getPrimitiveWritableObject(Object o)
Return the data in an instance of primitive writable Object.
|
Object |
set(Object o,
byte value)
Set the object with the value.
|
copyObject, getPrimitiveJavaObject, preferWritable
getCategory, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeInfo, getTypeName, precision, scale
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
copyObject, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveJavaObject, getPrimitiveWritableClass, getTypeInfo, precision, preferWritable, scale
getCategory, getTypeName
public Object getPrimitiveWritableObject(Object o)
PrimitiveObjectInspector
getPrimitiveWritableObject
in interface PrimitiveObjectInspector
public byte get(Object o)
ByteObjectInspector
get
in interface ByteObjectInspector
public Object create(byte value)
SettableByteObjectInspector
create
in interface SettableByteObjectInspector
public Object set(Object o, byte value)
SettableByteObjectInspector
set
in interface SettableByteObjectInspector
Copyright © 2017 The Apache Software Foundation. All rights reserved.