public static class NullStructSerDe.NullStructSerDeObjectInspector extends StructObjectInspector
ObjectInspector.Category
Constructor and Description |
---|
NullStructSerDe.NullStructSerDeObjectInspector() |
Modifier and Type | Method and Description |
---|---|
List<org.apache.hadoop.hive.serde2.NullStructSerDe.NullStructField> |
getAllStructFieldRefs()
Returns all the fields.
|
ObjectInspector.Category |
getCategory()
An ObjectInspector must inherit from one of the following interfaces if
getCategory() returns: PRIMITIVE: PrimitiveObjectInspector LIST:
ListObjectInspector MAP: MapObjectInspector STRUCT: StructObjectInspector.
|
Object |
getStructFieldData(Object data,
StructField fieldRef)
returns null for data = null.
|
StructField |
getStructFieldRef(String fieldName)
Look up a field.
|
List<Object> |
getStructFieldsDataAsList(Object data)
returns null for data = null.
|
String |
getTypeName()
Returns the name of the data type that is inspected by this
ObjectInspector.
|
isSettable, toString
public NullStructSerDe.NullStructSerDeObjectInspector()
public String getTypeName()
ObjectInspector
public ObjectInspector.Category getCategory()
ObjectInspector
public StructField getStructFieldRef(String fieldName)
StructObjectInspector
getStructFieldRef
in class StructObjectInspector
public List<org.apache.hadoop.hive.serde2.NullStructSerDe.NullStructField> getAllStructFieldRefs()
StructObjectInspector
getAllStructFieldRefs
in class StructObjectInspector
public Object getStructFieldData(Object data, StructField fieldRef)
StructObjectInspector
getStructFieldData
in class StructObjectInspector
public List<Object> getStructFieldsDataAsList(Object data)
StructObjectInspector
getStructFieldsDataAsList
in class StructObjectInspector
Copyright © 2017 The Apache Software Foundation. All rights reserved.