Package de.fuberlin.wiwiss.d2rq.algebra

Examples of de.fuberlin.wiwiss.d2rq.algebra.RelationImpl


    Collection<Expression> softConditions = new HashSet<Expression>(projections.size());
    for (ProjectionSpec projection: projections) {
      softConditions.add(projection.notNullExpression(database, aliases));
    }
   
    return new RelationImpl(
        database,
        aliases,
        this.condition,
        Conjunction.create(softConditions),
        this.joinConditions,
View Full Code Here


  private TripleRelation withURIPatternSubjectAndURIColumnObject;
  private URIMakerRuleChecker employeeChecker;
  private URIMakerRuleChecker foobarChecker;

  public void setUp() {
    Relation base = new RelationImpl(null, AliasMap.NO_ALIASES,
        Expression.TRUE, Expression.TRUE,
        Collections.<Join>emptySet(), Collections.<ProjectionSpec>emptySet(),
        false, OrderSpec.NONE, Relation.NO_LIMIT, Relation.NO_LIMIT);
    this.withURIPatternSubject = new TripleRelation(base,
        new TypedNodeMaker(TypedNodeMaker.URI,
View Full Code Here

    // The new relation is unique if it is joined only on unique node sets.
    // A node set is unique if it is constrained by only unique node makers.
   
    // In the meantime, copy the uniqueness from the relation if there's just one
    boolean isUnique = relations.size() == 1 && (relations.iterator().next()).isUnique();
    return new RelationImpl(connectedDB, joinedAliases, Conjunction.create(expressions),
        Conjunction.create(softConditions),
        joins, projections, isUnique, orderSpecs, limit, limitInverse);
  }
View Full Code Here

TOP

Related Classes of de.fuberlin.wiwiss.d2rq.algebra.RelationImpl

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.