public class FunctionService extends Object
UserDefinedFunction using a
FunctionDescriptor.| 构造器和说明 |
|---|
FunctionService() |
| 限定符和类型 | 方法和说明 |
|---|---|
static UserDefinedFunction |
createFunction(FunctionDescriptor descriptor)
Creates a user-defined function with the given properties and the current thread's
context class loader.
|
static UserDefinedFunction |
createFunction(FunctionDescriptor descriptor,
ClassLoader classLoader)
Creates a user-defined function with the given properties.
|
static UserDefinedFunction |
createFunction(FunctionDescriptor descriptor,
ClassLoader classLoader,
boolean performValidation)
Creates a user-defined function with the given properties.
|
static UserDefinedFunction |
createFunction(FunctionDescriptor descriptor,
ClassLoader classLoader,
boolean performValidation,
org.apache.flink.configuration.ReadableConfig config)
Creates a user-defined function with the given properties.
|
public static UserDefinedFunction createFunction(FunctionDescriptor descriptor)
descriptor - the descriptor that describes a functionpublic static UserDefinedFunction createFunction(FunctionDescriptor descriptor, ClassLoader classLoader)
descriptor - the descriptor that describes a functionclassLoader - the class loader to load the function and its parameter's classespublic static UserDefinedFunction createFunction(FunctionDescriptor descriptor, ClassLoader classLoader, boolean performValidation)
descriptor - the descriptor that describes a functionclassLoader - the class loader to load the function and its parameter's classesperformValidation - whether or not the descriptor should be validatedpublic static UserDefinedFunction createFunction(FunctionDescriptor descriptor, ClassLoader classLoader, boolean performValidation, org.apache.flink.configuration.ReadableConfig config)
descriptor - the descriptor that describes a functionclassLoader - the class loader to load the function and its parameter's classesperformValidation - whether or not the descriptor should be validatedconfig - the table configuration used to create the functionCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.