public class FunctionService extends Object
UserDefinedFunction using a
FunctionDescriptor.| Constructor and Description |
|---|
FunctionService() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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 validatedCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.