-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LoaderJSONOptionsStep<R>
fields(Collection<? extends Field<?>> fields)
Specify the the fields to be loaded into the table in the correct order.LoaderJSONOptionsStep<R>
fields(Field<?>... fields)
Specify the the fields to be loaded into the table in the correct order.LoaderListenerStep<R>
fields(LoaderFieldMapper mapper)
Specify a function to apply on each input field to receive the target table's field.
-
-
-
Method Detail
-
fields
@Support LoaderJSONOptionsStep<R> fields(Field<?>... fields)
Specify the the fields to be loaded into the table in the correct order.The JSON column at index
i
is inserted into the table field at indexi
. Iffields[i] == null
orfields.length <= i
, then the JSON column is skipped.
-
fields
@Support LoaderJSONOptionsStep<R> fields(Collection<? extends Field<?>> fields)
Specify the the fields to be loaded into the table in the correct order.The JSON column at index
i
is inserted into the table field at indexi
. Ifnew ArrayList(fields).get(i) == null
ornew ArrayList(fields).size() <= i
, then the JSON column is skipped.
-
fields
@Support LoaderListenerStep<R> fields(LoaderFieldMapper mapper)
Specify a function to apply on each input field to receive the target table's field.The input field obtained from
LoaderFieldMapper.LoaderFieldContext.field()
wraps the JSON column name if any, or an unspecified field enumeration is used. TheLoaderFieldMapper.LoaderFieldContext.index()
property corresponds to the JSON column index in enumeration order.
-
-