default CompletableFuture<Void> updateAllAsync(Collection<Entry<K, U>> updates) {
    final List<CompletableFuture<Void>> updateFutures = updates.stream()
        .map(entry -> updateAsync(entry.getKey(), entry.getValue()))
        .collect(Collectors.toList());
    return CompletableFuture.allOf(Iterables.toArray(updateFutures, CompletableFuture.class));
  }
Asynchronously updates the table with multiple {@code updates}. This method must be thread-safe.

The default implementation calls updateAsync for each entry and return a combined future.
@param updates updates for the table
@return CompletableFuture for the update request
samza-api/src/main/java/org/apache/samza/table/remote/TableWriteFunction.java