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 |
|---|
MyField(int fieldID,
String fieldName,
ObjectInspector fieldObjectInspector,
String fieldComment) |
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 MyField(int fieldID,
String fieldName,
ObjectInspector fieldObjectInspector,
String fieldComment)
public MyField(int fieldID,
StructField field)
public int getFieldID()
StructFieldgetFieldID in interface StructFieldpublic String getFieldName()
StructFieldgetFieldName in interface StructFieldpublic ObjectInspector getFieldObjectInspector()
StructFieldgetFieldObjectInspector in interface StructFieldpublic String getFieldComment()
StructFieldgetFieldComment in interface StructFieldCopyright © 2019 The Apache Software Foundation. All Rights Reserved.