org.teiid.query.function
Interface FunctionMetadataSource

All Known Implementing Classes:
SystemSource, UDFSource

public interface FunctionMetadataSource

A FunctionMetadataSource represents a source of function metadata for the function library. A FunctionMetadataSource needs to know how to return a collection of all the function signatures it knows about.


Method Summary
 Collection<FunctionMethod> getFunctionMethods()
          This method requests that the source return all FunctionMethods the source knows about.
 Class getInvocationClass(String className)
          This method determines where the invocation classes specified in the function metadata are actually retrieved from.
 

Method Detail

getFunctionMethods

Collection<FunctionMethod> getFunctionMethods()
This method requests that the source return all FunctionMethods the source knows about. This can occur in several situations - on initial registration with the FunctionLibraryManager, on a general reload, etc. This may be called multiple times and should always return the newest information available.

Returns:
Collection of FunctionMethod objects

getInvocationClass

Class getInvocationClass(String className)
                         throws ClassNotFoundException
This method determines where the invocation classes specified in the function metadata are actually retrieved from.

Parameters:
className - Name of class
Returns:
Class reference
Throws:
ClassNotFoundException - If class could not be found


Copyright © 2012. All Rights Reserved.