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.intexecuted()The number of executed statements, bulk statements, or batch statements.intignored()The number of ignored rows.intThe number of processed rows.@Nullable Object @NotNull []row()The row that will be or has been processed.@NotNull LoaderContextOverride the row that will be processed.intstored()The number of inserted or updated rows.
-
Method Details
-
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.
-