code: public void populateClientProperties(Client client, Map<String, Object> properties)
      {
          this.couchDBClient = (CouchDBClient) client;
  
          if (properties != null)
          {
              for (String key : properties.keySet())
              {
                  Object value = properties.get(key);
                  if (checkNull(key, value))
                  {
                      if (key.equals(BATCH_SIZE))
                      {
                          setBatchSize(value);
                      }
                  }
                  // Add more properties as needed
              }
          }
      }
docs: Populate client properties.
  
  @param client
  the client
  @param properties
  the properties