Okay, i looked at this again, I can replace it with streams at some places, but 
for the `SegmentsTable`, it's kind of crooked, as I get back `Iterator` from 
`getMetadataSegments()`, also now with the auth check, it returns an iterator. 
So I'd have to convert the iterator to stream and then use 
`StreamSupport.stream`. I feel `FluentIterable` is more simple to use in this 
case. Let me know your thoughts.

[ Full content available at: 
https://github.com/apache/incubator-druid/pull/6094 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to