public class PythonFunctionFactoryImpl extends Object implements PythonFunctionFactory, Closeable
PythonFunctionFactory.CacheKeyCACHE_CLEANUP_EXECUTOR_SERVICE, CACHE_CLEANUP_EXECUTOR_SERVICE_STARTED, PYTHON_FUNCTION_FACTORY_CACHE| Constructor and Description |
|---|
PythonFunctionFactoryImpl(PythonFunctionFactory realPythonFunctionFactory,
PythonEnvUtils.PythonProcessShutdownHook shutdownHook) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
org.apache.flink.table.functions.python.PythonFunction |
getPythonFunction(String moduleName,
String objectName)
Returns PythonFunction according to moduleName and objectName.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreatePythonFunctionFactory, ensureCacheCleanupExecutorServiceStarted, getPythonFunctionpublic PythonFunctionFactoryImpl(PythonFunctionFactory realPythonFunctionFactory, PythonEnvUtils.PythonProcessShutdownHook shutdownHook)
public org.apache.flink.table.functions.python.PythonFunction getPythonFunction(String moduleName, String objectName)
PythonFunctionFactorygetPythonFunction in interface PythonFunctionFactorymoduleName - The module name of the Python UDF.objectName - The function name / class name of the Python UDF.public void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.