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 Link icon

    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.
    @Nullable Object @NotNull []
    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 Link icon

    • row Link icon

      @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 Link icon

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

      @NotNull @CheckReturnValue @NotNull List<LoaderError> errors()
      A list of errors that might have happened during the load.
    • processed Link icon

      int processed()
      The number of processed rows.
    • executed Link icon

      int executed()
      The number of executed statements, bulk statements, or batch statements.
    • ignored Link icon

      int ignored()
      The number of ignored rows.
    • stored Link icon

      int stored()
      The number of inserted or updated rows.