Package org.teiid.query.function.source
Class SystemSource
- java.lang.Object
-
- org.teiid.query.function.UDFSource
-
- org.teiid.query.function.source.SystemSource
-
- All Implemented Interfaces:
FunctionMetadataSource
,FunctionCategoryConstants
public class SystemSource extends UDFSource implements 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 org.teiid.query.function.metadata.FunctionCategoryConstants
AGGREGATE, CONVERSION, DATETIME, GEOGRAPHY, GEOMETRY, JSON, MISCELLANEOUS, NUMERIC, SECURITY, STRING, SYSTEM, XML
-
-
Constructor Summary
Constructors Constructor Description SystemSource()
Construct a source of system metadata.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FunctionMethod
createSyntheticMethod(String name, String description, String category, String invocationClass, String invocationMethod, FunctionParameter[] inputParams, FunctionParameter outputParam)
Collection<FunctionMethod>
getFunctionMethods()
Get all function signatures for this metadata source.-
Methods inherited from class org.teiid.query.function.UDFSource
getClassLoader, getInvocationClass, setClassLoader
-
-
-
-
Method Detail
-
getFunctionMethods
public Collection<FunctionMethod> getFunctionMethods()
Get all function signatures for this metadata source.- Specified by:
getFunctionMethods
in interfaceFunctionMetadataSource
- Overrides:
getFunctionMethods
in classUDFSource
- Returns:
- Unordered collection of
FunctionMethod
s
-
createSyntheticMethod
public static FunctionMethod createSyntheticMethod(String name, String description, String category, String invocationClass, String invocationMethod, FunctionParameter[] inputParams, FunctionParameter outputParam)
-
-