public class CombinedColumn extends Object
Constructor and Description |
---|
CombinedColumn(String expr,
Combiner combiner,
String name)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static StringMultiParameter |
createCombinedColumnsParameter(String name,
Parameter<Combiner> dfltCombinerParam)
Creates a parameter for specifying aggregate columns.
|
Combiner |
getCombiner()
Returns the aggregation method.
|
String |
getExpression()
Returns the expression to be aggregated.
|
String |
getName()
Returns the output column name.
|
static CombinedColumn |
parseSpecification(String txt,
Parameter<?> txtParam,
ChoiceParameter<Combiner> combinerParam)
Parses an input expression to a CombinedColumn value.
|
public String getExpression()
public Combiner getCombiner()
public String getName()
public static CombinedColumn parseSpecification(String txt, Parameter<?> txtParam, ChoiceParameter<Combiner> combinerParam) throws ParameterValueException
txt
- input expressiontxtParam
- parameter supplying input value,
used for reference in thrown exceptionscombinerParam
- parameter supplying combiner values,
used to decode combiner specificationsParameterValueException
public static StringMultiParameter createCombinedColumnsParameter(String name, Parameter<Combiner> dfltCombinerParam)
parseSpecification
method.name
- parameter namedfltCombinerParam
- parameter used for specifying default
aggregation method, used in documentationCopyright © 2023 Central Laboratory of the Research Councils. All Rights Reserved.