Package org.apache.druid.query.topn
Class BySegmentTopNResultValue
java.lang.Object
org.apache.druid.query.topn.TopNResultValue
org.apache.druid.query.topn.BySegmentTopNResultValue
- All Implemented Interfaces:
Iterable<DimensionAndMetricValueExtractor>,BySegmentResultValue<Result<TopNResultValue>>
public class BySegmentTopNResultValue
extends TopNResultValue
implements BySegmentResultValue<Result<TopNResultValue>>
-
Constructor Summary
ConstructorsConstructorDescriptionBySegmentTopNResultValue(List<Result<TopNResultValue>> results, String segmentId, org.joda.time.Interval interval) -
Method Summary
Methods inherited from class org.apache.druid.query.topn.TopNResultValue
create, equals, hashCode, iteratorMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
BySegmentTopNResultValue
public BySegmentTopNResultValue(List<Result<TopNResultValue>> results, String segmentId, org.joda.time.Interval interval)
-
-
Method Details
-
getValue
- Overrides:
getValuein classTopNResultValue
-
getResults
- Specified by:
getResultsin interfaceBySegmentResultValue<Result<TopNResultValue>>
-
getSegmentId
- Specified by:
getSegmentIdin interfaceBySegmentResultValue<Result<TopNResultValue>>
-
getInterval
public org.joda.time.Interval getInterval()- Specified by:
getIntervalin interfaceBySegmentResultValue<Result<TopNResultValue>>
-
toString
- Overrides:
toStringin classTopNResultValue
-