Interface MatrixSelectionService
- All Known Implementing Classes:
MatrixSelectionServiceImpl
public interface MatrixSelectionService
-
Method Summary
Modifier and TypeMethodDescription<F,T> List <T> applyPerRow(List<MatrixSelectionRule<F>> rules, MatrixKeyFinder<F> keyFinder, Function<MatrixRowSelection, List<T>> applyToRow) RunsapplyToRowfor each row with selected cells.<F> intcountSelectedCells(List<MatrixSelectionRule<F>> rules, MatrixKeyFinder<F> keyFinder)
-
Method Details
-
countSelectedCells
-
applyPerRow
<F,T> List<T> applyPerRow(List<MatrixSelectionRule<F>> rules, MatrixKeyFinder<F> keyFinder, Function<MatrixRowSelection, List<T>> applyToRow) RunsapplyToRowfor each row with selected cells. Consecutive rows are grouped into a new session and transaction of at most 1000 selected cells; a row is never split. Not atomic: if a row throws, its whole batch is rolled back and the batches before it stay committed.
-