private CompletableFuture<?> handleBatchDelete(Collection<Operation<K, V, U>> operations) {
    Preconditions.checkNotNull(operations);

    final List<K> deletes = getOperationKeys(operations);
    if (deletes.isEmpty()) {
      return CompletableFuture.completedFuture(Collections.EMPTY_MAP);
    }
    final Object[] args = getOperationArgs(operations);
    return args == null ? table.deleteAllAsync(deletes) : table.deleteAllAsync(deletes, args);
  }
Define how batch delete should be done.

@param operations The batch get operations.
@return A CompletableFuture to represent the status of the batch operation.
samza-core/src/main/java/org/apache/samza/table/batching/TableBatchHandler.java