public class WritableByteObjectInspector extends AbstractPrimitiveWritableObjectInspector implements SettableByteObjectInspector
PrimitiveObjectInspector.PrimitiveCategory
ObjectInspector.Category
typeInfo
Constructor and Description |
---|
WritableByteObjectInspector() |
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 value)
Create an object with the value.
|
byte |
get(Object o)
Get the byte data.
|
Object |
getPrimitiveJavaObject(Object o)
Get the Java Primitive object.
|
Object |
set(Object o,
byte value)
Set the object with the value.
|
getPrimitiveWritableObject, preferWritable
getCategory, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeInfo, getTypeName, precision, scale
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getPrimitiveWritableObject, getTypeInfo, precision, preferWritable, scale
getCategory, getTypeName
public byte get(Object o)
ByteObjectInspector
get
in interface ByteObjectInspector
public Object copyObject(Object o)
PrimitiveObjectInspector
copyObject
in interface PrimitiveObjectInspector
public Object getPrimitiveJavaObject(Object o)
PrimitiveObjectInspector
getPrimitiveJavaObject
in interface PrimitiveObjectInspector
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.