public class FunctionLocalizer extends Object implements GenericUDFBridge.UdfWhitelistChecker
| Constructor and Description |
|---|
FunctionLocalizer(org.apache.hadoop.conf.Configuration conf,
String localDir) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
ClassLoader |
getClassLoader() |
void |
init() |
boolean |
isUdfAllowed(Class<?> clazz) |
void |
refreshClassloader() |
void |
startLocalizeAllFunctions() |
public FunctionLocalizer(org.apache.hadoop.conf.Configuration conf,
String localDir)
public void init()
throws IOException
IOExceptionpublic boolean isUdfAllowed(Class<?> clazz)
isUdfAllowed in interface GenericUDFBridge.UdfWhitelistCheckerpublic ClassLoader getClassLoader()
public void startLocalizeAllFunctions()
throws HiveException
HiveExceptionpublic void close()
public void refreshClassloader()
throws IOException
IOExceptionCopyright © 2019 The Apache Software Foundation. All Rights Reserved.