-
public interface LoaderContext
A context object that provides information about a loader's current state toLoaderRowListener
.- Author:
- Lukas Eder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @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.int
ignored()
The number of ignored rows.int
processed()
The number of processed rows.@NotNull Object[]
row()
The row that will be or has been processed.@NotNull LoaderContext
row(Object[] row)
Override the row that will be processed.int
stored()
The number of inserted or updated rows.
-
-
-
Method Detail
-
row
@NotNull @NotNull LoaderContext row(Object[] row)
Override the row that will be processed. Changing it has now effect on theLoaderListenerStep.onRowEnd(LoaderRowListener)
event.
-
row
@NotNull @NotNull Object[] row()
The row that will be or has been processed.
-
errors
@NotNull @NotNull List<LoaderError> 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.
-
-