|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.teiid.query.function.FunctionTree
public class FunctionTree
Data structure used to store function signature information. There are multiple uses
of this signature information so there are multiple data structures within the FunctionTree
for handling each. One type of information is the function metadata required by users of
this class for data driving GUIs or function selection. The other type of information is that
needed to quickly find and/or invoke the functions at execution time. In general all methods
are concerned with function metadata EXCEPT getFunction(java.lang.String, java.lang.Class>[]) which is used to find a function
for execution.
| Constructor Summary | |
|---|---|
FunctionTree(java.lang.String name,
FunctionMetadataSource source)
Construct a new tree with the given source of function metadata. |
|
FunctionTree(java.lang.String name,
FunctionMetadataSource source,
boolean validateClass)
Construct a new tree with the given source of function metadata. |
|
| Method Summary | |
|---|---|
FunctionDescriptor |
addFunction(java.lang.String schema,
FunctionMetadataSource source,
FunctionMethod method)
Store the method for function resolution and invocation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FunctionTree(java.lang.String name,
FunctionMetadataSource source)
source - The metadata source
public FunctionTree(java.lang.String name,
FunctionMetadataSource source,
boolean validateClass)
source - The metadata source| Method Detail |
|---|
public FunctionDescriptor addFunction(java.lang.String schema,
FunctionMetadataSource source,
FunctionMethod method)
source - The function metadata source, which knows how to obtain the invocation classmethod - The function metadata for a particular method signature
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||