Class CreateDatabaseOperation
java.lang.Object
org.apache.flink.table.operations.ddl.CreateDatabaseOperation
- All Implemented Interfaces:
CreateOperation,ExecutableOperation,Operation
Operation to describe a CREATE DATABASE statement.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.flink.table.operations.ExecutableOperation
ExecutableOperation.Context -
Constructor Summary
ConstructorsConstructorDescriptionCreateDatabaseOperation(String catalogName, String databaseName, org.apache.flink.table.catalog.CatalogDatabase catalogDatabase, boolean ignoreIfExists) -
Method Summary
Modifier and TypeMethodDescriptionReturns a string that summarizes this operation for printing to a console.Executes the given operation and return the execution result.org.apache.flink.table.catalog.CatalogDatabaseboolean
-
Constructor Details
-
CreateDatabaseOperation
-
-
Method Details
-
getCatalogName
-
getDatabaseName
-
getCatalogDatabase
public org.apache.flink.table.catalog.CatalogDatabase getCatalogDatabase() -
isIgnoreIfExists
public boolean isIgnoreIfExists() -
asSummaryString
Description copied from interface:OperationReturns a string that summarizes this operation for printing to a console. An implementation might skip very specific properties.- Specified by:
asSummaryStringin interfaceOperation- Returns:
- summary string of this operation for debugging purposes
-
execute
Description copied from interface:ExecutableOperationExecutes the given operation and return the execution result.- Specified by:
executein interfaceExecutableOperation- Parameters:
ctx- the context to execute the operation.- Returns:
- the content of the execution result.
- See Also:
-