Package uk.ac.starlink.ttools.task
Class TableGroup.AggSpec
java.lang.Object
uk.ac.starlink.ttools.task.TableGroup.AggSpec
- Enclosing class:
TableGroup
Defines the aggregation that should be done to form an output column.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the aggregation method.Returns an expression giving the quantity to be aggregated.Returns the output column name, if specified.
-
Constructor Details
-
AggSpec
Constructor.- Parameters:
expr
- expression giving quantity to be aggregatedaggregator
- aggregation methodoutName
- output column name, or null for default
-
-
Method Details
-
getExpression
Returns an expression giving the quantity to be aggregated.- Returns:
- JEL expression or column name
-
getAggregator
Returns the aggregation method.- Returns:
- aggregator
-
getOutputName
Returns the output column name, if specified.- Returns:
- user-specified output column name, or null
-