Top Description Methods
org.jooq

public Interface LoaderContext

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

A context object that provides information about a loader's current state to LoaderRowListener.
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
row(Object[] row)

Override the row that will be processed.

public @NotNull @Nullable Object[]
row()

The row that will be or has been processed.

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.

processedback to summary
public int processed()

The number of processed rows.

rowback to summary
public @NotNull LoaderContext row(Object[] row)

Override the row that will be processed. Changing it has now effect on the LoaderListenerStep#onRowEnd(LoaderRowListener) event.

Annotations
@NotNull
@CheckReturnValue
rowback to summary
public @NotNull @Nullable Object[] row()

The row that will be or has been processed.

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

The number of inserted or updated rows.