public static class ReflectionStructObjectInspector.MyField extends Object implements StructField
| Modifier and Type | Field and Description |
|---|---|
protected Field |
field |
protected int |
fieldID |
protected ObjectInspector |
fieldObjectInspector |
| Modifier | Constructor and Description |
|---|---|
protected |
MyField() |
|
MyField(int fieldID,
Field field,
ObjectInspector fieldObjectInspector) |
| 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 int fieldID
protected Field field
protected ObjectInspector fieldObjectInspector
protected MyField()
public MyField(int fieldID,
Field field,
ObjectInspector fieldObjectInspector)
public String getFieldName()
StructFieldgetFieldName in interface StructFieldpublic ObjectInspector getFieldObjectInspector()
StructFieldgetFieldObjectInspector in interface StructFieldpublic int getFieldID()
StructFieldgetFieldID in interface StructFieldpublic String getFieldComment()
StructFieldgetFieldComment in interface StructFieldCopyright © 2019 The Apache Software Foundation. All Rights Reserved.