org.apache.hadoop.hive.serde2.objectinspector.primitive
Class JavaByteObjectInspector
java.lang.Object
org.apache.hadoop.hive.serde2.objectinspector.primitive.AbstractPrimitiveObjectInspector
org.apache.hadoop.hive.serde2.objectinspector.primitive.AbstractPrimitiveJavaObjectInspector
org.apache.hadoop.hive.serde2.objectinspector.primitive.JavaByteObjectInspector
- All Implemented Interfaces:
- ObjectInspector, ByteObjectInspector, PrimitiveObjectInspector
public class JavaByteObjectInspector
- extends AbstractPrimitiveJavaObjectInspector
- implements ByteObjectInspector
A JavaByteObjectInspector inspects a Java Byte Object.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getPrimitiveWritableObject
public Object getPrimitiveWritableObject(Object o)
- Description copied from interface:
PrimitiveObjectInspector
- Return the data in an instance of primitive writable Object. If the
Object is already a primitive writable Object, just return o.
- Specified by:
getPrimitiveWritableObject
in interface PrimitiveObjectInspector
get
public byte get(Object o)
- Description copied from interface:
ByteObjectInspector
- Get the byte data.
- Specified by:
get
in interface ByteObjectInspector
Copyright © 2009 The Apache Software Foundation