code: public void merge(final TableEntity entity) {
          this.lockToPartitionKey(entity.getPartitionKey());
          this.add(TableOperation.merge(entity));
      }
docs: Adds a table operation to merge the specified entity to the batch operation.
  
  @param entity
  The {@link TableEntity} to merge.