Package de.fuberlin.wiwiss.d2rq.algebra

Examples of de.fuberlin.wiwiss.d2rq.algebra.NodeRelation.renameSingleRelation()


                  if (t.getSubject().isVariable() && t.getSubject().getName().equals(name)) {
                    // ... then first find the right relation name...
                    AttributeSet existing = AttributeSet.createFrom(r.nodeMaker(TripleRelation.SUBJECT));
                    if (existing != null && existing.attributeNames.equals(attributes.attributeNames)) {
                      // ... then apply it
                      r = r.renameSingleRelation(existing.relationName, attributes.relationName);
                      newRelations.set(i, r);
                    }
                  }
                 
                  if (t.getPredicate().isVariable() && t.getPredicate().getName().equals(name)) {
View Full Code Here


                  if (t.getPredicate().isVariable() && t.getPredicate().getName().equals(name)) {
                    // ... then first find the right relation name...
                    AttributeSet existing = AttributeSet.createFrom(r.nodeMaker(TripleRelation.PREDICATE));
                    if (existing != null && existing.attributeNames.equals(attributes.attributeNames)) {
                      // ... then apply it
                      r = r.renameSingleRelation(existing.relationName, attributes.relationName);
                      newRelations.set(i, r);
                    }
                  }
                 
                  if (t.getObject().isVariable() && t.getObject().getName().equals(name)) {
View Full Code Here

                  if (t.getObject().isVariable() && t.getObject().getName().equals(name)) {
                    // ... then first find the right relation name...
                    AttributeSet existing = AttributeSet.createFrom(r.nodeMaker(TripleRelation.OBJECT));
                    if (existing != null && existing.attributeNames.equals(attributes.attributeNames)) {
                      // ... then apply it
                      r = r.renameSingleRelation(existing.relationName, attributes.relationName);
                      newRelations.set(i, r);
                    }
                  }
                }             
              }
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.