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