/** * Delegates to {@link #doRead()}. Subclasses can add additional behaviour * (e.g. exception handling). * * @param contribution the current step execution contribution * @param chunk the current chunk * @return a new item for processing or {@code null} if the data source is exhausted * * @throws SkipOverflowException if specifically the chunk is accumulating * too much data (e.g. skips) and it wants to force a commit. * * @throws Exception if there is a generic issue */ @Nullable protected I read(StepContribution contribution, Chunk<I> chunk) throws SkipOverflowException, Exception { return doRead(); }
/** * Delegates to {@link #doRead()}. Subclasses can add additional behaviour * (e.g. exception handling). * * @param contribution the current step execution contribution * @param chunk the current chunk * @return a new item for processing * * @throws SkipOverflowException if specifically the chunk is accumulating * too much data (e.g. skips) and it wants to force a commit. * * @throws Exception if there is a generic issue */ protected I read(StepContribution contribution, Chunk<I> chunk) throws SkipOverflowException, Exception { return doRead(); }
/** * Delegates to {@link #doRead()}. Subclasses can add additional behaviour * (e.g. exception handling). * * @param contribution the current step execution contribution * @param chunk the current chunk * @return a new item for processing * * @throws SkipOverflowException if specifically the chunk is accumulating * too much data (e.g. skips) and it wants to force a commit. * * @throws Exception if there is a generic issue */ protected I read(StepContribution contribution, Chunk<I> chunk) throws SkipOverflowException, Exception { return doRead(); }
/** * Delegates to {@link #doRead()}. Subclasses can add additional behaviour * (e.g. exception handling). * * @param contribution the current step execution contribution * @param chunk the current chunk * @return a new item for processing or {@code null} if the data source is exhausted * * @throws SkipOverflowException if specifically the chunk is accumulating * too much data (e.g. skips) and it wants to force a commit. * * @throws Exception if there is a generic issue */ @Nullable protected I read(StepContribution contribution, Chunk<I> chunk) throws SkipOverflowException, Exception { return doRead(); }
/** * Delegates to {@link #doRead()}. Subclasses can add additional behaviour * (e.g. exception handling). * * @param contribution the current step execution contribution * @param chunk the current chunk * @return a new item for processing or {@code null} if the data source is exhausted * * @throws SkipOverflowException if specifically the chunk is accumulating * too much data (e.g. skips) and it wants to force a commit. * * @throws Exception if there is a generic issue */ @Nullable protected I read(StepContribution contribution, Chunk<I> chunk) throws SkipOverflowException, Exception { return doRead(); }