public class JavaBinaryObjectInspector extends AbstractPrimitiveJavaObjectInspector implements SettableBinaryObjectInspector
PrimitiveObjectInspector.PrimitiveCategoryObjectInspector.CategorytypeParams| Modifier and Type | Method and Description |
|---|---|
byte[] |
copyObject(java.lang.Object o)
Get a copy of the Object in the same class, so the return value can be
stored independently of the parameter.
|
byte[] |
create(byte[] bb)
Create an object with the value.
|
byte[] |
create(BytesWritable bw)
Create an object with the value.
|
byte[] |
getPrimitiveJavaObject(java.lang.Object o)
Get the Java Primitive object.
|
BytesWritable |
getPrimitiveWritableObject(java.lang.Object o)
Return the data in an instance of primitive writable Object.
|
byte[] |
set(java.lang.Object o,
byte[] bb)
Set the object with the value.
|
byte[] |
set(java.lang.Object o,
BytesWritable bw)
Set the object with the value.
|
preferWritablegetCategory, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeName, getTypeParams, setTypeParamsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeParams, preferWritable, setTypeParamsgetCategory, getTypeNamepublic byte[] copyObject(java.lang.Object o)
PrimitiveObjectInspectorcopyObject in interface PrimitiveObjectInspectorcopyObject in class AbstractPrimitiveJavaObjectInspectorpublic BytesWritable getPrimitiveWritableObject(java.lang.Object o)
PrimitiveObjectInspectorgetPrimitiveWritableObject in interface BinaryObjectInspectorgetPrimitiveWritableObject in interface PrimitiveObjectInspectorpublic byte[] getPrimitiveJavaObject(java.lang.Object o)
PrimitiveObjectInspectorgetPrimitiveJavaObject in interface BinaryObjectInspectorgetPrimitiveJavaObject in interface PrimitiveObjectInspectorgetPrimitiveJavaObject in class AbstractPrimitiveJavaObjectInspectorpublic byte[] set(java.lang.Object o,
byte[] bb)
SettableBinaryObjectInspectorset in interface SettableBinaryObjectInspectorpublic byte[] set(java.lang.Object o,
BytesWritable bw)
SettableBinaryObjectInspectorset in interface SettableBinaryObjectInspectorpublic byte[] create(byte[] bb)
SettableBinaryObjectInspectorcreate in interface SettableBinaryObjectInspectorpublic byte[] create(BytesWritable bw)
SettableBinaryObjectInspectorcreate in interface SettableBinaryObjectInspectorCopyright © 2012 The Apache Software Foundation