Class GroupMinimum
java.lang.Object
com.northconcepts.datapipeline.group.GroupOperation<Object>
com.northconcepts.datapipeline.group.operation.GroupMinimum
A
GroupOperation that returns the smallest value of the source field in each group; unless excludeNulls
is set, a null value discards the minimum found so far.-
Constructor Summary
ConstructorsConstructorDescriptionGroupMinimum(FieldPath sourceFieldName) GroupMinimum(FieldPath sourceFieldName, FieldPath targetFieldName) GroupMinimum(FieldPath sourceFieldName, FieldPath targetFieldName, boolean excludeNulls) GroupMinimum(String sourceFieldName) GroupMinimum(String sourceFieldName, String targetFieldName) GroupMinimum(String sourceFieldName, String targetFieldName, boolean excludeNulls) -
Method Summary
Modifier and TypeMethodDescriptionprotected GroupOperationField<Object> Creates the accumulator that computes this operation's result for one group; called once per group in each window.Methods inherited from class com.northconcepts.datapipeline.group.GroupOperation
getExcludeNulls, getFilter, getSourceFieldName, getSourceFieldPath, getTargetFieldName, getTargetFieldPath, setExcludeNulls, setFilter, setTargetFieldName, toString
-
Constructor Details
-
GroupMinimum
-
GroupMinimum
-
GroupMinimum
-
GroupMinimum
-
GroupMinimum
-
GroupMinimum
-
-
Method Details
-
createField
Description copied from class:GroupOperationCreates the accumulator that computes this operation's result for one group; called once per group in each window.- Specified by:
createFieldin classGroupOperation<Object>
-