public abstract class UserDefinedFunctionProvider
extends java.lang.Object
Constructor and Description |
---|
UserDefinedFunctionProvider() |
Modifier and Type | Method and Description |
---|---|
UserDefinedFunction |
createUserDefinedFunction(java.lang.String namespaceURI,
java.lang.String fName)
Finds and initializes User Defined Function class based on namespace and name
provided.
|
abstract java.lang.Class<?>[] |
getUserDefinedFunctionClasses()
Must be implemented to return the classes of the User Defined Function this
provider is aware of/providing
|
public abstract java.lang.Class<?>[] getUserDefinedFunctionClasses()
public UserDefinedFunction createUserDefinedFunction(java.lang.String namespaceURI, java.lang.String fName) throws java.lang.IllegalArgumentException, java.lang.SecurityException, java.lang.ExceptionInInitializerError, java.lang.ReflectiveOperationException
namespaceURI
- XML namespace associated with schema function callfName
- function name called in schemajava.lang.SecurityException
- if security manager exists and disallows accessjava.lang.IllegalArgumentException
- if the UDF doesn't have a no-argument constructorjava.lang.ExceptionInInitializerError
- if there is an issue initializing the UDF objectjava.lang.ReflectiveOperationException
- if the UDF doesn't have a no-argument constructor or if there is an
issue initializing the UDF object