use of org.apache.asterix.runtime.evaluators.common.FunctionManagerImpl in project asterixdb by apache.
the class NonTaggedDataFormat method registerRuntimeFunctions.
@Override
public void registerRuntimeFunctions(List<IFunctionDescriptorFactory> funcDescriptors) throws AlgebricksException {
if (registered) {
return;
}
registered = true;
if (FunctionManagerHolder.getFunctionManager() != null) {
return;
}
IFunctionManager mgr = new FunctionManagerImpl();
for (IFunctionDescriptorFactory fdFactory : funcDescriptors) {
mgr.registerFunction(fdFactory);
}
FunctionManagerHolder.setFunctionManager(mgr);
registerTypeInferers();
}
Aggregations