if (child0 instanceof ASTVar) {
Join join = new Join();
connection.connect(join);
SeveralSucceedingOperators sso = new SeveralSucceedingOperators();
sso.addSucceedingOperator(join, 0);
FederatedQueryTrivialApproach federatedQuery = new FederatedQueryTrivialApproach(node);
Projection projection = new Projection();
projection.addProjectionElement(new Variable(((ASTVar)child0).getName()));
Distinct distinct = new Distinct();
projection.addSucceedingOperator(distinct);
distinct.addSucceedingOperator(federatedQuery);
sso.addSucceedingOperator(projection, 0);
federatedQuery.addSucceedingOperator(join, 1);
connection.setOperatorConnection(sso);
}
}