Uses of Class
org.springframework.batch.item.Chunk
Packages that use Chunk
Package
Description
Core domain context for Spring Batch covering jobs, steps, configuration and execution
abstractions.
Generic implementations of core batch listener interfaces.
Specific implementations of step concerns for item-oriented approach.
Components for executing item processing asynchronously and writing the results when
processing is complete.
Components for remote chunking.
Infrastructure interfaces and primary dependencies for item concerns.
Adapters for Plain Old Java Objects.
AMQP related batch components.
Spring Data related readers and writers.
Infrastructure implementations of database based item readers and writers.
Infrastructure implementations of io file concerns.
Adapters for
java.util.function components.JMS based reader/writer and related components.
Infrastructure implementations of JSON input and output.
Java Mail based components.
JavaMail related components.
Internal support package
Infrastructure implementations of xml input and output.
-
Uses of Chunk in org.springframework.batch.core
Methods in org.springframework.batch.core with parameters of type ChunkModifier and TypeMethodDescriptiondefault voidItemWriteListener.afterWrite(Chunk<? extends S> items) Called afterItemWriter.write(Chunk).default voidItemWriteListener.beforeWrite(Chunk<? extends S> items) Called beforeItemWriter.write(Chunk)default voidItemWriteListener.onWriteError(Exception exception, Chunk<? extends S> items) Called if an error occurs while trying to write. -
Uses of Chunk in org.springframework.batch.core.listener
Methods in org.springframework.batch.core.listener with parameters of type ChunkModifier and TypeMethodDescriptionvoidCompositeItemWriteListener.afterWrite(Chunk<? extends S> items) Call the registered listeners in reverse order, respecting and prioritising those that implementOrdered.voidMulticasterBatchListener.afterWrite(Chunk<? extends S> items) voidCompositeItemWriteListener.beforeWrite(Chunk<? extends S> items) Call the registered listeners in order, respecting and prioritising those that implementOrdered.voidMulticasterBatchListener.beforeWrite(Chunk<? extends S> items) voidCompositeItemWriteListener.onWriteError(Exception ex, Chunk<? extends S> items) Call the registered listeners in reverse order, respecting and prioritising those that implementOrdered.voidMulticasterBatchListener.onWriteError(Exception ex, Chunk<? extends S> items) -
Uses of Chunk in org.springframework.batch.core.step.item
Methods in org.springframework.batch.core.step.item that return ChunkModifier and TypeMethodDescriptionFaultTolerantChunkProcessor.getAdjustedOutputs(Chunk<I> inputs, Chunk<O> outputs) SimpleChunkProcessor.getAdjustedOutputs(Chunk<I> inputs, Chunk<O> outputs) Extension point for subclasses that want to adjust the outputs based on additional saved data in the inputs.ChunkProvider.provide(StepContribution contribution) SimpleChunkProvider.provide(StepContribution contribution) FaultTolerantChunkProcessor.transform(StepContribution contribution, Chunk<I> inputs) SimpleChunkProcessor.transform(StepContribution contribution, Chunk<I> inputs) Methods in org.springframework.batch.core.step.item with parameters of type ChunkModifier and TypeMethodDescriptionprotected final voidSimpleChunkProcessor.doAfterWrite(Chunk<O> items) Call the listener's after write method.protected final voidSimpleChunkProcessor.doOnWriteError(Exception e, Chunk<O> items) Call listener's writerError method.protected final voidSurrounds the actual write call with listener callbacks.FaultTolerantChunkProcessor.getAdjustedOutputs(Chunk<I> inputs, Chunk<O> outputs) SimpleChunkProcessor.getAdjustedOutputs(Chunk<I> inputs, Chunk<O> outputs) Extension point for subclasses that want to adjust the outputs based on additional saved data in the inputs.protected intFaultTolerantChunkProcessor.getFilterCount(Chunk<I> inputs, Chunk<O> outputs) protected intSimpleChunkProcessor.getFilterCount(Chunk<I> inputs, Chunk<O> outputs) Extension point for subclasses to calculate the filter count.protected voidFaultTolerantChunkProcessor.initializeUserData(Chunk<I> inputs) protected voidSimpleChunkProcessor.initializeUserData(Chunk<I> inputs) Extension point for subclasses to allow them to memorise the contents of the inputs, in case they are needed for accounting purposes later.protected booleanFaultTolerantChunkProcessor.isComplete(Chunk<I> inputs) protected booleanSimpleChunkProcessor.isComplete(Chunk<I> inputs) Extension point for subclasses that want to store additional data in the inputs.voidDefaultItemFailureHandler.onWriteError(Exception ex, Chunk<?> item) voidChunkProvider.postProcess(StepContribution contribution, Chunk<T> chunk) voidFaultTolerantChunkProvider.postProcess(StepContribution contribution, Chunk<I> chunk) voidSimpleChunkProvider.postProcess(StepContribution contribution, Chunk<I> chunk) voidChunkProcessor.process(StepContribution contribution, Chunk<I> chunk) final voidSimpleChunkProcessor.process(StepContribution contribution, Chunk<I> inputs) protected IFaultTolerantChunkProvider.read(StepContribution contribution, Chunk<I> chunk) protected ISimpleChunkProvider.read(StepContribution contribution, Chunk<I> chunk) Delegates toSimpleChunkProvider.doRead().FaultTolerantChunkProcessor.transform(StepContribution contribution, Chunk<I> inputs) SimpleChunkProcessor.transform(StepContribution contribution, Chunk<I> inputs) protected voidprotected voidSimple implementation delegates to theSimpleChunkProcessor.doWrite(Chunk)method and increments the write count in the contribution.protected voidSimpleChunkProcessor.writeItems(Chunk<O> items) -
Uses of Chunk in org.springframework.batch.integration.async
Methods in org.springframework.batch.integration.async with parameters of type ChunkModifier and TypeMethodDescriptionvoidIn the processing of theFutures passed, nulls are not passed to the delegate since they are considered filtered out by theAsyncItemProcessor's delegatedItemProcessor. -
Uses of Chunk in org.springframework.batch.integration.chunk
Methods in org.springframework.batch.integration.chunk that return ChunkMethods in org.springframework.batch.integration.chunk with parameters of type ChunkModifier and TypeMethodDescription<T> ChunkRequest<T>ChunkMessageChannelItemWriter.LocalState.getRequest(Chunk<? extends T> items) voidConstructors in org.springframework.batch.integration.chunk with parameters of type ChunkModifierConstructorDescriptionChunkRequest(int sequence, Chunk<? extends T> items, long jobId, StepContribution stepContribution) -
Uses of Chunk in org.springframework.batch.item
Methods in org.springframework.batch.item that return ChunkMethods in org.springframework.batch.item with parameters of type Chunk -
Uses of Chunk in org.springframework.batch.item.adapter
Methods in org.springframework.batch.item.adapter with parameters of type Chunk -
Uses of Chunk in org.springframework.batch.item.amqp
Methods in org.springframework.batch.item.amqp with parameters of type Chunk -
Uses of Chunk in org.springframework.batch.item.avro
Methods in org.springframework.batch.item.avro with parameters of type Chunk -
Uses of Chunk in org.springframework.batch.item.data
Methods in org.springframework.batch.item.data with parameters of type ChunkModifier and TypeMethodDescriptionprotected voidPerforms the actual write to the store via the template.protected voidDeprecated.Performs the actual write using the template.protected voidPerforms the actual write to the repository.voidIf a transaction is active, buffer items to be written just before commit.voidDeprecated.Write all items to the data store.voidWrite all items to the data store via a Spring Data repository. -
Uses of Chunk in org.springframework.batch.item.database
Methods in org.springframework.batch.item.database with parameters of type ChunkModifier and TypeMethodDescriptionprotected voidDo perform the actual write operation.voidvoidMerge all provided items that aren't already in the persistence context and then flush the entity manager. -
Uses of Chunk in org.springframework.batch.item.file
Methods in org.springframework.batch.item.file with parameters of type Chunk -
Uses of Chunk in org.springframework.batch.item.function
Methods in org.springframework.batch.item.function with parameters of type Chunk -
Uses of Chunk in org.springframework.batch.item.jms
Methods in org.springframework.batch.item.jms with parameters of type Chunk -
Uses of Chunk in org.springframework.batch.item.json
Methods in org.springframework.batch.item.json with parameters of type Chunk -
Uses of Chunk in org.springframework.batch.item.mail
Methods in org.springframework.batch.item.mail with parameters of type Chunk -
Uses of Chunk in org.springframework.batch.item.mail.javamail
Methods in org.springframework.batch.item.mail.javamail with parameters of type Chunk -
Uses of Chunk in org.springframework.batch.item.queue
Methods in org.springframework.batch.item.queue with parameters of type Chunk -
Uses of Chunk in org.springframework.batch.item.support
Methods in org.springframework.batch.item.support with parameters of type ChunkModifier and TypeMethodDescriptionprotected abstract StringWrite out a string of items followed by a "new line", where the format of the new line separator is determined by the underlying operating system.voidWrites out a string followed by a "new line", where the format of the new line separator is determined by the underlying operating system.voidDelegates to injectedItemWriterinstances according to their classification by theClassifier.voidvoidvoidThis method delegates to thewritemethod of thedelegate.voidThis method delegates to thewritemethod of the delegate and is synchronized with a lock. -
Uses of Chunk in org.springframework.batch.item.xml
Methods in org.springframework.batch.item.xml with parameters of type Chunk