public interface StructType extends ObjectType
Struct.DataSerializable.Replaceable| Modifier and Type | Method and Description |
|---|---|
int |
getFieldIndex(String fieldName)
Returns the index of the field with the given name in this
StructType. |
String[] |
getFieldNames()
Get the names of the fields for this struct
|
ObjectType[] |
getFieldTypes()
The the types of the fields for this struct
|
getSimpleClassName, isCollectionType, isMapType, isStructType, resolveClassfromData, toDataObjectType[] getFieldTypes()
String[] getFieldNames()
int getFieldIndex(String fieldName)
StructType.fieldName - the name of the fieldStructTypeIllegalArgumentException - If this StructType does not contain a field named
fieldName.