public void toEPL(StringWriter writer){
  writer.write("create ");
  if (unique) {
    writer.write("unique ");
  }
  writer.write("index ");
  writer.write(indexName);
  writer.write(" on ");
  writer.write(windowName);
  writer.write('(');
  String delimiter="";
  for (  CreateIndexColumn prop : columns) {
    writer.write(delimiter);
    prop.toEPL(writer);
    delimiter=", ";
  }
  writer.write(')');
}

public void toEPL ( StringWriter writer ) { writer . write ( "create " ) ; if ( unique ) { writer . write ( "unique " ) ; } writer . write ( "index " ) ; writer . write ( indexName ) ; writer . write ( " on " ) ; writer . write ( windowName ) ; writer . write ( '(' ) ; String delimiter = "" ; for ( CreateIndexColumn prop : columns ) { writer . write ( delimiter ) ; prop . toEPL ( writer ) ; delimiter = ", " ; } writer . write ( ')' ) ; }
renders the clause in textual representation .
