Package | Description |
---|---|
org.teiid.query.function | |
org.teiid.query.function.aggregate | |
org.teiid.query.sql.symbol |
Modifier and Type | Method and Description |
---|---|
FunctionDescriptor |
FunctionTree.addFunction(String schema,
FunctionMetadataSource source,
FunctionMethod method,
boolean system)
Store the method for function resolution and invocation.
|
FunctionDescriptor |
FunctionDescriptor.clone() |
FunctionDescriptor |
FunctionLibrary.copyFunctionChangeReturnType(FunctionDescriptor fd,
Class<?> returnType)
Return a copy of the given FunctionDescriptor with the sepcified return type.
|
FunctionDescriptor |
FunctionLibrary.findFunction(String name,
Class<?>[] types)
Find a function descriptor given a name and the types of the arguments.
|
FunctionDescriptor |
FunctionLibrary.findTypedConversionFunction(Class<?> sourceType,
Class<?> targetType)
Find conversion function and set return type to proper type.
|
FunctionDescriptor[] |
FunctionLibrary.getConverts(FunctionMethod method,
Class<?>[] types) |
Modifier and Type | Method and Description |
---|---|
List<FunctionDescriptor> |
FunctionLibrary.findAllFunctions(String name,
Class<?>[] types)
Find a function descriptor given a name and the types of the arguments.
|
Modifier and Type | Method and Description |
---|---|
FunctionDescriptor |
FunctionLibrary.copyFunctionChangeReturnType(FunctionDescriptor fd,
Class<?> returnType)
Return a copy of the given FunctionDescriptor with the sepcified return type.
|
Constructor and Description |
---|
UserDefined(FunctionDescriptor functionDescriptor) |
Modifier and Type | Method and Description |
---|---|
FunctionDescriptor |
Function.getFunctionDescriptor()
Get the function descriptor that this function resolves to.
|
Modifier and Type | Method and Description |
---|---|
void |
Function.insertConversion(int index,
FunctionDescriptor functionDescriptor)
Insert a conversion function at specified index.
|
void |
Function.setFunctionDescriptor(FunctionDescriptor fd)
Set the descriptor for this function.
|
Copyright © 2019. All rights reserved.