Class FromDerivePath
- Direct Known Subclasses:
RemoveLastElement
Derives the grouping-key via a call to
DerivePath.- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateInputGrouper(Optional<IndexRangeNegative> groupIndexRange) Creates anInputGrouperthat can be used to derive a group-key from a particular input.protected abstract DerivePathSelects theDerivePathto use for deriving a key.Methods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
FromDerivePath
public FromDerivePath()
-
-
Method Details
-
createInputGrouper
Creates anInputGrouperthat can be used to derive a group-key from a particular input.- Specified by:
createInputGrouperin classGrouper- 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().
-
selectDerivePath
Selects theDerivePathto use for deriving a key.- Returns:
- the selected
DerivePath.
-