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 |
MyField() |
|
MyField(int fieldID,
String fieldName,
ObjectInspector fieldObjectInspector) |
|
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 MyField()
public MyField(int fieldID, String fieldName, ObjectInspector fieldObjectInspector)
public 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 © 2019 The Apache Software Foundation. All rights reserved.