@Public public interface SchemaChange extends Serializable
Modifier and Type | Interface and Description |
---|---|
static class |
SchemaChange.AddColumn
A SchemaChange to add a field.
|
static class |
SchemaChange.DropColumn
A SchemaChange to drop a field.
|
static class |
SchemaChange.Move
Represents a requested column move in a struct.
|
static class |
SchemaChange.RemoveOption
A SchemaChange to remove a table option.
|
static class |
SchemaChange.RenameColumn
A SchemaChange to rename a field.
|
static class |
SchemaChange.SetOption
A SchemaChange to set a table option.
|
static class |
SchemaChange.UpdateColumnComment
A SchemaChange to update the (nested) field comment.
|
static class |
SchemaChange.UpdateColumnNullability
A SchemaChange to update the (nested) field nullability.
|
static class |
SchemaChange.UpdateColumnPosition
A SchemaChange to update the field position.
|
static class |
SchemaChange.UpdateColumnType
A SchemaChange to update the field type.
|
static class |
SchemaChange.UpdateComment
A SchemaChange to Update table comment.
|
static SchemaChange setOption(String key, String value)
static SchemaChange removeOption(String key)
static SchemaChange updateComment(@Nullable String comment)
static SchemaChange addColumn(String fieldName, DataType dataType)
static SchemaChange addColumn(String fieldName, DataType dataType, String comment)
static SchemaChange addColumn(String fieldName, DataType dataType, String comment, SchemaChange.Move move)
static SchemaChange addColumn(String[] fieldNames, DataType dataType, String comment, SchemaChange.Move move)
static SchemaChange renameColumn(String fieldName, String newName)
static SchemaChange renameColumn(String[] fieldNames, String newName)
static SchemaChange dropColumn(String fieldName)
static SchemaChange dropColumn(String[] fieldNames)
static SchemaChange updateColumnType(String fieldName, DataType newDataType)
static SchemaChange updateColumnType(String fieldName, DataType newDataType, boolean keepNullability)
static SchemaChange updateColumnType(String[] fieldNames, DataType newDataType, boolean keepNullability)
static SchemaChange updateColumnNullability(String fieldName, boolean newNullability)
static SchemaChange updateColumnNullability(String[] fieldNames, boolean newNullability)
static SchemaChange updateColumnComment(String fieldName, String comment)
static SchemaChange updateColumnComment(String[] fieldNames, String comment)
static SchemaChange updateColumnPosition(SchemaChange.Move move)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.