public static final class TableChange.AddColumn extends Object implements TableChange.ColumnChange
If the field already exists, the change must result in an IllegalArgumentException
.
If the new field is nested and its parent does not exist or is not a struct, the change must
result in an IllegalArgumentException
.
TableChange.AddColumn, TableChange.ColumnChange, TableChange.DeleteColumn, TableChange.RemoveProperty, TableChange.RenameColumn, TableChange.SetProperty, TableChange.UpdateColumnComment, TableChange.UpdateColumnType
Modifier and Type | Method and Description |
---|---|
String |
comment() |
DataType |
dataType() |
boolean |
equals(Object o) |
String[] |
fieldNames() |
int |
hashCode() |
boolean |
isNullable() |
addColumn, addColumn, addColumn, deleteColumn, removeProperty, renameColumn, setProperty, updateColumnComment, updateColumnType, updateColumnType
public String[] fieldNames()
fieldNames
in interface TableChange.ColumnChange
public DataType dataType()
public boolean isNullable()
public String comment()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object