public interface QuerySegmentWalker
Modifier and Type | Method and Description |
---|---|
<T> QueryRunner<T> |
getQueryRunnerForIntervals(Query<T> query,
Iterable<org.joda.time.Interval> intervals)
Gets the Queryable for a given interval, the Queryable returned can be any version(s) or partitionNumber(s)
such that it represents the interval.
|
<T> QueryRunner<T> |
getQueryRunnerForSegments(Query<T> query,
Iterable<io.druid.query.SegmentDescriptor> specs)
Gets the Queryable for a given list of SegmentSpecs.
|
<T> QueryRunner<T> getQueryRunnerForIntervals(Query<T> query, Iterable<org.joda.time.Interval> intervals)
T
- query result typequery
- the query to find a Queryable forintervals
- the intervals to find a Queryable for<T> QueryRunner<T> getQueryRunnerForSegments(Query<T> query, Iterable<io.druid.query.SegmentDescriptor> specs)
T
- the query result typequery
- the query to return a Queryable forspecs
- the list of SegmentSpecs to find a Queryable forCopyright © 2011–2015. All rights reserved.