You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2020/03/12 19:01:36 UTC

[GitHub] [accumulo] keith-turner commented on issue #1388: API for loading iterators from config

keith-turner commented on issue #1388: API for loading iterators from config
URL: https://github.com/apache/accumulo/issues/1388#issuecomment-598364265
 
 
   I would recommend decoupling this from obtaining the table properties like the following.  
   
   ```java
   SortedKeyValueIterator<Key,Value> loadIterators(Iterable<Entry<String,String>> tableProps,
         IteratorScope scope,
         SortedKeyValueIterator<Key,Value> source)
   ```
   
   Then a user could call `Iterable<Entry<String,String>> TableOperations.getProperties(String tableName)` or get the properties in some other way.  A user could create a map of properties in a test and pas the maps entry set.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services