Class Type.StructField (6.62.0)

public static final class Type.StructField implements Serializable

Describes an individual field in a STRUCT type.

Inheritance

Object > Type.StructField

Implements

Serializable

Static Methods

of(String name, Type type)

public static Type.StructField of(String name, Type type)
Parameters
NameDescription
nameString
typeType
Returns
TypeDescription
Type.StructField

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

getName()

public String getName()
Returns
TypeDescription
String

getType()

public Type getType()
Returns
TypeDescription
Type

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides