code: public <T> AsyncIterator<Map.Entry<String, VersionedMetadata<T>>> getAllEntries(String tableName, Function<byte[], T> fromBytes) {
          return new ContinuationTokenAsyncIterator<>(token -> getEntriesPaginated(tableName, token, 1000, fromBytes)
                  .thenApplyAsync(result -> {
                      token.release();
                      return new AbstractMap.SimpleEntry<>(result.getKey(), result.getValue());
                  }, executor),
                  IteratorState.EMPTY.toBytes());
      }
docs: Method to retrieve all entries in the table. It returns an asyncIterator which can be used to iterate over the returned entries.
  @param tableName table name
  @param fromBytes deserialization function to deserialize returned value.
  @param <T> Type of value
  @return AsyncIterator that can be used to iterate over keys in the table.