Package de.fuberlin.wiwiss.d2rq.algebra

Examples of de.fuberlin.wiwiss.d2rq.algebra.AliasMap.applyTo()


      this.out.println("\td2rq:alias \"" + foreignTable.qualifiedName() + " AS " + aliasName + "\";");
      alias = AliasMap.create1(foreignTable, new RelationName(null, aliasName));
    }
    for (Attribute column: primaryColumns) {
      this.out.println("\td2rq:join \"" + column.qualifiedName() + " " + Join.joinOperators[foreignKey.joinDirection()] + " " +
          alias.applyTo(foreignKey.equalAttribute(column)).qualifiedName() + "\";");
    }
    createObjectProperty(foreignKey);
    this.out.println("\t.");
  }
View Full Code Here


      this.out.println("\td2rq:alias \"" + table2.qualifiedName() +
          " AS " + aliasName.qualifiedName() + "\";");
    }
    for (Attribute column: join2.attributes1()) {
      Attribute otherColumn = join2.equalAttribute(column);
      this.out.println("\td2rq:join \"" + column.qualifiedName() + " " + Join.joinOperators[join2.joinDirection()] + " " + alias.applyTo(otherColumn).qualifiedName() + "\";");
    }
    this.out.println("\t.");
    this.out.println();
    createLinkProperty(linkTableName, table1, table2);
    this.out.flush();
View Full Code Here

    int limit = Relation.NO_LIMIT;
    int limitInverse = Relation.NO_LIMIT;
    List<OrderSpec> orderSpecs = null;
   
    for (Relation relation: relations) {
      joinedAliases = joinedAliases.applyTo(relation.aliases());
      expressions.add(relation.condition());
      softConditions.add(relation.softCondition());
      joins.addAll(relation.joinConditions());
      projections.addAll(relation.projections());
      orderSpecs = orderSpecs == null ? relation.orderSpecs() : orderSpecs;
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.