public class WritableBinaryObjectInspector extends AbstractPrimitiveWritableObjectInspector implements SettableBinaryObjectInspector
PrimitiveObjectInspector.PrimitiveCategoryObjectInspector.CategorytypeParams| Modifier and Type | Method and Description |
|---|---|
BytesWritable |
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.
|
BytesWritable |
create(byte[] bb)
Create an object with the value.
|
BytesWritable |
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.
|
BytesWritable |
set(java.lang.Object o,
byte[] bb)
Set the object with the value.
|
BytesWritable |
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 BytesWritable copyObject(java.lang.Object o)
PrimitiveObjectInspectorcopyObject in interface PrimitiveObjectInspectorpublic byte[] getPrimitiveJavaObject(java.lang.Object o)
PrimitiveObjectInspectorgetPrimitiveJavaObject in interface BinaryObjectInspectorgetPrimitiveJavaObject in interface PrimitiveObjectInspectorpublic BytesWritable getPrimitiveWritableObject(java.lang.Object o)
PrimitiveObjectInspectorgetPrimitiveWritableObject in interface BinaryObjectInspectorgetPrimitiveWritableObject in interface PrimitiveObjectInspectorgetPrimitiveWritableObject in class AbstractPrimitiveWritableObjectInspectorpublic BytesWritable set(java.lang.Object o,
byte[] bb)
SettableBinaryObjectInspectorset in interface SettableBinaryObjectInspectorpublic BytesWritable set(java.lang.Object o,
BytesWritable bw)
SettableBinaryObjectInspectorset in interface SettableBinaryObjectInspectorpublic BytesWritable create(byte[] bb)
SettableBinaryObjectInspectorcreate in interface SettableBinaryObjectInspectorpublic BytesWritable create(BytesWritable bw)
SettableBinaryObjectInspectorcreate in interface SettableBinaryObjectInspectorCopyright © 2012 The Apache Software Foundation