public class WritableBinaryObjectInspector extends AbstractPrimitiveWritableObjectInspector implements SettableBinaryObjectInspector
PrimitiveObjectInspector.PrimitiveCategoryObjectInspector.CategorytypeInfo| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.io.BytesWritable |
copyObject(Object o)
Get a copy of the Object in the same class, so the return value can be
stored independently of the parameter.
|
org.apache.hadoop.io.BytesWritable |
create(byte[] bb)
Create an object with the value.
|
org.apache.hadoop.io.BytesWritable |
create(org.apache.hadoop.io.BytesWritable bw)
Create an object with the value.
|
byte[] |
getPrimitiveJavaObject(Object o)
Get the Java Primitive object.
|
org.apache.hadoop.io.BytesWritable |
getPrimitiveWritableObject(Object o)
Return the data in an instance of primitive writable Object.
|
org.apache.hadoop.io.BytesWritable |
set(Object o,
byte[] bb)
Set the object with the value.
|
org.apache.hadoop.io.BytesWritable |
set(Object o,
org.apache.hadoop.io.BytesWritable bw)
Set the object with the value.
|
preferWritablegetCategory, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeInfo, getTypeName, precision, scaleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeInfo, precision, preferWritable, scalegetCategory, getTypeNamepublic org.apache.hadoop.io.BytesWritable copyObject(Object o)
PrimitiveObjectInspectorcopyObject in interface PrimitiveObjectInspectorpublic byte[] getPrimitiveJavaObject(Object o)
PrimitiveObjectInspectorgetPrimitiveJavaObject in interface BinaryObjectInspectorgetPrimitiveJavaObject in interface PrimitiveObjectInspectorpublic org.apache.hadoop.io.BytesWritable getPrimitiveWritableObject(Object o)
PrimitiveObjectInspectorgetPrimitiveWritableObject in interface BinaryObjectInspectorgetPrimitiveWritableObject in interface PrimitiveObjectInspectorgetPrimitiveWritableObject in class AbstractPrimitiveWritableObjectInspectorpublic org.apache.hadoop.io.BytesWritable set(Object o, byte[] bb)
SettableBinaryObjectInspectorset in interface SettableBinaryObjectInspectorpublic org.apache.hadoop.io.BytesWritable set(Object o, org.apache.hadoop.io.BytesWritable bw)
SettableBinaryObjectInspectorset in interface SettableBinaryObjectInspectorpublic org.apache.hadoop.io.BytesWritable create(byte[] bb)
SettableBinaryObjectInspectorcreate in interface SettableBinaryObjectInspectorpublic org.apache.hadoop.io.BytesWritable create(org.apache.hadoop.io.BytesWritable bw)
SettableBinaryObjectInspectorcreate in interface SettableBinaryObjectInspectorCopyright © 2019 The Apache Software Foundation. All Rights Reserved.