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
Constructors Constructor Description BySegmentTopNResultValue(List<Result<TopNResultValue>> results, String segmentId, org.joda.time.Interval interval)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.joda.time.Interval
getInterval()
List<Result<TopNResultValue>>
getResults()
String
getSegmentId()
List<DimensionAndMetricValueExtractor>
getValue()
String
toString()
-
Methods inherited from class org.apache.druid.query.topn.TopNResultValue
create, equals, hashCode, iterator
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
BySegmentTopNResultValue
public BySegmentTopNResultValue(List<Result<TopNResultValue>> results, String segmentId, org.joda.time.Interval interval)
-
-
Method Detail
-
getValue
public List<DimensionAndMetricValueExtractor> getValue()
- Overrides:
getValue
in classTopNResultValue
-
getResults
public List<Result<TopNResultValue>> getResults()
- Specified by:
getResults
in interfaceBySegmentResultValue<Result<TopNResultValue>>
-
getSegmentId
public String getSegmentId()
- Specified by:
getSegmentId
in interfaceBySegmentResultValue<Result<TopNResultValue>>
-
getInterval
public org.joda.time.Interval getInterval()
- Specified by:
getInterval
in interfaceBySegmentResultValue<Result<TopNResultValue>>
-
toString
public String toString()
- Overrides:
toString
in classTopNResultValue
-
-