Top Description Methods
org.jooq

public Interface Loader<R extends org.jooq.Record>

Known Direct Implementers
org.jooq.impl.LoaderImpl
Imports
java.sql.Statement, java.util.List, org.jetbrains.annotations.NotNull

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 Summary

Modifier and TypeMethod and Description
public @NotNull List<LoaderError>
errors()

A list of errors that might have happened during the load.

public int
executed()

The number of executed statements, bulk statements, or batch statements.

public int
ignored()

The number of ignored rows.

public int
processed()

The number of processed rows.

public @NotNull LoaderContext
result()

The results that are also returned from Loader.

public int
stored()

The number of inserted or updated rows.

Method Detail

errorsback to summary
public @NotNull List<LoaderError> errors()

A list of errors that might have happened during the load.

Annotations
@NotNull
@CheckReturnValue
executedback to summary
public int executed()

The number of executed statements, bulk statements, or batch statements.

ignoredback to summary
public int ignored()

The number of ignored rows.

If using LoaderOptionsStep#onDuplicateKeyIgnore() along with LoaderOptionsStep#batchAll() or LoaderOptionsStep#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 over Statement#executeBatch() and related methods.

processedback to summary
public int processed()

The number of processed rows.

resultback to summary
public @NotNull LoaderContext result()

The results that are also returned from Loader.

Annotations
@NotNull
@CheckReturnValue
storedback to summary
public int stored()

The number of inserted or updated rows.