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 |
ReflectionStructObjectInspector.MyField() |
|
ReflectionStructObjectInspector.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 ReflectionStructObjectInspector.MyField()
public ReflectionStructObjectInspector.MyField(int fieldID, Field field, ObjectInspector fieldObjectInspector)
public String getFieldName()
StructField
getFieldName
in interface StructField
public ObjectInspector getFieldObjectInspector()
StructField
getFieldObjectInspector
in interface StructField
public int getFieldID()
StructField
getFieldID
in interface StructField
public String getFieldComment()
StructField
getFieldComment
in interface StructField
Copyright © 2017 The Apache Software Foundation. All rights reserved.