public class MetadataListStructObjectInspector extends StandardStructObjectInspector
StandardStructObjectInspector.MyField
ObjectInspector.Category
fields, LOG
Modifier | Constructor and Description |
---|---|
protected |
MetadataListStructObjectInspector() |
|
MetadataListStructObjectInspector(List<String> columnNames,
List<String> columnComments) |
Modifier and Type | Method and Description |
---|---|
static MetadataListStructObjectInspector |
getInstance(List<String> columnNames) |
static MetadataListStructObjectInspector |
getInstance(List<String> columnNames,
List<String> columnComments) |
Object |
getStructFieldData(Object data,
StructField fieldRef)
returns null for data = null.
|
List<Object> |
getStructFieldsDataAsList(Object data)
returns null for data = null.
|
create, getAllStructFieldRefs, getCategory, getStructFieldRef, getTypeName, init, init, setStructFieldData
isSettable
toString
public static MetadataListStructObjectInspector getInstance(List<String> columnNames)
public static MetadataListStructObjectInspector getInstance(List<String> columnNames, List<String> columnComments)
public Object getStructFieldData(Object data, StructField fieldRef)
StructObjectInspector
getStructFieldData
in class StandardStructObjectInspector
public List<Object> getStructFieldsDataAsList(Object data)
StructObjectInspector
getStructFieldsDataAsList
in class StandardStructObjectInspector
Copyright © 2017 The Apache Software Foundation. All rights reserved.