-
- 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 producesField
references forLoader
target 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 interface
LoaderFieldMapper.LoaderFieldContext
The argument object formap(LoaderFieldContext)
.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Field<?>
map(LoaderFieldMapper.LoaderFieldContext ctx)
Map aField
from the loader source onto a target tableField
.
-
-
-
Method Detail
-
map
Field<?> map(LoaderFieldMapper.LoaderFieldContext ctx)
Map aField
from the loader source onto a target tableField
.
-
-