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) |
int |
getMaximumArgumentCount()
Gets the maximum argument count for this operator.
|
int |
getMinimumArgumentCount()
Gets the minimum argument count for this operator.
|
java.lang.String |
getName()
Gets the operator name
|
boolean |
isMonoRelationOperator()
Checks if the operator takes only one Relation as input
|
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 final int getMaximumArgumentCount()
RelationalOperator
getMaximumArgumentCount
in class RelationalOperator
public final int getMinimumArgumentCount()
RelationalOperator
getMinimumArgumentCount
in class RelationalOperator
public final java.lang.String getName()
RelationalOperator
getName
in class RelationalOperator
public final boolean isMonoRelationOperator()
RelationalOperator
isMonoRelationOperator
in class RelationalOperator