public class WritableBooleanObjectInspector extends AbstractPrimitiveWritableObjectInspector implements SettableBooleanObjectInspector
PrimitiveObjectInspector.PrimitiveCategory
ObjectInspector.Category
typeParams
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
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.
|
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 |
getPrimitiveJavaObject(java.lang.Object o)
Get the Java Primitive object.
|
java.lang.Object |
set(java.lang.Object o,
boolean value)
Set the object with the value.
|
getPrimitiveWritableObject, preferWritable
getCategory, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeName, getTypeParams, setTypeParams
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getPrimitiveWritableObject, getTypeParams, preferWritable, setTypeParams
getCategory, getTypeName
public boolean get(java.lang.Object o)
BooleanObjectInspector
get
in interface BooleanObjectInspector
public java.lang.Object copyObject(java.lang.Object o)
PrimitiveObjectInspector
copyObject
in interface PrimitiveObjectInspector
public java.lang.Object getPrimitiveJavaObject(java.lang.Object o)
PrimitiveObjectInspector
getPrimitiveJavaObject
in interface PrimitiveObjectInspector
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