public abstract class StructObjectInspector extends Object implements ObjectInspector
ObjectInspector.Category
Constructor and Description |
---|
StructObjectInspector() |
Modifier and Type | Method and Description |
---|---|
abstract List<? extends StructField> |
getAllStructFieldRefs()
Returns all the fields.
|
abstract Object |
getStructFieldData(Object data,
StructField fieldRef)
returns null for data = null.
|
abstract StructField |
getStructFieldRef(String fieldName)
Look up a field.
|
abstract List<Object> |
getStructFieldsDataAsList(Object data)
returns null for data = null.
|
boolean |
isSettable() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCategory, getTypeName
public abstract List<? extends StructField> getAllStructFieldRefs()
public abstract StructField getStructFieldRef(String fieldName)
public abstract Object getStructFieldData(Object data, StructField fieldRef)
public abstract List<Object> getStructFieldsDataAsList(Object data)
public boolean isSettable()
Copyright © 2017 The Apache Software Foundation. All rights reserved.