public class JavaBooleanObjectInspector extends AbstractPrimitiveJavaObjectInspector implements SettableBooleanObjectInspector
PrimitiveObjectInspector.PrimitiveCategory
ObjectInspector.Category
typeParams
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
create(boolean value)
Create an object with the value.
|
boolean |
get(java.lang.Object o)
Get the boolean data.
|
java.lang.Object |
getPrimitiveWritableObject(java.lang.Object o)
Return the data in an instance of primitive writable Object.
|
java.lang.Object |
set(java.lang.Object o,
boolean value)
Set the object with the value.
|
copyObject, getPrimitiveJavaObject, preferWritable
getCategory, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeName, getTypeParams, setTypeParams
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
copyObject, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveJavaObject, getPrimitiveWritableClass, getTypeParams, preferWritable, setTypeParams
getCategory, getTypeName
public java.lang.Object getPrimitiveWritableObject(java.lang.Object o)
PrimitiveObjectInspector
getPrimitiveWritableObject
in interface PrimitiveObjectInspector
public boolean get(java.lang.Object o)
BooleanObjectInspector
get
in interface BooleanObjectInspector
public java.lang.Object create(boolean value)
SettableBooleanObjectInspector
create
in interface SettableBooleanObjectInspector
public java.lang.Object set(java.lang.Object o, boolean value)
SettableBooleanObjectInspector
set
in interface SettableBooleanObjectInspector
Copyright © 2012 The Apache Software Foundation