public DdlWrite generateDdl(ChangeSet changeSet) throws IOException {

    DdlWrite write = new DdlWrite();

    DdlHandler handler = handler();
    handler.generate(write, changeSet);

    return write;
  }
  private void createDdl() throws IOException {

    if (write == null) {
      ChangeSet createChangeSet = getChangeSet();

      write = new DdlWrite();

      DdlHandler handler = handler();
      handler.generate(write, createChangeSet);
    }
  }