private Object[] getOperationArgs(Collection<Operation<K, V, U>> operations) {
    if (!operations.stream().anyMatch(operation -> operation.getArgs() != null && operation.getArgs().length > 0)) {
      return null;
    }
    final List<Object[]> argsList = new ArrayList<>(operations.size());
    operations.forEach(operation -> argsList.add(operation.getArgs()));
    return argsList.toArray();
  }
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