Skip to content

TableChange

TableChange is an abstraction of changes to a table (when TableCatalog is requested to alter one).

Implementations

ColumnChange

ColumnChange is an extension of the TableChange abstraction for the column changes:

  • AddColumn
  • DeleteColumn
  • RenameColumn
  • UpdateColumnComment
  • UpdateColumnNullability
  • UpdateColumnPosition
  • UpdateColumnType

RenameColumn

RenameColumn is a TableChange to rename a field.

RenameColumn is created when TableChange is requested for one

RemoveProperty

SetProperty

Creating RenameColumn

TableChange renameColumn(
  String[] fieldNames,
  String newName)
Static Method

renameColumn is declared as static that is invoked without a reference to a particular object.

Learn more in the Java Language Specification.

renameColumn creates a RenameColumn table change.

renameColumn is used when:

  • RenameColumn logical command is requested for the table changes