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