Class GroupFirst
java.lang.Object
com.northconcepts.datapipeline.group.GroupOperation<Object>
com.northconcepts.datapipeline.group.operation.GroupFirst
A
GroupOperation that returns the first value of the source field in each group (the first non-null value when
excludeNulls is set).-
Constructor Summary
ConstructorsConstructorDescriptionGroupFirst(FieldPath sourceFieldName) GroupFirst(FieldPath sourceFieldName, FieldPath targetFieldName) GroupFirst(FieldPath sourceFieldName, FieldPath targetFieldName, boolean excludeNulls) GroupFirst(String sourceFieldName) GroupFirst(String sourceFieldName, String targetFieldName) GroupFirst(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
-
GroupFirst
-
GroupFirst
-
GroupFirst
-
GroupFirst
-
GroupFirst
-
GroupFirst
-
-
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>
-