Uses of Class
org.springframework.batch.item.json.builder.JsonItemReaderBuilder
Package
Description
Builders for JSON item reader and writer.
-
Uses of JsonItemReaderBuilder in org.springframework.batch.item.json.builder
Modifier and TypeMethodDescriptionJsonItemReaderBuilder.currentItemCount
(int currentItemCount) Index for the current item.JsonItemReaderBuilder.jsonObjectReader
(JsonObjectReader<T> jsonObjectReader) Set theJsonObjectReader
to use to read and map Json objects to domain objects.JsonItemReaderBuilder.maxItemCount
(int maxItemCount) Configure the max number of items to be read.The name used to calculate the key within theExecutionContext
.JsonItemReaderBuilder.resource
(org.springframework.core.io.Resource resource) TheResource
to be used as input.JsonItemReaderBuilder.saveState
(boolean saveState) Configure if the state of theItemStreamSupport
should be persisted within theExecutionContext
for restart purposes.JsonItemReaderBuilder.strict
(boolean strict) Setting this value to true indicates that it is an error if the input does not exist and an exception will be thrown.