docs: private String createStartLogicalQuery(LogicalReplicationOptions options) {
      StringBuilder builder = new StringBuilder();
      builder.append("START_REPLICATION SLOT ")
          .append(options.getSlotName())
          .append(" LOGICAL ")
          .append(options.getStartLSNPosition().asString());
  
      Properties slotOptions = options.getSlotOptions();
      if (slotOptions.isEmpty()) {
        return builder.toString();
      }
  
      //todo replace on java 8
      builder.append(" (");
      boolean isFirst = true;
      for (String name : slotOptions.stringPropertyNames()) {
        if (isFirst) {
          isFirst = false;
        } else {
          builder.append(", ");
        }
        builder.append('\"').append(name).append('\"').append(" ")
            .append('\'').append(slotOptions.getProperty(name)).append('\'');
      }
      builder.append(")");
  
      return builder.toString();
    }