protected static class StandardStructObjectInspector.MyField extends Object implements StructField
Modifier and Type | Field and Description |
---|---|
protected String |
fieldComment |
protected int |
fieldID |
protected String |
fieldName |
protected ObjectInspector |
fieldObjectInspector |
Modifier | Constructor and Description |
---|---|
protected |
StandardStructObjectInspector.MyField() |
|
StandardStructObjectInspector.MyField(int fieldID,
String fieldName,
ObjectInspector fieldObjectInspector) |
|
StandardStructObjectInspector.MyField(int fieldID,
String fieldName,
ObjectInspector fieldObjectInspector,
String fieldComment) |
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 String fieldName
protected ObjectInspector fieldObjectInspector
protected String fieldComment
protected StandardStructObjectInspector.MyField()
public StandardStructObjectInspector.MyField(int fieldID, String fieldName, ObjectInspector fieldObjectInspector)
public StandardStructObjectInspector.MyField(int fieldID, String fieldName, ObjectInspector fieldObjectInspector, String fieldComment)
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.