public interface StructType extends ObjectType
Struct.DataSerializable.Replaceable| Modifier and Type | Method and Description |
|---|---|
int |
getFieldIndex(java.lang.String fieldName)
Returns the index of the field with the given name in this
StructType. |
java.lang.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()
java.lang.String[] getFieldNames()
int getFieldIndex(java.lang.String fieldName)
StructType.java.lang.IllegalArgumentException - If this StructType does not contain a field
named fieldName.