public void output(StringBuffer buf) {
    this.left.output(buf);
    buf.append(' ');
    buf.append(JoinType.toString(this.joinType));
    buf.append(' ');
    this.right.output(buf);

    if (this.condition != null) {
      buf.append(" ON ");
      this.condition.output(buf);
    }
  }