Uses of Class
org.springframework.batch.item.ldif.builder.MappingLdifReaderBuilder
Package
Description
Builders for LDIF related components.
-
Uses of MappingLdifReaderBuilder in org.springframework.batch.item.ldif.builder
Modifier and TypeMethodDescriptionMappingLdifReaderBuilder.currentItemCount
(int currentItemCount) Index for the current item.MappingLdifReaderBuilder.maxItemCount
(int maxItemCount) Configure the max number of items to be read.The name used to calculate the key within theExecutionContext
.MappingLdifReaderBuilder.recordMapper
(RecordMapper<T> recordMapper) Setter for object mapper.MappingLdifReaderBuilder.recordsToSkip
(int recordsToSkip) Public setter for the number of lines to skip at the start of a file.MappingLdifReaderBuilder.resource
(org.springframework.core.io.Resource resource) Establishes the resource that will be used as the input for the MappingLdifReader.MappingLdifReaderBuilder.saveState
(boolean saveState) Configure if the state of theItemStreamSupport
should be persisted within theExecutionContext
for restart purposes.MappingLdifReaderBuilder.skippedRecordsCallback
(RecordCallbackHandler skippedRecordsCallback) RecordCallbackHandler
implementations can be used to take action on skipped records.MappingLdifReaderBuilder.strict
(boolean strict) In strict mode the reader will throw an exception onAbstractItemCountingItemStreamItemReader.open(org.springframework.batch.item.ExecutionContext)
if the input resource does not exist.