use of org.apache.hyracks.algebricks.core.algebra.operators.logical.RunningAggregateOperator in project asterixdb by apache.
the class IsomorphismOperatorVisitor method visitRunningAggregateOperator.
@Override
public Boolean visitRunningAggregateOperator(RunningAggregateOperator op, ILogicalOperator arg) throws AlgebricksException {
AbstractLogicalOperator aop = (AbstractLogicalOperator) arg;
if (aop.getOperatorTag() != LogicalOperatorTag.RUNNINGAGGREGATE) {
return Boolean.FALSE;
}
RunningAggregateOperator aggOpArg = (RunningAggregateOperator) copyAndSubstituteVar(op, arg);
boolean isomorphic = VariableUtilities.varListEqualUnordered(getPairList(op.getVariables(), op.getExpressions()), getPairList(aggOpArg.getVariables(), aggOpArg.getExpressions()));
return isomorphic;
}
Aggregations