public class VirtData extends Object implements VirtDataLibrary
| Modifier and Type | Method and Description |
|---|---|
static VirtDataLibrary |
get() |
VirtDataLibrary |
get(VirtDataFunctionLibrary functionLib,
String libname)
Return an instance of a VirtDataLibrary that is parameterized with the
provided library and library name.
|
VirtDataFunctionLibrary |
getFunctionLibrary() |
String |
getLibname() |
static <T> Optional<DataMapper<T>> |
getMapper(String flowSpec) |
static <T> DataMapper<T> |
getMapper(String s,
Class<? extends T> clazz) |
static BindingsTemplate |
getTemplate(Map<String,String> namedBindings) |
static BindingsTemplate |
getTemplate(String... namesAndSpecs) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBindingsTemplate, getBindingsTemplate, getDataMapper, getDataMapper, getDataMapperNamespublic static VirtDataLibrary get()
public VirtDataLibrary get(VirtDataFunctionLibrary functionLib, String libname)
functionLib - The function library to use instead of the auto-loaded oneslibname - The library name as it will appear in logging and diagnosticspublic VirtDataFunctionLibrary getFunctionLibrary()
getFunctionLibrary in interface VirtDataLibrarypublic String getLibname()
getLibname in interface VirtDataLibrarypublic static BindingsTemplate getTemplate(String... namesAndSpecs)
public static <T> Optional<DataMapper<T>> getMapper(String flowSpec)
public static BindingsTemplate getTemplate(Map<String,String> namedBindings)
public static <T> DataMapper<T> getMapper(String s, Class<? extends T> clazz)
Copyright © 2018. All rights reserved.