Class Grouper
- Direct Known Subclasses:
FromDerivePath
,IfGroupIndexRange
,WithoutGrouping
Determines how partition inputs into groups.
This is typically based upon the input-identifiers.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Optional
<InputGrouper> createInputGrouper
(Optional<IndexRangeNegative> groupIndexRange) Creates anInputGrouper
that can be used to derive a group-key from a particular input.Methods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
Grouper
public Grouper()
-
-
Method Details
-
createInputGrouper
public abstract Optional<InputGrouper> createInputGrouper(Optional<IndexRangeNegative> groupIndexRange) Creates anInputGrouper
that can be used to derive a group-key from a particular input.- Parameters:
groupIndexRange
- an index-range to use for grouping, by subsetting components from each input's identifier.- Returns:
- the
InputGrouper
, if grouping is enabled. OtherwiseOptional.empty()
.
-