public class JavaBinaryObjectInspector extends AbstractPrimitiveJavaObjectInspector implements SettableBinaryObjectInspector
PrimitiveObjectInspector.PrimitiveCategory
ObjectInspector.Category
typeInfo
Modifier and Type | Method and Description |
---|---|
byte[] |
create(byte[] bb)
Create an object with the value.
|
byte[] |
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.
|
byte[] |
set(Object o,
byte[] bb)
Set the object with the value.
|
byte[] |
set(Object o,
org.apache.hadoop.io.BytesWritable bw)
Set the object with the value.
|
copyObject, preferWritable
getCategory, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeInfo, getTypeName, precision, scale
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
copyObject, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeInfo, precision, preferWritable, scale
getCategory, getTypeName
public org.apache.hadoop.io.BytesWritable getPrimitiveWritableObject(Object o)
PrimitiveObjectInspector
getPrimitiveWritableObject
in interface BinaryObjectInspector
getPrimitiveWritableObject
in interface PrimitiveObjectInspector
public byte[] getPrimitiveJavaObject(Object o)
PrimitiveObjectInspector
getPrimitiveJavaObject
in interface BinaryObjectInspector
getPrimitiveJavaObject
in interface PrimitiveObjectInspector
getPrimitiveJavaObject
in class AbstractPrimitiveJavaObjectInspector
public byte[] set(Object o, byte[] bb)
SettableBinaryObjectInspector
set
in interface SettableBinaryObjectInspector
public byte[] set(Object o, org.apache.hadoop.io.BytesWritable bw)
SettableBinaryObjectInspector
set
in interface SettableBinaryObjectInspector
public byte[] create(byte[] bb)
SettableBinaryObjectInspector
create
in interface SettableBinaryObjectInspector
public byte[] create(org.apache.hadoop.io.BytesWritable bw)
SettableBinaryObjectInspector
create
in interface SettableBinaryObjectInspector
Copyright © 2017 The Apache Software Foundation. All rights reserved.