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