Interface AlterTableOperation
- All Known Implementing Classes:
AlterTableAddColumns
,AlterTableAddVectorize
,AlterTableDropColumns
,AlterTableDropVectorize
,AlterTableRenameColumns
public interface AlterTableOperation
Represents a generic operation to alter a database table schema.
This interface provides a contract for implementing specific schema alteration operations.
Implementations of this interface must define the name of the operation.
Example usage:
AlterTableOperation operation = new AlterTableAddVectorize();
String operationName = operation.getOperationName();
-
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the table alteration operation.
-
Method Details
-
getOperationName
String getOperationName()Returns the name of the table alteration operation. This method is annotated withJsonIgnore
to prevent serialization of the operation name in JSON outputs.- Returns:
- the name of the operation
-