public interface LoaderContext
A context object that provides information about a loader's current state to
LoaderRowListener
.- Author:
- Lukas Eder
-
Method Summary
Modifier and TypeMethodDescription@NotNull List
<LoaderError> errors()
A list of errors that might have happened during the load.int
executed()
The number of executed statements, bulk statements, or batch statements.Field<?> @NotNull []
fields()
The loader'sField
list.int
ignored()
The number of ignored rows.int
The number of processed rows.@Nullable Object @NotNull []
row()
The row that will be or has been processed.@NotNull LoaderContext
Override the row that will be processed.int
stored()
The number of inserted or updated rows.
-
Method Details
-
fields
Field<?> @NotNull [] fields()The loader'sField
list. -
row
Override the row that will be processed. Changing it has now effect on theLoaderListenerStep.onRowEnd(LoaderRowListener)
event. -
row
The row that will be or has been processed. -
errors
A list of errors that might have happened during the load. -
processed
int processed()The number of processed rows. -
executed
int executed()The number of executed statements, bulk statements, or batch statements. -
ignored
int ignored()The number of ignored rows. -
stored
int stored()The number of inserted or updated rows.
-