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
IOException
public boolean isUdfAllowed(Class<?> clazz)
isUdfAllowed
in interface GenericUDFBridge.UdfWhitelistChecker
public ClassLoader getClassLoader()
public void startLocalizeAllFunctions() throws HiveException
HiveException
public void close()
public void refreshClassloader() throws IOException
IOException
Copyright © 2016 The Apache Software Foundation. All rights reserved.