Loader API is used for configuring data loads.
The step in constructing the Loader object where you can set the
mandatory CSV loader options.
XYZ*Step types directly from client code
It is usually not recommended to reference any XYZ*Step types
directly from client code, or assign them to local variables. When writing
dynamic SQL, creating a statement's components dynamically, and passing them
to the DSL API statically is usually a better choice. See the manual's
section about dynamic SQL for details: https://www.jooq.org/doc/latest/manual/sql-building/dynamic-sql.
Drawbacks of referencing the XYZ*Step types directly:
| Modifier and Type | Method and Description |
|---|---|
| public @NotNull LoaderCSVOptionsStep | |
| public @NotNull LoaderCSVOptionsStep | fields(Collection<? extends Field<?>> fields)
Specify the the fields to be loaded into the table in the correct order. |
| public @NotNull LoaderCSVOptionsStep | fields(LoaderFieldMapper mapper)
Specify a function to apply on each input field to receive the target table's field. |
| public @NotNull LoaderCSVOptionsStep | fieldsCorresponding()
Indicate that all input fields which have a corresponding field in the target table (with the same name) should be loaded. |
| public @NotNull LoaderCSVOptionsStep | fieldsFromSource()
Deprecated
for removal since 3.14. - 3.14.0 - [#10010] - Use
Indicate that all input fields which have a corresponding field in the
target table (with the same name) should be loaded.
fieldsCorresponding()
instead.
|
| fields | back to summary |
|---|---|
| public @NotNull LoaderCSVOptionsStep Deprecated as a consequence of Specify the the fields to be loaded into the table in the correct order.
The CSV column at index
| |
| fields | back to summary |
|---|---|
| public @NotNull LoaderCSVOptionsStep Specify the the fields to be loaded into the table in the correct order.
The CSV column at index
| |
| fields | back to summary |
|---|---|
| public @NotNull LoaderCSVOptionsStep Specify a function to apply on each input field to receive the target table's field.
The input field obtained from
| |
| fieldsCorresponding | back to summary |
|---|---|
| public @NotNull LoaderCSVOptionsStep Indicate that all input fields which have a corresponding field in the target table (with the same name) should be loaded.
| |
| fieldsFromSource | back to summary |
|---|---|
| public @NotNull LoaderCSVOptionsStep Indicate that all input fields which have a corresponding field in the target table (with the same name) should be loaded.
| |