/** * @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()); }
/* * (non-Javadoc) * * @see net.sf.bddbddb.ir.Operation#getExpressionString() */ public String getExpressionString() { return "project(" + r1.toString() + "," + attributes.toString() + ")"; }
/* * (non-Javadoc) * * @see java.lang.Object#toString() */ public String toString() { return r0.toString() + " = " + getExpressionString(); }