Class AggregateGroupFieldsAction.GroupByField
java.lang.Object
com.northconcepts.datapipeline.foundations.pipeline.action.aggregate.AggregateGroupFieldsAction.GroupByField
- Enclosing class:
AggregateGroupFieldsAction
A source field and the operator applied to it: either a grouping key (
GROUPBY) or an aggregate written to the
target field.-
Constructor Summary
ConstructorsConstructorDescriptionGroupByField(String sourceFieldName, String targetFieldName, AggregateGroupFieldsAction.OperatorType operatorType, boolean excludeNulls) Creates a field whose target name defaults to the source name when blank. -
Method Summary
Modifier and TypeMethodDescriptionvoidgenerateSqlSelect(Select select) Adds this field to the SQL select as a grouped column or an aggregate expression;FIRSTandLASTthrowUnsupportedOperationException.toString()
-
Constructor Details
-
GroupByField
public GroupByField(String sourceFieldName, String targetFieldName, AggregateGroupFieldsAction.OperatorType operatorType, boolean excludeNulls) Creates a field whose target name defaults to the source name when blank.
-
-
Method Details