protected static class BaseStructObjectInspector.MyField extends Object implements StructField
Modifier and Type | Field and Description |
---|---|
protected String |
fieldComment |
protected int |
fieldID |
protected String |
fieldName |
protected ObjectInspector |
fieldObjectInspector |
Constructor and Description |
---|
BaseStructObjectInspector.MyField(int fieldID,
String fieldName,
ObjectInspector fieldObjectInspector,
String fieldComment) |
BaseStructObjectInspector.MyField(int fieldID,
StructField field) |
Modifier and Type | Method and Description |
---|---|
String |
getFieldComment()
Get the comment for the field.
|
int |
getFieldID()
Get the fieldID for the field.
|
String |
getFieldName()
Get the name of the field.
|
ObjectInspector |
getFieldObjectInspector()
Get the ObjectInspector for the field.
|
String |
toString() |
protected final int fieldID
protected final String fieldName
protected final String fieldComment
protected final ObjectInspector fieldObjectInspector
public BaseStructObjectInspector.MyField(int fieldID, String fieldName, ObjectInspector fieldObjectInspector, String fieldComment)
public BaseStructObjectInspector.MyField(int fieldID, StructField field)
public int getFieldID()
StructField
getFieldID
in interface StructField
public String getFieldName()
StructField
getFieldName
in interface StructField
public ObjectInspector getFieldObjectInspector()
StructField
getFieldObjectInspector
in interface StructField
public String getFieldComment()
StructField
getFieldComment
in interface StructField
Copyright © 2017 The Apache Software Foundation. All rights reserved.