public class StructField
extends Object
String name
, DataType dataType
,
and boolean nullable
. The field of name
is the name of a StructField.
The field of dataType
specifies the data type of a StructField.
The field of nullable
specifies if values of a StructField can contain null
values.
To create a StructField
,
DataType.createStructField(String, DataType, boolean)
should be used.Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
DataType |
getDataType() |
String |
getName() |
int |
hashCode() |
boolean |
isNullable() |
public String getName()
public DataType getDataType()
public boolean isNullable()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object