code: public AsyncIterator<String> getAllKeys(String tableName) {
          return new ContinuationTokenAsyncIterator<>(token -> getKeysPaginated(tableName, token, 1000)
                  .thenApplyAsync(result -> {
                      token.release();
                      return new AbstractMap.SimpleEntry<>(result.getKey(), result.getValue());
                  }, executor),
                  IteratorState.EMPTY.toBytes());
      }
docs: Method to retrieve all keys in the table. It returns an asyncIterator which can be used to iterate over the returned keys.
  @param tableName table name
  @return AsyncIterator that can be used to iterate over keys in the table.