public class VirtDataLibraries extends Object implements VirtDataFunctionLibrary
| Modifier and Type | Method and Description |
|---|---|
static VirtDataLibraries |
get() |
List<String> |
getDataMapperNames()
Get a list of all data mappers supported by this library.
|
String |
getName()
Return the name for this function library implementation.
|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDataMapper, getDataMappers, resolveFunctionspublic static VirtDataLibraries get()
public 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<String> getDataMapperNames()
VirtDataFunctionLibrarygetDataMapperNames in interface VirtDataFunctionLibraryCopyright © 2018. All rights reserved.