Package nz.org.riskscape.wizard.bind
Class AggregationExpression
java.lang.Object
nz.org.riskscape.wizard.bind.AggregationExpression
-
Field Summary
Modifier and TypeFieldDescriptionstatic final AskAs<AggregationExpression>
nz.org.riskscape.rl.ast.PropertyAccess
nz.org.riskscape.engine.rl.FunctionCallPrototype
-
Constructor Summary
-
Method Summary
-
Field Details
-
ASK_AS
-
attribute
public nz.org.riskscape.rl.ast.PropertyAccess attribute -
function
public nz.org.riskscape.engine.rl.FunctionCallPrototype function -
resultName
-
-
Constructor Details
-
AggregationExpression
public AggregationExpression()
-
-
Method Details
-
toSource
- Returns:
- the aggregation expression in String form. NB we omit the braces here because * 1) it's easier to read when written in config, e.g. foo.bar = min(loss) as minlosses is simpler than {min(loss) vs minlosses} and * 2) as long as the question was for StructDeclaration, it'll bind just fine thanks to some special case logic for binding StructDeclaration expressions.
-