com.metamatrix.query.function.source
Class SystemSource

java.lang.Object
  extended by com.metamatrix.query.function.source.SystemSource
All Implemented Interfaces:
FunctionMetadataSource, FunctionCategoryConstants

public class SystemSource
extends java.lang.Object
implements FunctionMetadataSource, FunctionCategoryConstants

This metadata source has metadata for the hard-coded system functions. All system functions are described by this metadata.


Field Summary
 
Fields inherited from interface com.metamatrix.query.function.metadata.FunctionCategoryConstants
CONVERSION, DATETIME, MISCELLANEOUS, NUMERIC, SECURITY, STRING, SYSTEM, XML
 
Constructor Summary
SystemSource()
          Construct a source of system metadata.
 
Method Summary
 java.util.Collection getFunctionMethods()
          Get all function signatures for this metadata source.
 java.lang.Class getInvocationClass(java.lang.String className)
          Sources are returned from the system classpath.
 void loadFunctions(java.io.InputStream source)
          Never need to reload - do nothing.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemSource

public SystemSource()
Construct a source of system metadata.

Method Detail

getFunctionMethods

public java.util.Collection getFunctionMethods()
Get all function signatures for this metadata source.

Specified by:
getFunctionMethods in interface FunctionMetadataSource
Returns:
Unordered collection of FunctionMethods

getInvocationClass

public java.lang.Class getInvocationClass(java.lang.String className)
                                   throws java.lang.ClassNotFoundException
Sources are returned from the system classpath.

Specified by:
getInvocationClass in interface FunctionMetadataSource
Parameters:
className - Name of class
Returns:
Class reference
Throws:
java.lang.ClassNotFoundException - If class could not be found

loadFunctions

public void loadFunctions(java.io.InputStream source)
                   throws java.io.IOException
Never need to reload - do nothing.

Specified by:
loadFunctions in interface FunctionMetadataSource
Throws:
java.io.IOException


Copyright © 2009. All Rights Reserved.