public class ByteOptionInspector extends AbstractValueInspector implements org.apache.hadoop.hive.serde2.objectinspector.primitive.ByteObjectInspector
ByteOption
object.Constructor and Description |
---|
ByteOptionInspector()
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
byte |
get(Object o) |
Object |
getPrimitiveJavaObject(Object o) |
Object |
getPrimitiveWritableObject(Object o) |
protected ValueOption<?> |
newObject()
Creates a new instance for supported
ValueOption type. |
copyObject, preferWritable
getCategory, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeInfo, getTypeName, precision, scale
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
protected ValueOption<?> newObject()
AbstractValueInspector
ValueOption
type.newObject
in class AbstractValueInspector
public Object getPrimitiveJavaObject(Object o)
getPrimitiveJavaObject
in interface org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector
public Object getPrimitiveWritableObject(Object o)
getPrimitiveWritableObject
in interface org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector
public byte get(Object o)
get
in interface org.apache.hadoop.hive.serde2.objectinspector.primitive.ByteObjectInspector
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.