Top Description Inners Methods
org.jooq

public Interface LoaderFieldMapper

Annotations
@FunctionalInterface

A field mapper that produces 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.

Author
Lukas Eder

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static interface

Method Summary

Modifier and TypeMethod and Description
public Field<?>
map(LoaderFieldMapper.LoaderFieldContext ctx)

Deprecated as a consequence of Field being deprecated.
Map a Field from the loader source onto a target table Field.

Method Detail

mapback to summary
public Field<?> map(LoaderFieldMapper.LoaderFieldContext ctx)

Deprecated

as a consequence of Field being deprecated. See corresponding docs for further information.

Map a Field from the loader source onto a target table Field.

org.jooq back to summary

public Interface LoaderFieldMapper.LoaderFieldContext


The argument object for LoaderFieldMapper#map(LoaderFieldContext) .

Method Summary

Modifier and TypeMethod and Description
public Field<?>
field()

Deprecated as a consequence of Field being deprecated.
The Field of the source data to be mapped.
public int
index()

The field index in order of specification in the source data.

Method Detail

fieldback to summary
public Field<?> field()

Deprecated

as a consequence of Field being deprecated. See corresponding docs for further information.

The Field of the source data to be mapped.

This returns the following, depending on the data source:

indexback 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: