Interface InputGrouper
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Derives a grouping key from an input.
- Author:
- Owen Feehan
-
Method Summary
Modifier and TypeMethodDescriptionderiveGroupKeyOptional
(Path identifier) Derives a key for the group fromidentifier
.
-
Method Details
-
deriveGroupKeyOptional
Derives a key for the group fromidentifier
.This key determines which group
input
belongs to e.g. like a GROUP BY key in databases.- Parameters:
identifier
- an identifier for an input, expressed as aPath
.- Returns:
- a derived grouping-key.
- Throws:
DerivePathException
- if a key cannot be derived fromidentifier
successfully.
-