public class WritableBooleanObjectInspector extends AbstractPrimitiveWritableObjectInspector implements SettableBooleanObjectInspector
PrimitiveObjectInspector.PrimitiveCategory
ObjectInspector.Category
typeInfo
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.
|
Object |
create(boolean value)
Create an object with the value.
|
boolean |
get(Object o)
Get the boolean data.
|
Object |
getPrimitiveJavaObject(Object o)
Get the Java Primitive object.
|
Object |
set(Object o,
boolean value)
Set the object with the value.
|
getPrimitiveWritableObject, preferWritable
getCategory, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeInfo, getTypeName, precision, scale
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getPrimitiveWritableObject, getTypeInfo, precision, preferWritable, scale
getCategory, getTypeName
public boolean get(Object o)
BooleanObjectInspector
get
in interface BooleanObjectInspector
public Object copyObject(Object o)
PrimitiveObjectInspector
copyObject
in interface PrimitiveObjectInspector
public Object getPrimitiveJavaObject(Object o)
PrimitiveObjectInspector
getPrimitiveJavaObject
in interface PrimitiveObjectInspector
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.