Examples of addSucceedingOperator()


Examples of lupos.engine.operators.BasicOperator.addSucceedingOperator()

        .getSucceedingOperators();

    BasicOperator pre;
    for (int i = 0; i < pres.size(); i++) {
      pre = pres.get(i);
      pre.addSucceedingOperator(new OperatorIDTuple(repVar_new, 0));
      pre.removeSucceedingOperator(repLit);
    }

    repVar_new.setPrecedingOperators(pres);
    repVar_new.setSucceedingOperator(new OperatorIDTuple(repLit_new, 0));
View Full Code Here

Examples of lupos.engine.operators.BasicOperator.addSucceedingOperator()

    final int index = genAdd.getOperatorIDTuple(projection).getId();

    BasicOperator pre;
    for (int i = 0; i < pres.size(); i++) {
      pre = pres.get(i);
      pre.addSucceedingOperator(new OperatorIDTuple(projection, index));
      pre.removeSucceedingOperator(genAdd);
      projection.addPrecedingOperator(pre);
    }

    projection.removePrecedingOperator(genAdd);
View Full Code Here

Examples of lupos.engine.operators.BasicOperator.addSucceedingOperator()

    // Connect all precessors to all successors
    for (int i = 0; i < pres.size(); i++) {
      for (int a = 0; a < succs.size(); a++) {
        idTuple = succs.get(a);
        pre = pres.get(i);
        pre.addSucceedingOperator(new OperatorIDTuple(idTuple
            .getOperator(), idTuple.getId()));
        pre.removeSucceedingOperator(projection);
      }
    }
View Full Code Here

Examples of lupos.engine.operators.BasicOperator.addSucceedingOperator()

    final int index = genAdd.getOperatorIDTuple(join).getId();

    BasicOperator pre;
    for (int i = 0; i < pres.size(); i++) {
      pre = pres.get(i);
      pre.addSucceedingOperator(new OperatorIDTuple(join, index));
      pre.removeSucceedingOperator(genAdd);
      join.addPrecedingOperator(pre);
    }

    join.removePrecedingOperator(genAdd);
View Full Code Here

Examples of lupos.engine.operators.BasicOperator.addSucceedingOperator()

    final int index = genAdd.getOperatorIDTuple(filter).getId();

    BasicOperator pre;
    for (int i = 0; i < pres.size(); i++) {
      pre = pres.get(i);
      pre.addSucceedingOperator(new OperatorIDTuple(filter, index));
      pre.removeSucceedingOperator(genAdd);
      filter.addPrecedingOperator(pre);
    }

    filter.removePrecedingOperator(genAdd);
View Full Code Here

Examples of lupos.engine.operators.BasicOperator.addSucceedingOperator()

      sso.addSucceedingOperator(sort);
    } else {
      sso.addSucceedingOperator(federatedQuery);
    }
    Join join = new Join();
    federatedQuery.addSucceedingOperator(join, 1);
    sso.addSucceedingOperator(join, 0);
    connection.connect(join);
    connection.setOperatorConnection(sso);
  }
View Full Code Here

Examples of lupos.engine.operators.Operator.addSucceedingOperator()

      }
      tuple = op.getOperatorIDTuple(join);
      op.replaceOperatorIDTuple(tuple, new OperatorIDTuple(par, 0));

      join.addPrecedingOperator(maybequeryresultinblocks);
      maybequeryresultinblocks.addSucceedingOperator(new OperatorIDTuple(
          join, tuple.getId()));
    }

    rootOperator.detectCycles();
    rootOperator.sendMessage(new BoundVariablesMessage());
View Full Code Here

Examples of lupos.engine.operators.index.BasicIndexScan.addSucceedingOperator()

          /*
           * connect the basic index scan and the 2nd subgraph
           * container in the join-operator in the 1st subgraph
           * container
           */
          bis.addSucceedingOperator(smallJoin, 0);
          smallJoin.addPrecedingOperator(sg2);
          sg2.addSucceedingOperator(smallJoin, 1);
          smallJoin.addPrecedingOperator(bis);
          /*
           * now connect the join with the succeeding operators of the
View Full Code Here

Examples of lupos.engine.operators.index.Root.addSucceedingOperator()

      /*
       * connect sg2 root's precedings to sg1's root as succeding operator
       */
      for (OperatorIDTuple t : sg2.getRootOfSubgraph()
          .getSucceedingOperators()) {
        root.addSucceedingOperator(t);
      }

      /*
       * get the two results, remove them, and add the join
       */
 
View Full Code Here

Examples of lupos.engine.operators.multiinput.Union.addSucceedingOperator()

    // and add the new union
    List<OperatorIDTuple> succeddingsOfAll = this.join1
        .getSucceedingOperators();
    for (OperatorIDTuple _child : succeddingsOfAll) {
      _child.getOperator().removePrecedingOperator(this.join1);
      union_new.addSucceedingOperator(_child);
      _child.getOperator().addPrecedingOperator(union_new);
    }
    // delete unreachable operators...
    this.deleteOperatorWithoutParentsRecursive(this.join1, _startNodes);
    this.deleteOperatorWithoutParentsRecursive(this.union1, _startNodes);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.