Module org.jooq
Package org.jooq

Interface LoaderContext


public interface LoaderContext
A context object that provides information about a loader's current state to LoaderRowListener.
Author:
Lukas Eder
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull List<LoaderError>
    A list of errors that might have happened during the load.
    int
    The number of executed statements, bulk statements, or batch statements.
    int
    The number of ignored rows.
    int
    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
    The number of inserted or updated rows.
  • Method Details

    • row

      @NotNull @CheckReturnValue @NotNull LoaderContext row(Object[] row)
      Override the row that will be processed. Changing it has now effect on the LoaderListenerStep.onRowEnd(LoaderRowListener) event.
    • row

      @NotNull @CheckReturnValue @NotNull Object[] row()
      The row that will be or has been processed.
    • errors

      @NotNull @CheckReturnValue @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.