Class CreateCatalogFunctionOperation
- java.lang.Object
-
- org.apache.flink.table.operations.ddl.CreateCatalogFunctionOperation
-
- All Implemented Interfaces:
CreateOperation
,ExecutableOperation
,Operation
@Internal public class CreateCatalogFunctionOperation extends Object implements CreateOperation
Operation to describe a CREATE FUNCTION statement for catalog functions.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.flink.table.operations.ExecutableOperation
ExecutableOperation.Context
-
-
Constructor Summary
Constructors Constructor Description CreateCatalogFunctionOperation(ObjectIdentifier functionIdentifier, CatalogFunction catalogFunction, boolean ignoreIfExists, boolean isTemporary)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.CatalogFunction
getCatalogFunction()
ObjectIdentifier
getFunctionIdentifier()
String
getFunctionName()
boolean
isIgnoreIfExists()
boolean
isTemporary()
-
-
-
Constructor Detail
-
CreateCatalogFunctionOperation
public CreateCatalogFunctionOperation(ObjectIdentifier functionIdentifier, CatalogFunction catalogFunction, boolean ignoreIfExists, boolean isTemporary)
-
-
Method Detail
-
getCatalogFunction
public CatalogFunction getCatalogFunction()
-
getFunctionIdentifier
public ObjectIdentifier getFunctionIdentifier()
-
isIgnoreIfExists
public boolean isIgnoreIfExists()
-
isTemporary
public boolean isTemporary()
-
asSummaryString
public String asSummaryString()
Description copied from interface:Operation
Returns a string that summarizes this operation for printing to a console. An implementation might skip very specific properties.- Specified by:
asSummaryString
in interfaceOperation
- Returns:
- summary string of this operation for debugging purposes
-
getFunctionName
public String getFunctionName()
-
execute
public TableResultInternal execute(ExecutableOperation.Context ctx)
Description copied from interface:ExecutableOperation
Executes the given operation and return the execution result.- Specified by:
execute
in interfaceExecutableOperation
- Parameters:
ctx
- the context to execute the operation.- Returns:
- the content of the execution result.
- See Also:
TableEnvironmentInternal.executeInternal(Operation)
-
-