@OperatorGeneratorCharacteristics(maximumArgumentCount=2, minimumArgumentCount=2, name="AGGREGATE", signature={EXPRESSION,STRING}) @MonoRelationOperator public abstract class AGGREGATE extends RelationalOperator
Constructor and Description |
---|
AGGREGATE() |
Modifier and Type | Method and Description |
---|---|
static Relation |
computeAggregate(Relation relation,
java.util.Map<NameIdentifier,java.lang.String> expressions) |
OperatorImplementation_V0105 |
getOperatorImplementation(OperatorGeneratorArgument[] args)
Gets an implementation instance of the operator.
|
getInvocationName, getMaximumArgumentCount, getMinimumArgumentCount, getName, getOperatorGeneratorSignature, isMonoRelationOperator, toString
public static Relation computeAggregate(Relation relation, java.util.Map<NameIdentifier,java.lang.String> expressions)
relation
- the relation to be aggregatedexpressions
- the expressions defining which aggregations to compute, mapped to the attribute names for the respective aggregation results in the relation returnedpublic OperatorImplementation_V0105 getOperatorImplementation(OperatorGeneratorArgument[] args)
OperatorGenerator
args
- The arguments from which the instance is to be created. There must be exactly as many arguments as there are elements in the list returned from OperatorGenerator.getOperatorGeneratorSignature()
. The correspondence between OperatorGeneratorArgumentType
values and OperatorGeneratorArgument
types is given in the table below :