Package lupos.engine.operators.singleinput.sort.comparator

Examples of lupos.engine.operators.singleinput.sort.comparator.ComparatorVariables


    Set<Variable> intersection = leftUnion;
    intersection.retainAll(rightUnion);

    this.isSortable = !this.intersectionVariables.isEmpty() && intersection.equals(this.intersectionVariables);

    this.comp = new ComparatorVariables(this.intersectionVariables);
    this.predecessorLeft.setComparator(this.comp);
    this.predecessorRight.setComparator(this.comp);

    return msgResult;
  }
View Full Code Here


    Node child0 = node.jjtGetChild(0);
    if(child0 instanceof ASTVar){
      Sort sort = new Sort();
      LinkedList<Variable> listOfVars = new LinkedList<Variable>();
      listOfVars.add(new Variable(((ASTVar)child0).getName()));
      ComparatorVariables comparator = new ComparatorVariables(listOfVars);
      sort.setComparator(comparator);
      Group group = new Group(comparator);
      sort.addSucceedingOperator(group);
      group.addSucceedingOperator(federatedQuery);
      sso.addSucceedingOperator(sort);
View Full Code Here

TOP

Related Classes of lupos.engine.operators.singleinput.sort.comparator.ComparatorVariables

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.