Examples of removePrecedingOperator()


Examples of lupos.engine.operators.multiinput.join.Join.removePrecedingOperator()

          filter.setIntersectionVariables(bo.getUnionVariables());
          filter.setUnionVariables(bo.getUnionVariables());
          // we assume that
          filter.setSucceedingOperators(bo.getSucceedingOperators());
          bo.setSucceedingOperator(new OperatorIDTuple(filter, 0));
          join.removePrecedingOperator(bo);
          join.addPrecedingOperator(filter);
          filter.setPrecedingOperator(bo);
          afterJoin = false;
          added.add(filter);
        } catch (final ParseException e) {
View Full Code Here

Examples of lupos.engine.operators.multiinput.join.Join.removePrecedingOperator()

    for (final BasicOperator bo : add.getPrecedingOperators()) {
      bo.removeSucceedingOperator(add);
      bo.addSucceedingOperators(add.getSucceedingOperators());
      join.addPrecedingOperator(bo);
    }
    join.removePrecedingOperator(add);
    join.getIntersectionVariables().remove(add.getVar());
    // must add be put after the join?
    if (afterJoin) {
      add.setSucceedingOperators(join.getSucceedingOperators());
      add.setPrecedingOperator(join);
View Full Code Here

Examples of lupos.engine.operators.multiinput.join.Join.removePrecedingOperator()

      final BasicOperator rootOperator) {
    final Collection<BasicOperator> deleted = new LinkedList<BasicOperator>();
    final Collection<BasicOperator> added = new LinkedList<BasicOperator>();
    final TriggerOneTime trigger = (TriggerOneTime) mso.get("trigger");
    final Join join = (Join) mso.get("join");
    join.removePrecedingOperator(trigger);
    if (join.getPrecedingOperators().size() <= 1) {
      // remove join
      for (final OperatorIDTuple oit : join.getSucceedingOperators()) {
        oit.getOperator().removePrecedingOperator(join);
      }
View Full Code Here

Examples of lupos.engine.operators.multiinput.join.Join.removePrecedingOperator()

      pre.addSucceedingOperator(new OperatorIDTuple(join, index));
      pre.removeSucceedingOperator(genAdd);
      join.addPrecedingOperator(pre);
    }

    join.removePrecedingOperator(genAdd);
    join.setSucceedingOperator(new OperatorIDTuple(genAdd, 0));

    genAdd.setPrecedingOperator(join);
    genAdd.setSucceedingOperators(succs);
View Full Code Here

Examples of lupos.engine.operators.multiinput.join.Join.removePrecedingOperator()

                        bo.addPrecedingOperator(sip_op);
                      } else {
                        sip_op.addSucceedingOperators(bo.getSucceedingOperators());
                        sip_op.setPrecedingOperator(bo);
                        bo.setSucceedingOperator(new OperatorIDTuple(sip_op, 0));
                        join.removePrecedingOperator(bo);
                        join.addPrecedingOperator(sip_op);
                      }
                    }
                  }
                }
View Full Code Here

Examples of lupos.engine.operators.multiinput.join.Join.removePrecedingOperator()

        pre = pres.get(i);
        pre.addSucceedingOperator(new OperatorIDTuple(join, index));
        pre.removeSucceedingOperator(replaceLit);
        join.addPrecedingOperator(pre);
      }
      join.removePrecedingOperator(replaceLit);
      deleted.add(replaceLit);
    }

    // Insert the new ReplaceLit under the Join
    // (only if there is not already an equivalent ReplaceLit!)
View Full Code Here

Examples of lupos.engine.operators.multiinput.join.MergeJoinWithoutSorting.removePrecedingOperator()

                    .getOperatorIDTuple(
                        newOperator)
                        .getId()));
                bo.getOperatorIDTuple(newOperator).setOperator(
                    immediateSort);
                newOperator.removePrecedingOperator(bo);
              }
            }
          }
        }
        return newOperator;
View Full Code Here

Examples of lupos.engine.operators.multiinput.optional.MergeWithoutSortingOptional.removePrecedingOperator()

                    .getOperatorIDTuple(
                        newOperator)
                        .getId()));
                bo.getOperatorIDTuple(newOperator).setOperator(
                    immediateSort);
                newOperator.removePrecedingOperator(bo);
              }
            }
          }
        }
        return newOperator;
View Full Code Here

Examples of lupos.engine.operators.multiinput.optional.Optional.removePrecedingOperator()

      pre.addSucceedingOperator(new OperatorIDTuple(optional, 0));
      pre.removeSucceedingOperator(genAdd);
      optional.addPrecedingOperator(pre);
    }

    optional.removePrecedingOperator(genAdd);
    optional.setSucceedingOperator(new OperatorIDTuple(genAdd, 0));

    genAdd.setPrecedingOperator(optional);
    genAdd.setSucceedingOperators(succs);
View Full Code Here

Examples of lupos.engine.operators.multiinput.optional.Optional.removePrecedingOperator()

        pre = pres.get(i);
        pre.addSucceedingOperator(new OperatorIDTuple(optional, index));
        pre.removeSucceedingOperator(replaceLit);
        optional.addPrecedingOperator(pre);
      }
      optional.removePrecedingOperator(replaceLit);
      deleted.add(replaceLit);
    }

    // Insert the new ReplaceLit under the Optional
    optional.setSucceedingOperator(new OperatorIDTuple(replaceLitUnder, 0));
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.