public interface Loader<R extends Record>
The 
Loader 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 SummaryModifier 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.@NotNull LoaderContextresult()The results that are also returned fromLoader.intstored()The number of inserted or updated rows.
- 
Method Details- 
errorsA list of errors that might have happened during the load.
- 
processedint processed()The number of processed rows.
- 
executedint executed()The number of executed statements, bulk statements, or batch statements.
- 
ignoredint ignored()The number of ignored rows.If using LoaderOptionsStep.onDuplicateKeyIgnore()along withLoaderOptionsStep.batchAll()orLoaderOptionsStep.batchAfter(int), it may be possible that some dialects will not produce the correct ignored count, as the respective JDBC drivers cannot produce this count overStatement.executeBatch()and related methods.
- 
storedint stored()The number of inserted or updated rows.
- 
resultThe results that are also returned fromLoader.
 
-