gravitino.api.rel.table_changeΒΆ

Classes

AddColumn(_field_name, _data_type[, ...])

A TableChange to add a field.

After(_column)

Column position AFTER

Default()

Column position DEFAULT.

DeleteColumn(_field_name, _if_exists)

A TableChange to delete a field.

First()

Column position FIRST.

RenameColumn(_field_name, _new_name)

A TableChange to rename a field.

TableChange()

Defines the public APIs for managing tables in a schema.

UpdateColumnAutoIncrement(_field_name, ...)

A TableChange to update the autoIncrement of a field.

UpdateColumnComment(_field_name, _new_comment)

A TableChange to update the comment of a field.

UpdateColumnDefaultValue(_field_name, ...)

A TableChange to update the default value of a field.

UpdateColumnNullability(_field_name, _nullable)

A TableChange to update the nullability of a field.

UpdateColumnPosition(_field_name, _position)

A TableChange to update the position of a field.

UpdateColumnType(_field_name, _new_data_type)

A TableChange to update the type of a field.