Package org.apache.druid.client
Class CachingClusteredClient.TimelineConverter<T extends org.apache.druid.timeline.Overshadowable<T>>
- java.lang.Object
-
- org.apache.druid.client.CachingClusteredClient.TimelineConverter<T>
-
- All Implemented Interfaces:
Function<org.apache.druid.timeline.TimelineLookup<String,T>,org.apache.druid.timeline.TimelineLookup<String,T>>,UnaryOperator<org.apache.druid.timeline.TimelineLookup<String,T>>
- Enclosing class:
- CachingClusteredClient
public static class CachingClusteredClient.TimelineConverter<T extends org.apache.druid.timeline.Overshadowable<T>> extends Object implements UnaryOperator<org.apache.druid.timeline.TimelineLookup<String,T>>
Helper class to build a new timeline of filtered segments.
-
-
Constructor Summary
Constructors Constructor Description TimelineConverter(Iterable<org.apache.druid.query.SegmentDescriptor> specs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.druid.timeline.TimelineLookup<String,T>apply(org.apache.druid.timeline.TimelineLookup<String,T> timeline)
-