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,
CombinerParameter 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(Environment env,
String txt,
Parameter<?> txtParam,
CombinerParameter combinerParam)
Parses an input expression to a CombinedColumn value.
|
public String getExpression()
public Combiner getCombiner()
public String getName()
public static CombinedColumn parseSpecification(Environment env, String txt, Parameter<?> txtParam, CombinerParameter combinerParam) throws ParameterValueException
env
- execution environmenttxt
- 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, CombinerParameter dfltCombinerParam)
parseSpecification
method.name
- parameter namedfltCombinerParam
- parameter used for specifying default
aggregation method, used in documentationCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.