code: public <E> EntityBatch<E> createBatch(EntityMapper<E> entityMapper,
        long writeBufferSize) {
      return new BaseEntityBatch<E>(this, entityMapper, pool, tableName,
          writeBufferSize);
    }
docs: Create an EntityBatch that can be used to write batches of entities.
  
  @param entityMapper
  The EntityMapper to use to map rows to entities.
  @param writeBufferSize
  The buffer size used when writing batches
  @return EntityBatch