public class LazyBinaryObjectInspector extends AbstractPrimitiveLazyObjectInspector<org.apache.hadoop.io.BytesWritable> implements BinaryObjectInspector
PrimitiveObjectInspector.PrimitiveCategory
ObjectInspector.Category
typeInfo
Constructor and Description |
---|
LazyBinaryObjectInspector() |
Modifier and Type | Method and Description |
---|---|
Object |
copyObject(Object o)
Get a copy of the Object in the same class, so the return value can be
stored independently of the parameter.
|
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.
|
preferWritable
getCategory, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeInfo, getTypeName, precision, scale
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeInfo, precision, preferWritable, scale
getCategory, getTypeName
public Object copyObject(Object o)
PrimitiveObjectInspector
copyObject
in interface PrimitiveObjectInspector
public byte[] getPrimitiveJavaObject(Object o)
PrimitiveObjectInspector
getPrimitiveJavaObject
in interface BinaryObjectInspector
getPrimitiveJavaObject
in interface PrimitiveObjectInspector
public org.apache.hadoop.io.BytesWritable getPrimitiveWritableObject(Object o)
PrimitiveObjectInspector
getPrimitiveWritableObject
in interface BinaryObjectInspector
getPrimitiveWritableObject
in interface PrimitiveObjectInspector
getPrimitiveWritableObject
in class AbstractPrimitiveLazyObjectInspector<org.apache.hadoop.io.BytesWritable>
Copyright © 2017 The Apache Software Foundation. All rights reserved.