Package lupos.engine.operators.singleinput.federated

Examples of lupos.engine.operators.singleinput.federated.FederatedQueryTrivialApproach


    return !(node.jjtGetChild(0) instanceof ASTVar);
  }
 
  @Override
  public void insertIndependantFederatedQueryOperator(final ASTService node, final OperatorConnection connection, final IndexScanCreatorInterface indexScanCreator){
    FederatedQueryTrivialApproach federatedQuery = new FederatedQueryTrivialApproach(node);
    federatedQuery.setSucceedingOperator(connection.getOperatorIDTuple());
    indexScanCreator.createEmptyIndexScanAndConnectWithRoot(new OperatorIDTuple(federatedQuery, 0));
  }
View Full Code Here


    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);
    }   
  }
View Full Code Here

TOP

Related Classes of lupos.engine.operators.singleinput.federated.FederatedQueryTrivialApproach

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.