@Internal public class CreateCatalogFunctionOperation extends Object implements CreateOperation
ExecutableOperation.Context
Constructor and Description |
---|
CreateCatalogFunctionOperation(ObjectIdentifier functionIdentifier,
CatalogFunction catalogFunction,
boolean ignoreIfExists,
boolean isTemporary) |
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.
|
CatalogFunction |
getCatalogFunction() |
ObjectIdentifier |
getFunctionIdentifier() |
String |
getFunctionName() |
boolean |
isIgnoreIfExists() |
boolean |
isTemporary() |
public CreateCatalogFunctionOperation(ObjectIdentifier functionIdentifier, CatalogFunction catalogFunction, boolean ignoreIfExists, boolean isTemporary)
public CatalogFunction getCatalogFunction()
public ObjectIdentifier getFunctionIdentifier()
public boolean isIgnoreIfExists()
public boolean isTemporary()
public String asSummaryString()
Operation
asSummaryString
in interface Operation
public String getFunctionName()
public TableResultInternal execute(ExecutableOperation.Context ctx)
ExecutableOperation
execute
in interface ExecutableOperation
ctx
- the context to execute the operation.TableEnvironmentInternal.executeInternal(Operation)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.