Uses of Class
org.springframework.batch.item.ldif.builder.LdifReaderBuilder
Packages that use LdifReaderBuilder
Package
Description
Builders for LDIF related components.
-
Uses of LdifReaderBuilder in org.springframework.batch.item.ldif.builder
Methods in org.springframework.batch.item.ldif.builder that return LdifReaderBuilderModifier and TypeMethodDescriptionLdifReaderBuilder.currentItemCount(int currentItemCount) Index for the current item.LdifReaderBuilder.maxItemCount(int maxItemCount) Configure the max number of items to be read.The name used to calculate the key within theExecutionContext.LdifReaderBuilder.recordsToSkip(int recordsToSkip) Public setter for the number of lines to skip at the start of a file.LdifReaderBuilder.resource(org.springframework.core.io.Resource resource) Establishes the resource that will be used as the input for the LdifReader.LdifReaderBuilder.saveState(boolean saveState) Configure if the state of theItemStreamSupportshould be persisted within theExecutionContextfor restart purposes.LdifReaderBuilder.skippedRecordsCallback(RecordCallbackHandler skippedRecordsCallback) RecordCallbackHandlerimplementations can be used to take action on skipped records.LdifReaderBuilder.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.