Uses of Interface
org.springframework.batch.item.ItemWriter
Package
Description
Parsers for XML based configuration
Step level builders for java based job configuration.
Factories for step level components.
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.
JMS based reader/writer and related components.
Infrastructure implementations of JSON input and output.
Apache Kafka related readers and writers
Java Mail based components.
JavaMail related components.
Internal support package
Builders for support classes.
Infrastructure implementations of xml input and output.
-
Uses of ItemWriter in org.springframework.batch.core.configuration.xml
Modifier and TypeMethodDescriptionvoid
StepParserStepFactoryBean.setItemWriter
(ItemWriter<? super O> itemWriter) -
Uses of ItemWriter in org.springframework.batch.core.step.builder
Modifier and TypeMethodDescriptionprotected void
SimpleStepBuilder.registerAsStreamsAndListeners
(ItemReader<? extends I> itemReader, ItemProcessor<? super I, ? extends O> itemProcessor, ItemWriter<? super O> itemWriter) SimpleStepBuilder.writer
(ItemWriter<? super O> writer) An item writer that writes a chunk of items. -
Uses of ItemWriter in org.springframework.batch.core.step.factory
Modifier and TypeMethodDescriptionprotected ItemWriter<? super S>
SimpleStepFactoryBean.getItemWriter()
Protected getter for theItemWriter
for subclasses to useModifier and TypeMethodDescriptionvoid
SimpleStepFactoryBean.setItemWriter
(ItemWriter<? super S> itemWriter) -
Uses of ItemWriter in org.springframework.batch.core.step.item
Modifier and TypeMethodDescriptionvoid
SimpleChunkProcessor.setItemWriter
(ItemWriter<? super O> itemWriter) ModifierConstructorDescriptionFaultTolerantChunkProcessor
(ItemProcessor<? super I, ? extends O> itemProcessor, ItemWriter<? super O> itemWriter, BatchRetryTemplate batchRetryTemplate) SimpleChunkProcessor
(ItemProcessor<? super I, ? extends O> itemProcessor, ItemWriter<? super O> itemWriter) SimpleChunkProcessor
(ItemWriter<? super O> itemWriter) -
Uses of ItemWriter in org.springframework.batch.integration.async
-
Uses of ItemWriter in org.springframework.batch.integration.chunk
Modifier and TypeMethodDescriptionRemoteChunkingWorkerBuilder.itemWriter
(ItemWriter<O> itemWriter) Set theItemWriter
to use to write items sent by the manager step.void
RemoteChunkHandlerFactoryBean.setChunkWriter
(ItemWriter<T> chunkWriter) The item writer to be injected into the step.RemoteChunkingManagerStepBuilder.writer
(ItemWriter<? super O> writer) This method will throw aUnsupportedOperationException
since the item writer of the manager step in a remote chunking setup will be automatically set to an instance ofChunkMessageChannelItemWriter
. -
Uses of ItemWriter in org.springframework.batch.item
Modifier and TypeInterfaceDescriptioninterface
Convenience interface that combinesItemStream
andItemWriter
.Modifier and TypeClassDescriptionclass
KeyValueItemWriter<K,
V> A base class to implement anyItemWriter
that writes to a key value store using aConverter
to derive a key from an item -
Uses of ItemWriter in org.springframework.batch.item.adapter
Modifier and TypeClassDescriptionclass
Delegates item processing to a custom method - passes the item as an argument for the delegate method.class
Delegates processing to a custom method - extracts property values from item object and uses them as arguments for the delegate method. -
Uses of ItemWriter in org.springframework.batch.item.amqp
Modifier and TypeClassDescriptionclass
AMQPItemWriter
implementation using anAmqpTemplate
to send messages. -
Uses of ItemWriter in org.springframework.batch.item.avro
Modifier and TypeClassDescriptionclass
AnItemWriter
that serializes data to anWritableResource
using Avro. -
Uses of ItemWriter in org.springframework.batch.item.data
Modifier and TypeClassDescriptionclass
AItemWriter
implementation that writes to a MongoDB store using an implementation of Spring Data'sMongoOperations
.class
Deprecated.since 5.0 in favor of the item writer from ...class
AItemWriter
wrapper for aCrudRepository
from Spring Data. -
Uses of ItemWriter in org.springframework.batch.item.database
Modifier and TypeClassDescriptionclass
Deprecated, for removal: This API element is subject to removal in a future version.since 5.0 for removal in 5.2.class
ItemWriter
that uses the batching features fromNamedParameterJdbcTemplate
to execute a batch of statements for all items provided.class
ItemWriter
that is using a JPA EntityManagerFactory to merge any Entities that aren't part of the persistence context. -
Uses of ItemWriter in org.springframework.batch.item.file
Modifier and TypeInterfaceDescriptioninterface
Modifier and TypeClassDescriptionclass
This class is an item writer that writes data to a file or stream.class
Wraps aResourceAwareItemWriterItemStream
and creates a new output resource when the count of items written in current resource exceedsMultiResourceItemWriter.setItemCountLimitPerResource(int)
. -
Uses of ItemWriter in org.springframework.batch.item.jms
-
Uses of ItemWriter in org.springframework.batch.item.json
Modifier and TypeClassDescriptionclass
Item writer that writes data in json format to an output file. -
Uses of ItemWriter in org.springframework.batch.item.kafka
Modifier and TypeClassDescriptionclass
KafkaItemWriter<K,
T> AnItemWriter
implementation for Apache Kafka using aKafkaTemplate
with default topic configured. -
Uses of ItemWriter in org.springframework.batch.item.mail
-
Uses of ItemWriter in org.springframework.batch.item.mail.javamail
-
Uses of ItemWriter in org.springframework.batch.item.redis
Modifier and TypeClassDescriptionclass
RedisItemWriter<K,
T> AnItemWriter
implementation for Redis using aRedisTemplate
. -
Uses of ItemWriter in org.springframework.batch.item.support
Modifier and TypeClassDescriptionclass
Base class for item writers that write data to a file or stream.class
Base class forItemWriter
implementations.class
Calls one of a collection of ItemWriters for each item, based on a router pattern implemented through the providedClassifier
.class
Calls a collection ofItemWriter
s in fixed-order sequence.
The implementation is thread-safe if all delegates are thread-safe.class
Item writer that writes items to aList
.class
AnItemStreamWriter
decorator with a synchronizedwrite()
method.class
This is anItemWriter
decorator with a synchronizedwrite(org.springframework.batch.item.Chunk<? extends T>)
method.Modifier and TypeMethodDescriptionvoid
ClassifierCompositeItemWriter.setClassifier
(org.springframework.classify.Classifier<T, ItemWriter<? super T>> classifier) void
CompositeItemWriter.setDelegates
(List<ItemWriter<? super T>> delegates) The list of item writers to use as delegates.ModifierConstructorDescriptionCompositeItemWriter
(ItemWriter<? super T>... delegates) Convenience constructor for setting the delegates.SynchronizedItemWriter
(ItemWriter<T> delegate) ModifierConstructorDescriptionCompositeItemWriter
(List<ItemWriter<? super T>> delegates) Convenience constructor for setting the delegates. -
Uses of ItemWriter in org.springframework.batch.item.support.builder
Modifier and TypeMethodDescriptionSynchronizedItemWriterBuilder.delegate
(ItemWriter<T> delegate) The item writer to use as a delegate.final CompositeItemWriterBuilder<T>
CompositeItemWriterBuilder.delegates
(ItemWriter<? super T>... delegates) The item writers to use as delegates.Modifier and TypeMethodDescriptionClassifierCompositeItemWriterBuilder.classifier
(org.springframework.classify.Classifier<T, ItemWriter<? super T>> classifier) Establish the classifier to be used for the selection of whichItemWriter
to use.CompositeItemWriterBuilder.delegates
(List<ItemWriter<? super T>> delegates) The list of item writers to use as delegates. -
Uses of ItemWriter in org.springframework.batch.item.xml
Modifier and TypeClassDescriptionclass
An implementation ofItemWriter
which uses StAX andMarshaller
for serializing object to XML.