public abstract class BasicFunctionalLibrary extends Object implements VirtDataFunctionLibrary, EnhancedDocs
| Constructor and Description |
|---|
BasicFunctionalLibrary() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getDataMapperNames()
Get a list of all data mappers supported by this library.
|
List<DocFuncData> |
getDocModels() |
abstract String |
getName()
Return the name for this function library implementation.
|
abstract List<Package> |
getSearchPackages() |
List<ResolvedFunction> |
resolveFunctions(Class<?> returnType,
Class<?> inputType,
String functionName,
Object... parameters)
Given a signature for a unary function which takes an input
and output type, a function name, and constructor arguments,
return a list of instances from all implementations that have
the same name as the function name,
which have a matching constructor signature, and which also
have a functional method which can be used with the provided
input and output types.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDataMapper, getDataMappers, resolveFunctionspublic abstract String getName()
NamedReturn the name for this function library implementation.
public List<ResolvedFunction> resolveFunctions(Class<?> returnType, Class<?> inputType, String functionName, Object... parameters)
VirtDataFunctionLibraryresolveFunctions in interface VirtDataFunctionLibraryreturnType - The class which the apply method should return,
or null if unspecifiedinputType - The class which the unary apply method should take as an
argument, or null if unspecifiedfunctionName - The name of the implementation to matchparameters - A list of arguments which will be used to instantiate
any matching implementationspublic List<DocFuncData> getDocModels()
getDocModels in interface EnhancedDocspublic List<String> getDataMapperNames()
VirtDataFunctionLibrarygetDataMapperNames in interface VirtDataFunctionLibraryCopyright © 2018. All rights reserved.