-
public interface Loader<R extends Record>
TheLoader
API is used for configuring data loads.This type is the final type holding information about the outcome of the data load.
- Author:
- Lukas Eder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.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.LoaderContext
result()
The results that are also returned fromLoader
.int
stored()
The number of inserted or updated rows.
-
-
-
Method Detail
-
errors
java.util.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.
-
result
LoaderContext result()
The results that are also returned fromLoader
.
-
-