| Package | Description |
|---|---|
| com.snowflake.snowpark_java.types |
Provides the classes specifying the schema (the data types of the fields) of semi-structured data.
|
| Modifier and Type | Method and Description |
|---|---|
StructField |
StructType.get(int index)
Retrieves the StructField object from the given index.
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<StructField> |
StructType.iterator()
Creates an Iterator of StructFields.
|
Optional<StructField> |
StructType.nameToField(String name)
Retrieves the corresponding StructField object of the given name.
|
| Modifier and Type | Method and 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
|
| Constructor and Description |
|---|
StructType(StructField[] fields)
Creates a StructType object based on the given Array of StructField.
|
© 2023 Snowflake Inc. All Rights Reserved