/** * Append an xml comparison predicate. (both operands map to xml column) * * @param buf the SQL buffer to write the comparison * @param op the comparison operation to perform * @param lhs the left hand side of the comparison (maps to xml column) * @param rhs the right hand side of the comparison (maps to xml column) */ private void appendXmlComparison2(SQLBuffer buf, String op, FilterValue lhs, FilterValue rhs) { appendXmlExists(buf, lhs); buf.append(" ").append(op).append(" "); buf.append("$").append(rhs.getColumnAlias( rhs.getFieldMapping().getColumns()[0])). append("/*/"); rhs.appendTo(buf); buf.append("]' PASSING "); appendXmlVar(buf, lhs); buf.append(", "); appendXmlVar(buf, rhs); buf.append(")"); }
/** * Append an xml comparison predicate. (both operands map to xml column) * * @param buf the SQL buffer to write the comparison * @param op the comparison operation to perform * @param lhs the left hand side of the comparison (maps to xml column) * @param rhs the right hand side of the comparison (maps to xml column) */ private void appendXmlComparison2(SQLBuffer buf, String op, FilterValue lhs, FilterValue rhs) { appendXmlExists(buf, lhs); buf.append(" ").append(op).append(" "); buf.append("$").append(rhs.getColumnAlias( rhs.getFieldMapping().getColumns()[0])). append("/*/"); rhs.appendTo(buf); buf.append("]' PASSING "); appendXmlVar(buf, lhs); buf.append(", "); appendXmlVar(buf, rhs); buf.append(")"); }
/** * Append an xml comparison predicate. (both operands map to xml column) * * @param buf the SQL buffer to write the comparison * @param op the comparison operation to perform * @param lhs the left hand side of the comparison (maps to xml column) * @param rhs the right hand side of the comparison (maps to xml column) */ private void appendXmlComparison2(SQLBuffer buf, String op, FilterValue lhs, FilterValue rhs) { appendXmlExists(buf, lhs); buf.append(" ").append(op).append(" "); buf.append("$").append(rhs.getColumnAlias( rhs.getFieldMapping().getColumns()[0])). append("/*/"); rhs.appendTo(buf); buf.append("]' PASSING "); appendXmlVar(buf, lhs); buf.append(", "); appendXmlVar(buf, rhs); buf.append(")"); }
/** * Append an xml comparison predicate. (both operands map to xml column) * * @param buf the SQL buffer to write the comparison * @param op the comparison operation to perform * @param lhs the left hand side of the comparison (maps to xml column) * @param rhs the right hand side of the comparison (maps to xml column) */ private void appendXmlComparison2(SQLBuffer buf, String op, FilterValue lhs, FilterValue rhs) { appendXmlExists(buf, lhs); buf.append(" ").append(op).append(" "); buf.append("$").append(rhs.getColumnAlias( rhs.getFieldMapping().getColumns()[0])). append("/*/"); rhs.appendTo(buf); buf.append("]' PASSING "); appendXmlVar(buf, lhs); buf.append(", "); appendXmlVar(buf, rhs); buf.append(")"); }
/** * Append an xml comparison predicate. (both operands map to xml column) * * @param buf the SQL buffer to write the comparison * @param op the comparison operation to perform * @param lhs the left hand side of the comparison (maps to xml column) * @param rhs the right hand side of the comparison (maps to xml column) */ private void appendXmlComparison2(SQLBuffer buf, String op, FilterValue lhs, FilterValue rhs) { appendXmlExists(buf, lhs); buf.append(" ").append(op).append(" "); buf.append("$").append(rhs.getColumnAlias( rhs.getFieldMapping().getColumns()[0])). append("/*/"); rhs.appendTo(buf); buf.append("]' PASSING "); appendXmlVar(buf, lhs); buf.append(", "); appendXmlVar(buf, rhs); buf.append(")"); }