public void toEPL(StringWriter writer){
  writer.write("update istream ");
  writer.write(eventType);
  if (this.optionalAsClauseStreamName != null) {
    writer.write(" as ");
    writer.write(optionalAsClauseStreamName);
  }
  writer.write(" ");
  renderEPLAssignments(writer,assignments);
  if (optionalWhereClause != null) {
    writer.write(" where ");
    optionalWhereClause.toEPL(writer,ExpressionPrecedenceEnum.MINIMUM);
  }
}

public void toEPL ( StringWriter writer ) { writer . write ( "update istream " ) ; writer . write ( eventType ) ; if ( this . optionalAsClauseStreamName != null ) { writer . write ( " as " ) ; writer . write ( optionalAsClauseStreamName ) ; } writer . write ( " " ) ; renderEPLAssignments ( writer , assignments ) ; if ( optionalWhereClause != null ) { writer . write ( " where " ) ; optionalWhereClause . toEPL ( writer , ExpressionPrecedenceEnum . MINIMUM ) ; } }
renders the clause in epl .
