Package org.apache.druid.query.topn
Class TopNResultValue
- java.lang.Object
-
- org.apache.druid.query.topn.TopNResultValue
-
- All Implemented Interfaces:
Iterable<DimensionAndMetricValueExtractor>
- Direct Known Subclasses:
BySegmentTopNResultValue
public class TopNResultValue extends Object implements Iterable<DimensionAndMetricValueExtractor>
-
-
Constructor Summary
Constructors Constructor Description TopNResultValue(List<DimensionAndMetricValueExtractor> valueList)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TopNResultValue
create(List<?> value)
boolean
equals(Object o)
List<DimensionAndMetricValueExtractor>
getValue()
int
hashCode()
Iterator<DimensionAndMetricValueExtractor>
iterator()
String
toString()
-
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
-
TopNResultValue
public TopNResultValue(List<DimensionAndMetricValueExtractor> valueList)
-
-
Method Detail
-
create
public static TopNResultValue create(List<?> value)
-
getValue
public List<DimensionAndMetricValueExtractor> getValue()
-
iterator
public Iterator<DimensionAndMetricValueExtractor> iterator()
- Specified by:
iterator
in interfaceIterable<DimensionAndMetricValueExtractor>
-
-