Class CreateTempSystemFunctionOperation

java.lang.Object
org.apache.flink.table.operations.ddl.CreateTempSystemFunctionOperation
All Implemented Interfaces:
CreateOperation, ExecutableOperation, Operation

@Internal public class CreateTempSystemFunctionOperation extends Object implements CreateOperation
Operation to describe a CREATE FUNCTION statement for temporary system function.
  • Constructor Details

    • CreateTempSystemFunctionOperation

      public CreateTempSystemFunctionOperation(String functionName, String functionClass, boolean ignoreIfExists, org.apache.flink.table.catalog.FunctionLanguage functionLanguage, List<org.apache.flink.table.resource.ResourceUri> resourceUris)
    • CreateTempSystemFunctionOperation

      public CreateTempSystemFunctionOperation(String functionName, boolean ignoreIfExists, org.apache.flink.table.functions.FunctionDefinition functionDefinition)
  • Method Details

    • getFunctionName

      public String getFunctionName()
    • isIgnoreIfExists

      public boolean isIgnoreIfExists()
    • getCatalogFunction

      public org.apache.flink.table.catalog.CatalogFunction getCatalogFunction()
    • 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 interface Operation
      Returns:
      summary string of this operation for debugging purposes
    • execute

      Description copied from interface: ExecutableOperation
      Executes the given operation and return the execution result.
      Specified by:
      execute in interface ExecutableOperation
      Parameters:
      ctx - the context to execute the operation.
      Returns:
      the content of the execution result.
      See Also: