Exemple #1
0
 /**
  * @param r0
  * @param r1
  */
 public Project(Relation r0, Relation r1) {
   super();
   this.r0 = r0;
   this.r1 = r1;
   this.attributes = new LinkedList(r1.getAttributes());
   this.attributes.removeAll(r0.getAttributes());
 }
Exemple #2
0
 /*
  * (non-Javadoc)
  *
  * @see net.sf.bddbddb.ir.Operation#getExpressionString()
  */
 public String getExpressionString() {
   return "project(" + r1.toString() + "," + attributes.toString() + ")";
 }
Exemple #3
0
 /*
  * (non-Javadoc)
  *
  * @see java.lang.Object#toString()
  */
 public String toString() {
   return r0.toString() + " = " + getExpressionString();
 }