Package mondrian.olap.fun
Class UdfResolver.ClassUdfFactory
- java.lang.Object
-
- mondrian.olap.fun.UdfResolver.ClassUdfFactory
-
- All Implemented Interfaces:
UdfResolver.UdfFactory
- Enclosing class:
- UdfResolver
public static class UdfResolver.ClassUdfFactory extends Object implements UdfResolver.UdfFactory
Implementation ofUdfResolver.UdfFactory
that instantiates a given class using a public default constructor.
-
-
Constructor Summary
Constructors Constructor Description ClassUdfFactory(Class<? extends UserDefinedFunction> clazz, String name)
Creates a ClassUdfFactory.
-
-
-
Constructor Detail
-
ClassUdfFactory
public ClassUdfFactory(Class<? extends UserDefinedFunction> clazz, String name)
Creates a ClassUdfFactory.- Parameters:
clazz
- Class to instantiatename
- Name
-
-
Method Detail
-
create
public UserDefinedFunction create()
Description copied from interface:UdfResolver.UdfFactory
Creates a UDF.- Specified by:
create
in interfaceUdfResolver.UdfFactory
- Returns:
- UDF
-
-