Field references for Loader
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.
| Modifier and Type | Class and Description |
|---|---|
| public static interface | LoaderFieldMapper.LoaderFieldContext
The argument object for |
| Modifier and Type | Method and Description |
|---|---|
| public Field | map(LoaderFieldMapper.
Deprecated
as a consequence of
Map a Field being deprecated.
Field from the loader source onto a target table
Field.
|
| map | back to summary |
|---|---|
| public Field Deprecated as a consequence of Map a | |
LoaderFieldMapper#map(LoaderFieldContext)
.
| Modifier and Type | Method and Description |
|---|---|
| public Field | |
| public int |
| field | back to summary |
|---|---|
| public Field Deprecated as a consequence of The This returns the following, depending on the data source:
| |
| index | back to summary |
|---|---|
| public int index() The field index in order of specification in the source data. This returns the following, depending on the data source:
| |