Interface BulkItemPageOperator<I extends BulkOperationItem>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Represents a operator to use against a page of
BulkOperationItems
. This
is expected to be supplied by a BulkUpdateProcessor
to BulkUpdateProcessorHelper
to simplify shared processing logic. The main logic specific to the operation is represented by
this Operator.- Since:
- 2.1.0-GA
- Author:
- Nathan Moore (nathandmoore)
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.data.domain.Page<I>
process
(BulkOperation bulkOperation, org.springframework.data.domain.Page<I> bulkOperationItems) Runs the operation against the given page ofBulkOperationItems
.
-
Method Details
-
process
org.springframework.data.domain.Page<I> process(BulkOperation bulkOperation, org.springframework.data.domain.Page<I> bulkOperationItems) Runs the operation against the given page ofBulkOperationItems
.- Parameters:
bulkOperation
- The parentBulkOperation
bulkOperationItems
- The items to operate against.- Returns:
- The modified items.
-