org.jooq
Interface LoaderCSVStep<R extends TableRecord<R>>


public interface LoaderCSVStep<R extends TableRecord<R>>

The Loader API is used for configuring data loads.

The step in constructing the Loader object where you can set the mandatory CSV loader options.

Author:
Lukas Eder

Method Summary
 LoaderCSVOptionsStep<R> fields(Collection<? extends Field<?>> fields)
          Specify the the fields to be loaded into the table in the correct order.
 LoaderCSVOptionsStep<R> fields(Field<?>... fields)
          Specify the the fields to be loaded into the table in the correct order.
 

Method Detail

fields

LoaderCSVOptionsStep<R> fields(Field<?>... fields)
Specify the the fields to be loaded into the table in the correct order. The CSV column at index i is inserted into the table field at index i. If fields[i] == null, then the CSV column is skipped.


fields

LoaderCSVOptionsStep<R> fields(Collection<? extends Field<?>> fields)
Specify the the fields to be loaded into the table in the correct order. The CSV column at index i is inserted into the table field at index i. If new ArrayList(fields).get(i) == null, then the CSV column is skipped.



Copyright © 2012. All Rights Reserved.