@Internal public class AlterDatabaseOperation extends Object implements AlterOperation
ExecutableOperation.Context| Constructor and Description |
|---|
AlterDatabaseOperation(String catalogName,
String databaseName,
org.apache.flink.table.catalog.CatalogDatabase catalogDatabase) |
| Modifier and Type | Method and Description |
|---|---|
String |
asSummaryString()
Returns a string that summarizes this operation for printing to a console.
|
TableResultInternal |
execute(ExecutableOperation.Context ctx)
Executes the given operation and return the execution result.
|
org.apache.flink.table.catalog.CatalogDatabase |
getCatalogDatabase() |
String |
getCatalogName() |
String |
getDatabaseName() |
public String getCatalogName()
public String getDatabaseName()
public org.apache.flink.table.catalog.CatalogDatabase getCatalogDatabase()
public String asSummaryString()
OperationasSummaryString in interface Operationpublic TableResultInternal execute(ExecutableOperation.Context ctx)
ExecutableOperationexecute in interface ExecutableOperationctx - the context to execute the operation.TableEnvironmentInternal.executeInternal(Operation)Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.