public abstract class SettableStructObjectInspector extends StructObjectInspector
ObjectInspector.Category
Constructor and Description |
---|
SettableStructObjectInspector() |
Modifier and Type | Method and Description |
---|---|
abstract Object |
create()
Create a struct which is not null, but all its fields are null.
|
boolean |
isSettable() |
abstract Object |
setStructFieldData(Object struct,
StructField field,
Object fieldValue)
Modify the value of a field.
|
getAllStructFieldRefs, getStructFieldData, getStructFieldRef, getStructFieldsDataAsList, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCategory, getTypeName
public abstract Object create()
public abstract Object setStructFieldData(Object struct, StructField field, Object fieldValue)
public boolean isSettable()
isSettable
in class StructObjectInspector
Copyright © 2017 The Apache Software Foundation. All rights reserved.