-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface LoaderFieldMapper
A field mapper that producesFieldreferences forLoadertarget tables.Rather than index-based field mappings as in
LoaderRowsStep.fields(Field...)and other API methods, this mapper can be used to translate source fields from the loader source (CSV, JSON, arrays, records, etc.) to fields from the target table.- Author:
- Lukas Eder
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceLoaderFieldMapper.LoaderFieldContextThe argument object formap(LoaderFieldContext).
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Field<?>map(LoaderFieldMapper.LoaderFieldContext ctx)Map aFieldfrom the loader source onto a target tableField.
-
-
-
Method Detail
-
map
Field<?> map(LoaderFieldMapper.LoaderFieldContext ctx)
Map aFieldfrom the loader source onto a target tableField.
-
-