## Uses of Class
com.snowflake.snowpark_java.types.StructField

- Packages that use StructField
  Package | Description
  --- | ---
  com.snowflake.snowpark_java.types | Provides the classes specifying the schema (the data types of the fields) of semi-structured data.

- - ### Uses of StructField in com.snowflake.snowpark_java.types

    Methods in com.snowflake.snowpark_java.types that return StructField
    Modifier and Type | Method | Description
    --- | --- | ---
    `StructField` | StructType.`get​(int index)` | Retrieves the StructField object from the given index.

    Methods in com.snowflake.snowpark_java.types that return types with arguments of type StructField
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.util.Iterator<StructField>` | StructType.`iterator()` | Creates an Iterator of StructFields.
    `java.util.Optional<StructField>` | StructType.`nameToField​(java.lang.String name)` | Retrieves the corresponding StructField object of the given name.

    Methods in com.snowflake.snowpark_java.types with parameters of type StructField
    Modifier and Type | Method | Description
    --- | --- | ---
    `StructType` | StructType.`add​(StructField field)` | Creates new StructType by appending the given StructField to the end of this StructType.
    `static StructType` | StructType.`create​(StructField... fields)` | Creates a StructType object based on the given StructField

    Constructors in com.snowflake.snowpark_java.types with parameters of type StructField
    Constructor | Description
    --- | ---
    `StructType​(StructField[] fields)` | Creates a StructType object based on the given Array of StructField.